Skip to content

#cf2f0c

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

RGB
207, 47, 12
HSL
11°, 89%, 43%
CMYK
0, 77, 94, 19
Luminance
0.1532

At a glance

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

Hex
#cf2f0c
Hue
11°
red
Saturation
89%
electric
Lightness
43%
dark
Brightness
81%
HSV value
Perceived
47%
weighted brightness
Luminance
0.1532
WCAG relative
Temperature
Warm
11/100 cool
Color family
Red
Tone
Electric
Best ink
White
5.17:1
Closest name
Red
ΔE2000 8.6
Where it sits
Hue11° of 360°
Saturation89%
Lightness43%
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#cf2f0c
RGBrgb(207, 47, 12)
HSLhsl(11, 89%, 43%)
CMYKcmyk(0%, 77%, 94%, 19%)
LABlab(46.1 60.4 55.2)
LCHlch(46.1 81.8 42.5)
OKLCHoklch(0.558 0.200 32.9)
Decimal13577996
Display P3color(display-p3 0.812 0.184 0.047)

Copy-ready code

/* CSS */
color: #cf2f0c;
background-color: #cf2f0c;
/* Tailwind (arbitrary) */
class="text-[#cf2f0c] bg-[#cf2f0c]"
/* SCSS */
$brand: #cf2f0c;
/* SwiftUI */
Color(red: 0.812, green: 0.184, blue: 0.047)
/* Android */
Color.parseColor("#cf2f0c")
/* Flutter */
Color(0xFFCF2F0C)
/* Python / OpenCV (BGR) */
(12, 47, 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 #cf2f0c · 5.17:1
Use #ffffffAA at every size, AAA for large text only.
Aa
White text · 5.17:1 · recommended
AA pass · AA large pass · AAA fail
Aa
Black text · 4.06:1
AA fail · AA large pass · AAA fail
Reading the other direction: #cf2f0c as text scores 5.17:1 on white and 4.06:1 on black.

Accessibility — WCAG contrast

Aa
#cf2f0c on white: 5.17:1
AA ✓ pass · AA-large · AAA
Aa
#cf2f0c on black: 4.06:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #635600
deuteranopia · #8A7A00
tritanopia · #E5002B

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #cf2f0c 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
#FBE9E5
#F8CDC4
#F9A795
#F67B60
#F34F2B
#E7350D
#cf2f0c
#9A2309
#6F1D0B
#461207
Base = 700Lightest = 50 · #FDF4F2Darkest = 950 · #461207
:root {
  --brand-50: #FDF4F2;
  --brand-100: #FBE9E5;
  --brand-200: #F8CDC4;
  --brand-300: #F9A795;
  --brand-400: #F67B60;
  --brand-500: #F34F2B;
  --brand-600: #E7350D;
  --brand-700: #cf2f0c;
  --brand-800: #9A2309;
  --brand-900: #6F1D0B;
  --brand-950: #461207;
  --brand: #cf2f0c;
  --brand-ink: #ffffff;
}

Colors that work with #cf2f0c

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#EDC8C0
Hairlines and dividers
Muted text#9B594B
Captions on the surface
Accent#07C5B8
Second voice, not a rival
Dark variant#781B07
Hover, pressed, headers
Light variant#FEEBE7
Selected rows, tints
Dark surface#241714
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 #cf2f0c

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#0CACCF
Analogous left#CF0C4A
Analogous right#CF900C
Split-complement 1#0CCF90
Split-complement 2#0C4ACF
Triadic 1#0CCF2F
Triadic 2#2F0CCF
Tetradic#4ACF0C

RGB percentages

Red81.2%
Green18.4%
Blue4.7%

CMYK percentages

Cyan0.0%
Magenta77.3%
Yellow94.2%
Key (black)18.8%

Color previews

#cf2f0c text on a black background

contrast 4.06:1

Card sample

#cf2f0c text on a white background

contrast 5.17:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cf2f0c

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.

#cf2f0c 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.

#cf2f0c, answered

What color is #cf2f0c?

#cf2f0c is a dark electric red, closest to Red (ΔE2000 8.6). It sits at 11° on the hue wheel with 89% saturation and 43% lightness, which reads as warm.

What is the RGB value of #cf2f0c?

rgb(207, 47, 12) — 207 red, 47 green and 12 blue out of 255, or 81.2% / 18.4% / 4.7% by channel.

Is #cf2f0c a light or a dark color?

It is a dark color. Relative luminance is 0.1532 and perceived brightness is 47%, so white text on it reaches 5.17:1.

Should I use black or white text on #cf2f0c?

White. It scores 5.17:1 against #cf2f0c, versus 4.06:1 for black — AA at any size.

What is the complementary color of #cf2f0c?

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

What colors go well with #cf2f0c?

For interface work: #FAF5F4 as the surface, #EDC8C0 for borders, #9B594B for secondary text, #07C5B8 as an accent and #781B07 for hover and pressed states. For a palette, the analogous pair #CF0C4A and #CF900C stays calm, while #0CACCF is the loudest partner.

What is #cf2f0c in CMYK for printing?

cmyk(0%, 77%, 94%, 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 #cf2f0c 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 #CF490C; nudged cooler, #D10A2F.

Work with #cf2f0c in the Color Lab