Skip to content

#cf2d0f

a dark, electric red · warm · closest name: Red

RGB
207, 45, 15
HSL
9°, 87%, 44%
CMYK
0, 78, 93, 19
Luminance
0.1518

At a glance

Every number on this page in one read: what #cf2d0f is made of, how bright it looks, and which way it leans.

Hex
#cf2d0f
Hue
red
Saturation
87%
electric
Lightness
44%
dark
Brightness
81%
HSV value
Perceived
46%
weighted brightness
Luminance
0.1518
WCAG relative
Temperature
Warm
11/100 cool
Color family
Red
Tone
Electric
Best ink
White
5.20:1
Closest name
Red
ΔE2000 8.7
Where it sits
Hue9° of 360°
Saturation87%
Lightness44%
Temperature
Warm ← → Cool11% cool

Reads warm. Warm and cool siblings keep the same lightness, so you can swap one in without redoing your contrast maths.

Every format

HEX#cf2d0f
RGBrgb(207, 45, 15)
HSLhsl(9, 87%, 44%)
CMYKcmyk(0%, 78%, 93%, 19%)
LABlab(45.9 61.0 54.2)
LCHlch(45.9 81.6 41.6)
OKLCHoklch(0.557 0.201 32.2)
Decimal13577487
Display P3color(display-p3 0.812 0.176 0.059)

Copy-ready code

/* CSS */
color: #cf2d0f;
background-color: #cf2d0f;
/* Tailwind (arbitrary) */
class="text-[#cf2d0f] bg-[#cf2d0f]"
/* SCSS */
$brand: #cf2d0f;
/* SwiftUI */
Color(red: 0.812, green: 0.176, blue: 0.059)
/* Android */
Color.parseColor("#cf2d0f")
/* Flutter */
Color(0xFFCF2D0F)
/* Python / OpenCV (BGR) */
(15, 45, 207)

Best text color

Only one of black and white can be right. This is the one, with the number that proves it.

Readable at a glance#ffffff on #cf2d0f · 5.20:1
Use #ffffffAA at every size, AAA for large text only.
Aa
White text · 5.20:1 · recommended
AA pass · AA large pass · AAA fail
Aa
Black text · 4.04:1
AA fail · AA large pass · AAA fail
Reading the other direction: #cf2d0f as text scores 5.20:1 on white and 4.04:1 on black.

Accessibility — WCAG contrast

Aa
#cf2d0f on white: 5.20:1
AA ✓ pass · AA-large · AAA
Aa
#cf2d0f on black: 4.04:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #625604
deuteranopia · #897900
tritanopia · #E50029

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #cf2d0f is pinned to step 700; the rest hold its hue and let saturation ease off at the extremes so the pale end never turns neon.

#FDF4F2
#FAE9E5
#F7CCC4
#F7A696
#F47962
#F04C2E
#E43211
#cf2d0f
#98210B
#6E1C0C
#451108
Base = 700Lightest = 50 · #FDF4F2Darkest = 950 · #451108
:root {
  --brand-50: #FDF4F2;
  --brand-100: #FAE9E5;
  --brand-200: #F7CCC4;
  --brand-300: #F7A696;
  --brand-400: #F47962;
  --brand-500: #F04C2E;
  --brand-600: #E43211;
  --brand-700: #cf2d0f;
  --brand-800: #98210B;
  --brand-900: #6E1C0C;
  --brand-950: #451108;
  --brand: #cf2d0f;
  --brand-ink: #ffffff;
}

Colors that work with #cf2d0f

Not a palette — a role sheet. Each swatch answers one question you will hit while building the component.

Text on it#ffffff
White wins here
Surface#FAF5F4
Tinted page background
Border#EDC7C0
Hairlines and dividers
Muted text#9B574B
Captions on the surface
Accent#0AC2B1
Second voice, not a rival
Dark variant#771A09
Hover, pressed, headers
Light variant#FDEBE7
Selected rows, tints
Dark surface#241614
Dark-mode background
Light mode
Everything in its place

