Skip to content

#d02c2f

a balanced, vivid red · warm · closest name: Crimson

RGB
208, 44, 47
HSL
359°, 65%, 49%
CMYK
0, 79, 77, 18
Luminance
0.1542

At a glance

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

Hex
#d02c2f
Hue
359°
red
Saturation
65%
vivid
Lightness
49%
balanced
Brightness
82%
HSV value
Perceived
47%
weighted brightness
Luminance
0.1542
WCAG relative
Temperature
Warm
17/100 cool
Color family
Red
Tone
Vivid
Best ink
White
5.14:1
Closest name
Crimson
ΔE2000 5
Where it sits
Hue359° of 360°
Saturation65%
Lightness49%
Temperature
Warm ← → Cool17% 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#d02c2f
RGBrgb(208, 44, 47)
HSLhsl(359, 65%, 49%)
CMYKcmyk(0%, 79%, 77%, 18%)
LABlab(46.2 62.3 39.6)
LCHlch(46.2 73.8 32.4)
OKLCHoklch(0.560 0.200 25.8)
Decimal13642799
Display P3color(display-p3 0.816 0.173 0.184)

Copy-ready code

/* CSS */
color: #d02c2f;
background-color: #d02c2f;
/* Tailwind (arbitrary) */
class="text-[#d02c2f] bg-[#d02c2f]"
/* SCSS */
$brand: #d02c2f;
/* SwiftUI */
Color(red: 0.816, green: 0.173, blue: 0.184)
/* Android */
Color.parseColor("#d02c2f")
/* Flutter */
Color(0xFFD02C2F)
/* Python / OpenCV (BGR) */
(47, 44, 208)

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 #d02c2f · 5.14:1
Use #ffffffAA at every size, AAA for large text only.
Aa
White text · 5.14:1 · recommended
AA pass · AA large pass · AAA fail
Aa
Black text · 4.08:1
AA fail · AA large pass · AAA fail
Reading the other direction: #d02c2f as text scores 5.14:1 on white and 4.08:1 on black.

Accessibility — WCAG contrast

Aa
#d02c2f on white: 5.14:1
AA ✓ pass · AA-large · AAA
Aa
#d02c2f on black: 4.08:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #60572D
deuteranopia · #887A28
tritanopia · #E50030

Color scale — 50 to 950

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

#FBF3F4
#F7E8E8
#F1CBCC
#EBA2A4
#E27476
#D84648
#d02c2f
#A82426
#871C1E
#62191A
#3D0F10
Base = 600Lightest = 50 · #FBF3F4Darkest = 950 · #3D0F10
:root {
  --brand-50: #FBF3F4;
  --brand-100: #F7E8E8;
  --brand-200: #F1CBCC;
  --brand-300: #EBA2A4;
  --brand-400: #E27476;
  --brand-500: #D84648;
  --brand-600: #d02c2f;
  --brand-700: #A82426;
  --brand-800: #871C1E;
  --brand-900: #62191A;
  --brand-950: #3D0F10;
  --brand: #d02c2f;
  --brand-ink: #ffffff;
}

Colors that work with #d02c2f

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#FAF4F4
Tinted page background
Border#EDC0C1
Hairlines and dividers
Muted text#9B4B4C
Captions on the surface
Accent#20AC86
Second voice, not a rival
Dark variant#691618
Hover, pressed, headers
Light variant#FBEAEA
Selected rows, tints
Dark surface#241414
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 #d02c2f

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
  • Brand accents, badges and data highlights
Use with care
  • Full-page backgrounds — tiring over long sessions
  • 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#2CD0CD
Analogous left#D02C81
Analogous right#D07B2C
Split-complement 1#2CD07B
Split-complement 2#2C81D0
Triadic 1#2FD02C
Triadic 2#2C2FD0
Tetradic#81D02C

RGB percentages

Red81.6%
Green17.3%
Blue18.4%

CMYK percentages

Cyan0.0%
Magenta78.8%
Yellow77.4%
Key (black)18.4%

Color previews

#d02c2f text on a black background

contrast 4.08:1

Card sample

#d02c2f text on a white background

contrast 5.14:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #d02c2f

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.

#d02c2f 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

Converts to four-color process without much drama. Proof it anyway.

#d02c2f, answered

What color is #d02c2f?

#d02c2f is a balanced vivid red, closest to Crimson (ΔE2000 5). It sits at 359° on the hue wheel with 65% saturation and 49% lightness, which reads as warm.

What is the RGB value of #d02c2f?

rgb(208, 44, 47) — 208 red, 44 green and 47 blue out of 255, or 81.6% / 17.3% / 18.4% by channel.

Is #d02c2f a light or a dark color?

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

Should I use black or white text on #d02c2f?

White. It scores 5.14:1 against #d02c2f, versus 4.08:1 for black — AA at any size.

What is the complementary color of #d02c2f?

#2CD0CD sits directly opposite on the wheel. Softer options are the split-complements #2CD07B and #2C81D0, which give the same contrast with far less vibration.

What colors go well with #d02c2f?

For interface work: #FAF4F4 as the surface, #EDC0C1 for borders, #9B4B4C for secondary text, #20AC86 as an accent and #691618 for hover and pressed states. For a palette, the analogous pair #D02C81 and #D07B2C stays calm, while #2CD0CD is the loudest partner.

What is #d02c2f in CMYK for printing?

cmyk(0%, 79%, 77%, 18%). This is a screen-to-ink approximation — ask your printer for a proof before committing to a run.

Is #d02c2f warm or cool?

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

Work with #d02c2f in the Color Lab