#9F1B33#9F1B33
#9F1B33 is a mid, vivid red. Relative luminance 0.084; OKLCH L 45.9% C 0.165 H 17.8°. Best body text is #FFFFFF at 7.84:1 contrast (WCAG AA passes).
Color values
| HEX | #9F1B33 |
|---|---|
| RGB | rgb(159, 27, 51) |
| HSL | hsl(349, 71%, 36%) |
| HSV | hsv(349, 83%, 62%) |
| CMYK | cmyk(0%, 83%, 67.9%, 37.6%) |
| CIE-LAB | lab(34.79, 52.98, 21.39) |
| CIE-LCH | lch(34.79, 57.14, 21.98°) |
| OKLab | oklab(45.86% 0.1574 0.0505) |
| OKLCH | oklch(45.86% 0.165 17.8) |
| XYZ | xyz(15.2893, 8.3962, 3.9469) |
| Luminance | 0.0839 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Rouge
#AB1239
ΔE00 2.57
Cranberry
#9E003A
ΔE00 4.55
Rose Red
#BE013C
ΔE00 5.68
Brown
#A52A2A
ΔE00 6.02
Red Wine
#8C0034
ΔE00 6.63
Lipstick Red
#C0022F
ΔE00 6.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F1B33 #1B9F87
analogous
#9F1B75 #9F1B33 #9F451B
triadic
#9F1B33 #339F1B #1B339F
tetradic
#9F1B33 #759F1B #1B9F87 #451B9F
square
#9F1B33 #759F1B #1B9F87 #451B9F
split-complementary
#9F1B33 #1B9F45 #1B759F
monochromatic
#360911 #6B1222 #9F1B33 #D32444 #E2536D
Accessibility & contrast
On white
7.84
#9F1B33 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.68
#9F1B33 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9F1B33
7.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F1B33 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9F1B33 | 1.00 | 7.84 | 2.68 | 7.84 |
| #FFFFFF | 7.84 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.68 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.84 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#444033
Deuteranopia (green-blind)
#655C2F
Tritanopia (blue-blind)
#AF0026
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #9f1b33; /* rgb */ color: rgb(159, 27, 51); /* oklch */ color: oklch(45.9% 0.165 17.8);
Tailwind
colors: {
custom: {
50: '#c3676a',
500: '#9f1b33',
950: '#000000',
},
}SCSS
$custom: #9f1b33; $custom-light: #c3676a; $custom-dark: #000000;
JSON
{
"hex": "#9f1b33",
"rgb": {
"r": 159,
"g": 27,
"b": 51
},
"hsl": {
"h": 349.091,
"s": 70.968,
"l": 36.471
},
"oklch": {
"l": 0.45863,
"c": 0.16531,
"h": 17.8
},
"luminance": 0.08394
}Semantic roles & 50–950 ramp
primary
#9F1B33
secondary
#51C5B0
accent
#EECD3A
background
#FDF6F6
surface
#FAEBEB
border
#D3C6C6
text
#140706
muted
#837A7A