Skip to content

#d02a2f

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

RGB
208, 42, 47
HSL
358°, 66%, 49%
CMYK
0, 80, 77, 18
Luminance
0.1527

At a glance

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

Hex
#d02a2f
Hue
358°
red
Saturation
66%
vivid
Lightness
49%
balanced
Brightness
82%
HSV value
Perceived
47%
weighted brightness
Luminance
0.1527
WCAG relative
Temperature
Warm
18/100 cool
Color family
Red
Tone
Vivid
Best ink
White
5.18:1
Closest name
Crimson
ΔE2000 4.8
Where it sits
Hue358° of 360°
Saturation66%
Lightness49%
Temperature
Warm ← → Cool18% 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#d02a2f
RGBrgb(208, 42, 47)
HSLhsl(358, 66%, 49%)
CMYKcmyk(0%, 80%, 77%, 18%)
LABlab(46.0 62.8 39.4)
LCHlch(46.0 74.1 32.1)
OKLCHoklch(0.559 0.201 25.5)
Decimal13642287
Display P3color(display-p3 0.816 0.165 0.184)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#d02a2f on white: 5.18:1
AA ✓ pass · AA-large · AAA
Aa
#d02a2f on black: 4.05:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #5F562D
deuteranopia · #887A28
tritanopia · #E5002E

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #d02a2f 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
#F8E8E8
#F1CACC
#ECA2A4
#E37376
#D94449
#d02a2f
#AA2226
#881B1F
#63181A
#3E0F10
Base = 600Lightest = 50 · #FBF3F4Darkest = 950 · #3E0F10
:root {
  --brand-50: #FBF3F4;
  --brand-100: #F8E8E8;
  --brand-200: #F1CACC;
  --brand-300: #ECA2A4;
  --brand-400: #E37376;
  --brand-500: #D94449;
  --brand-600: #d02a2f;
  --brand-700: #AA2226;
  --brand-800: #881B1F;
  --brand-900: #63181A;
  --brand-950: #3E0F10;
  --brand: #d02a2f;
  --brand-ink: #ffffff;
}

Colors that work with #d02a2f

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#9B4B4D
Captions on the surface
Accent#1EAE86
Second voice, not a rival
Dark variant#6A1518
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 #d02a2f

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#2AD0CB
Analogous left#D02A82
Analogous right#D0782A
Split-complement 1#2AD078
Split-complement 2#2A82D0
Triadic 1#2FD02A
Triadic 2#2A2FD0
Tetradic#82D02A

RGB percentages

Red81.6%
Green16.5%
Blue18.4%

CMYK percentages

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

Color previews

#d02a2f text on a black background

contrast 4.05:1

Card sample

#d02a2f text on a white background

contrast 5.18:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #d02a2f

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.

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

#d02a2f, answered

What color is #d02a2f?

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

What is the RGB value of #d02a2f?

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

Is #d02a2f a light or a dark color?

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

Should I use black or white text on #d02a2f?

White. It scores 5.18:1 against #d02a2f, versus 4.05:1 for black — AA at any size.

What is the complementary color of #d02a2f?

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

What colors go well with #d02a2f?

For interface work: #FAF4F4 as the surface, #EDC0C1 for borders, #9B4B4D for secondary text, #1EAE86 as an accent and #6A1518 for hover and pressed states. For a palette, the analogous pair #D02A82 and #D0782A stays calm, while #2AD0CB is the loudest partner.

What is #d02a2f in CMYK for printing?

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

Is #d02a2f warm or cool?

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

Work with #d02a2f in the Color Lab