#C9271D#C9271D
#C9271D is a mid, vivid red. Relative luminance 0.140; OKLCH L 54.2% C 0.198 H 29.1°. Best body text is #FFFFFF at 5.54:1 contrast (WCAG AA passes).
Color values
| HEX | #C9271D |
|---|---|
| RGB | rgb(201, 39, 29) |
| HSL | hsl(3, 75%, 45%) |
| HSV | hsv(3, 86%, 79%) |
| CMYK | cmyk(0%, 80.6%, 85.6%, 21.2%) |
| CIE-LAB | lab(44.18, 61.14, 46.62) |
| CIE-LCH | lch(44.18, 76.88, 37.33°) |
| OKLab | oklab(54.23% 0.1733 0.0966) |
| OKLCH | oklch(54.23% 0.198 29.1) |
| XYZ | xyz(25.0379, 13.9614, 2.5387) |
| Luminance | 0.1396 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Scarlet
#BE0119
ΔE00 4.66
Firebrick
#B22222
ΔE00 5.59
Red (survey)
#E50000
ΔE00 5.70
Rusty Red
#AF2F0D
ΔE00 6.19
Reddish
#C44240
ΔE00 6.86
Dull Red
#BB3F3F
ΔE00 7.30
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C9271D #1DBFC9
analogous
#C91D69 #C9271D #C97D1D
triadic
#C9271D #1DC927 #271DC9
tetradic
#C9271D #69C91D #1DBFC9 #7D1DC9
square
#C9271D #69C91D #1DBFC9 #7D1DC9
split-complementary
#C9271D #1DC97D #1D69C9
monochromatic
#5E120E #941D15 #C9271D #E34940 #EB7C75
Accessibility & contrast
On white
5.54
#C9271D on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.79
#C9271D on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #C9271D
5.54:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C9271D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##C9271D | 1.00 | 5.54 | 3.79 | 5.54 |
| #FFFFFF | 5.54 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.79 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.54 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5C5219
Deuteranopia (green-blind)
#847512
Tritanopia (blue-blind)
#DE0027
Achromatopsia (no color)
#686868
Design tokens & code
CSS
--color: #c9271d; /* rgb */ color: rgb(201, 39, 29); /* oklch */ color: oklch(54.2% 0.198 29.1);
Tailwind
colors: {
custom: {
50: '#e4715c',
500: '#c9271d',
950: '#000000',
},
}SCSS
$custom: #c9271d; $custom-light: #e4715c; $custom-dark: #000000;
JSON
{
"hex": "#c9271d",
"rgb": {
"r": 201,
"g": 39,
"b": 29
},
"hsl": {
"h": 3.488,
"s": 74.783,
"l": 45.098
},
"oklch": {
"l": 0.54234,
"c": 0.1984,
"h": 29.1
},
"luminance": 0.13957
}Semantic roles & 50–950 ramp
primary
#C9271D
secondary
#70CCD2
accent
#E7F136
background
#FFF7F5
surface
#FFEDE9
border
#D7C8C5
text
#180904
muted
#867B79