Skip to content

#cf2f0f

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

RGB
207, 47, 15
HSL
10°, 87%, 44%
CMYK
0, 77, 93, 19
Luminance
0.1533

At a glance

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

Hex
#cf2f0f
Hue
10°
red
Saturation
87%
electric
Lightness
44%
dark
Brightness
81%
HSV value
Perceived
47%
weighted brightness
Luminance
0.1533
WCAG relative
Temperature
Warm
11/100 cool
Color family
Red
Tone
Electric
Best ink
White
5.16:1
Closest name
Red
ΔE2000 8.6
Where it sits
Hue10° 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#cf2f0f
RGBrgb(207, 47, 15)
HSLhsl(10, 87%, 44%)
CMYKcmyk(0%, 77%, 93%, 19%)
LABlab(46.1 60.4 54.3)
LCHlch(46.1 81.2 42.0)
OKLCHoklch(0.558 0.200 32.6)
Decimal13577999
Display P3color(display-p3 0.812 0.184 0.059)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cf2f0f on white: 5.16:1
AA ✓ pass · AA-large · AAA
Aa
#cf2f0f on black: 4.07:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #635704
deuteranopia · #8A7A00
tritanopia · #E5002B

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #cf2f0f 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
#F7CDC4
#F7A796
#F47A62
#F04E2E
#E43411
#cf2f0f
#98230B
#6E1D0C
#451208
Base = 700Lightest = 50 · #FDF4F2Darkest = 950 · #451208
:root {
  --brand-50: #FDF4F2;
  --brand-100: #FAE9E5;
  --brand-200: #F7CDC4;
  --brand-300: #F7A796;
  --brand-400: #F47A62;
  --brand-500: #F04E2E;
  --brand-600: #E43411;
  --brand-700: #cf2f0f;
  --brand-800: #98230B;
  --brand-900: #6E1D0C;
  --brand-950: #451208;
  --brand: #cf2f0f;
  --brand-ink: #ffffff;
}

Colors that work with #cf2f0f

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#9B584B
Captions on the surface
Accent#0AC2B3
Second voice, not a rival
Dark variant#771B09
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 #cf2f0f

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#0FAFCF
Analogous left#CF0F4F
Analogous right#CF8F0F
Split-complement 1#0FCF8F
Split-complement 2#0F4FCF
Triadic 1#0FCF2F
Triadic 2#2F0FCF
Tetradic#4FCF0F

RGB percentages

Red81.2%
Green18.4%
Blue5.9%

CMYK percentages

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

Color previews

#cf2f0f text on a black background

contrast 4.07:1

Card sample

#cf2f0f text on a white background

contrast 5.16:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cf2f0f

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.

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

#cf2f0f, answered

What color is #cf2f0f?

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

What is the RGB value of #cf2f0f?

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

Is #cf2f0f a light or a dark color?

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

Should I use black or white text on #cf2f0f?

White. It scores 5.16:1 against #cf2f0f, versus 4.07:1 for black — AA at any size.

What is the complementary color of #cf2f0f?

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

What colors go well with #cf2f0f?

For interface work: #FAF5F4 as the surface, #EDC7C0 for borders, #9B584B for secondary text, #0AC2B3 as an accent and #771B09 for hover and pressed states. For a palette, the analogous pair #CF0F4F and #CF8F0F stays calm, while #0FAFCF is the loudest partner.

What is #cf2f0f in CMYK for printing?

cmyk(0%, 77%, 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 #cf2f0f 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 #CF4A0F; nudged cooler, #D10D34.

Work with #cf2f0f in the Color Lab