#9F1D29#9F1D29
#9F1D29 is a mid, vivid red. Relative luminance 0.084; OKLCH L 45.8% C 0.164 H 22.5°. Best body text is #FFFFFF at 7.83:1 contrast (WCAG AA passes).
Color values
| HEX | #9F1D29 |
|---|---|
| RGB | rgb(159, 29, 41) |
| HSL | hsl(354, 69%, 37%) |
| HSV | hsv(354, 82%, 62%) |
| CMYK | cmyk(0%, 81.8%, 74.2%, 37.6%) |
| CIE-LAB | lab(34.83, 51.95, 27.74) |
| CIE-LCH | lch(34.83, 58.90, 28.10°) |
| OKLab | oklab(45.84% 0.1518 0.0629) |
| OKLCH | oklch(45.84% 0.164 22.5) |
| XYZ | xyz(15.1395, 8.4122, 2.9240) |
| Luminance | 0.0841 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Brown
#A52A2A
ΔE00 3.07
Carmine
#9D0216
ΔE00 4.19
Rouge
#AB1239
ΔE00 5.42
Firebrick
#B22222
ΔE00 5.61
Lipstick Red
#C0022F
ΔE00 5.99
Crimson (survey)
#8C000F
ΔE00 6.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F1D29 #1D9F93
analogous
#9F1D6A #9F1D29 #9F521D
triadic
#9F1D29 #299F1D #1D299F
tetradic
#9F1D29 #6A9F1D #1D9F93 #521D9F
square
#9F1D29 #6A9F1D #1D9F93 #521D9F
split-complementary
#9F1D29 #1D9F52 #1D6A9F
monochromatic
#370A0E #6B141C #9F1D29 #D32636 #E05663
Accessibility & contrast
On white
7.83
#9F1D29 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.68
#9F1D29 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9F1D29
7.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F1D29 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9F1D29 | 1.00 | 7.83 | 2.68 | 7.83 |
| #FFFFFF | 7.83 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.68 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.83 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#464028
Deuteranopia (green-blind)
#665C24
Tritanopia (blue-blind)
#AF0023
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #9f1d29; /* rgb */ color: rgb(159, 29, 41); /* oklch */ color: oklch(45.8% 0.164 22.5);
Tailwind
colors: {
custom: {
50: '#c46762',
500: '#9f1d29',
950: '#000000',
},
}SCSS
$custom: #9f1d29; $custom-light: #c46762; $custom-dark: #000000;
JSON
{
"hex": "#9f1d29",
"rgb": {
"r": 159,
"g": 29,
"b": 41
},
"hsl": {
"h": 354.462,
"s": 69.149,
"l": 36.863
},
"oklch": {
"l": 0.45836,
"c": 0.16431,
"h": 22.5
},
"luminance": 0.0841
}Semantic roles & 50–950 ramp
primary
#9F1D29
secondary
#54C4B9
accent
#ECDC3C
background
#FDF6F5
surface
#FAEBEA
border
#D3C6C6
text
#140705
muted
#837A79