Surface, border, heading and body all derive from this one hue, so the screen stays coherent without a second palette.

Primary actionSecondaryBadge
Dark mode
Same hue, inverted

Lightness flips, hue holds. The accent stays the anchor in both themes.

Primary actionSecondaryAccent

How to use #cf2d0f

Derived from its contrast, chroma and lightness — not from taste.

Works well for
  • Body text and links on white
  • Primary buttons and calls to action
  • Focus rings, active and selected states
  • Headers, footers and dark-mode surfaces
  • Brand accents, badges and data highlights
Use with care
  • Full-page backgrounds — tiring over long sessions
  • Black text placed on it
  • Pairing with a same-lightness hue — edges vibrate

Similar colors

One move away from this hex in each direction. Every swatch is its own page.

Color relationships

The wheel positions with their names attached, so you can grab the one you actually need.

Complementary#0FB1CF
Analogous left#CF0F51
Analogous right#CF8D0F
Split-complement 1#0FCF8D
Split-complement 2#0F51CF
Triadic 1#0FCF2D
Triadic 2#2D0FCF
Tetradic#51CF0F

RGB percentages

Red81.2%
Green17.6%
Blue5.9%

CMYK percentages

Cyan0.0%
Magenta78.3%
Yellow92.8%
Key (black)18.8%

Color previews

#cf2d0f text on a black background

contrast 4.04:1

Card sample

#cf2d0f text on a white background

contrast 5.20:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #cf2d0f;
Background color
Panel with #cf2d0f background
background-color: #cf2d0f;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #cf2d0f;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(207, 45, 15, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(207, 45, 15, 0.45);
Border & gradient
Gradient panel
border: 3px solid #cf2d0f;
background: linear-gradient(135deg, #cf2d0f, #CFAD0F);

Monochromatic scale

Palettes built from #cf2d0f

Shades — darker

Tints — lighter

Color harmonies

Nearest named colors

Ranked with CIEDE2000 across all 139 CSS keywords. Under ΔE 2 the eye stops telling them apart; over ΔE 10 they are plainly different colors.

#cf2d0f in the real world

Where a color in this family tends to land, and the interface roles it is usually asked to play.

Industries
Food and drinkEntertainmentRetailSport
Common UI roles
ButtonsLinksFocus statesCharts
Print note

Sits outside most CMYK gamuts — expect a duller press result, or specify a spot ink.

#cf2d0f, answered

What color is #cf2d0f?

#cf2d0f is a dark electric red, closest to Red (ΔE2000 8.7). It sits at 9° on the hue wheel with 87% saturation and 44% lightness, which reads as warm.

What is the RGB value of #cf2d0f?

rgb(207, 45, 15) — 207 red, 45 green and 15 blue out of 255, or 81.2% / 17.6% / 5.9% by channel.

Is #cf2d0f a light or a dark color?

It is a dark color. Relative luminance is 0.1518 and perceived brightness is 46%, so white text on it reaches 5.20:1.

Should I use black or white text on #cf2d0f?

White. It scores 5.20:1 against #cf2d0f, versus 4.04:1 for black — AA at any size.

What is the complementary color of #cf2d0f?

#0FB1CF sits directly opposite on the wheel. Softer options are the split-complements #0FCF8D and #0F51CF, which give the same contrast with far less vibration.

What colors go well with #cf2d0f?

For interface work: #FAF5F4 as the surface, #EDC7C0 for borders, #9B574B for secondary text, #0AC2B1 as an accent and #771A09 for hover and pressed states. For a palette, the analogous pair #CF0F51 and #CF8D0F stays calm, while #0FB1CF is the loudest partner.

What is #cf2d0f in CMYK for printing?

cmyk(0%, 78%, 93%, 19%). This is a screen-to-ink approximation — a color this saturated sits outside most CMYK gamuts and will print duller than it looks here.

Is #cf2d0f warm or cool?

Warm — it scores 11 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #CF490F; nudged cooler, #D10D36.

Work with #cf2d0f in the Color Lab