Skip to content

#d91f2f

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

RGB
217, 31, 47
HSL
355°, 75%, 49%
CMYK
0, 86, 78, 15
Luminance
0.1594

At a glance

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

Hex
#d91f2f
Hue
355°
red
Saturation
75%
electric
Lightness
49%
balanced
Brightness
85%
HSV value
Perceived
48%
weighted brightness
Luminance
0.1594
WCAG relative
Temperature
Warm
20/100 cool
Color family
Red
Tone
Electric
Best ink
White
5.02:1
Closest name
Crimson
ΔE2000 3.9
Where it sits
Hue355° of 360°
Saturation75%
Lightness49%
Temperature
Warm ← → Cool20% 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#d91f2f
RGBrgb(217, 31, 47)
HSLhsl(355, 75%, 49%)
CMYKcmyk(0%, 86%, 78%, 15%)
LABlab(46.9 67.9 40.8)
LCHlch(46.9 79.2 31.0)
OKLCHoklch(0.569 0.215 24.4)
Decimal14229295
Display P3color(display-p3 0.851 0.122 0.184)

Copy-ready code

/* CSS */
color: #d91f2f;
background-color: #d91f2f;
/* Tailwind (arbitrary) */
class="text-[#d91f2f] bg-[#d91f2f]"
/* SCSS */
$brand: #d91f2f;
/* SwiftUI */
Color(red: 0.851, green: 0.122, blue: 0.184)
/* Android */
Color.parseColor("#d91f2f")
/* Flutter */
Color(0xFFD91F2F)
/* Python / OpenCV (BGR) */
(47, 31, 217)

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

Accessibility — WCAG contrast

Aa
#d91f2f on white: 5.02:1
AA ✓ pass · AA-large · AAA
Aa
#d91f2f on black: 4.19:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #5F562D
deuteranopia · #8B7D27
tritanopia · #EF0028

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #d91f2f 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.

#FCF3F4
#F9E7E8
#F4C8CC
#F19DA4
#EA6C77
#E33B49
#d91f2f
#B31927
#8F141F
#67131A
#410C10
Base = 600Lightest = 50 · #FCF3F4Darkest = 950 · #410C10
:root {
  --brand-50: #FCF3F4;
  --brand-100: #F9E7E8;
  --brand-200: #F4C8CC;
  --brand-300: #F19DA4;
  --brand-400: #EA6C77;
  --brand-500: #E33B49;
  --brand-600: #d91f2f;
  --brand-700: #B31927;
  --brand-800: #8F141F;
  --brand-900: #67131A;
  --brand-950: #410C10;
  --brand: #d91f2f;
  --brand-ink: #ffffff;
}

Colors that work with #d91f2f

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#FAF4F5
Tinted page background
Border#EDC0C4
Hairlines and dividers
Muted text#9B4B52
Captions on the surface
Accent#15B780
Second voice, not a rival
Dark variant#701018
Hover, pressed, headers
Light variant#FCE9EA
Selected rows, tints
Dark surface#241415
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 #d91f2f

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#1FD9C9
Analogous left#D91F8C
Analogous right#D96C1F
Split-complement 1#1FD96C
Split-complement 2#1F8CD9
Triadic 1#2FD91F
Triadic 2#1F2FD9
Tetradic#8CD91F

RGB percentages

Red85.1%
Green12.2%
Blue18.4%

CMYK percentages

Cyan0.0%
Magenta85.7%
Yellow78.3%
Key (black)14.9%

Color previews

#d91f2f text on a black background

contrast 4.19:1

Card sample

#d91f2f text on a white background

contrast 5.02:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #d91f2f

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.

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

#d91f2f, answered

What color is #d91f2f?

#d91f2f is a balanced electric red, closest to Crimson (ΔE2000 3.9). It sits at 355° on the hue wheel with 75% saturation and 49% lightness, which reads as warm.

What is the RGB value of #d91f2f?

rgb(217, 31, 47) — 217 red, 31 green and 47 blue out of 255, or 85.1% / 12.2% / 18.4% by channel.

Is #d91f2f a light or a dark color?

It is a dark color. Relative luminance is 0.1594 and perceived brightness is 48%, so white text on it reaches 5.02:1.

Should I use black or white text on #d91f2f?

White. It scores 5.02:1 against #d91f2f, versus 4.19:1 for black — AA at any size.

What is the complementary color of #d91f2f?

#1FD9C9 sits directly opposite on the wheel. Softer options are the split-complements #1FD96C and #1F8CD9, which give the same contrast with far less vibration.

What colors go well with #d91f2f?

For interface work: #FAF4F5 as the surface, #EDC0C4 for borders, #9B4B52 for secondary text, #15B780 as an accent and #701018 for hover and pressed states. For a palette, the analogous pair #D91F8C and #D96C1F stays calm, while #1FD9C9 is the loudest partner.

What is #d91f2f in CMYK for printing?

cmyk(0%, 86%, 78%, 15%). 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 #d91f2f warm or cool?

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

Work with #d91f2f in the Color Lab