#9F2821#9F2821
#9F2821 is a mid, vivid red. Relative luminance 0.090; OKLCH L 46.7% C 0.156 H 28.2°. Best body text is #FFFFFF at 7.50:1 contrast (WCAG AA passes).
Color values
| HEX | #9F2821 |
|---|---|
| RGB | rgb(159, 40, 33) |
| HSL | hsl(3, 66%, 38%) |
| HSV | hsv(3, 79%, 62%) |
| CMYK | cmyk(0%, 74.8%, 79.2%, 37.6%) |
| CIE-LAB | lab(35.99, 48.11, 33.80) |
| CIE-LCH | lch(35.99, 58.80, 35.09°) |
| OKLab | oklab(46.67% 0.1379 0.074) |
| OKLCH | oklch(46.67% 0.156 28.2) |
| XYZ | xyz(15.3332, 9.0007, 2.3685) |
| Luminance | 0.0900 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Brown
#A52A2A
ΔE00 2.51
Brownish Red
#9E3623
ΔE00 3.30
Brick
#A03623
ΔE00 3.36
Firebrick
#B22222
ΔE00 3.56
Carmine
#9D0216
ΔE00 3.77
Darkish Red
#A90308
ΔE00 4.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F2821 #21989F
analogous
#9F2159 #9F2821 #9F6721
triadic
#9F2821 #219F28 #28219F
tetradic
#9F2821 #599F21 #21989F #67219F
square
#9F2821 #599F21 #21989F #67219F
split-complementary
#9F2821 #219F67 #21599F
monochromatic
#3A0E0C #6C1B16 #9F2821 #D2352C #DD645D
Accessibility & contrast
On white
7.50
#9F2821 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.80
#9F2821 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9F2821
7.50:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F2821 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9F2821 | 1.00 | 7.50 | 2.80 | 7.50 |
| #FFFFFF | 7.50 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.80 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.50 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4C441F
Deuteranopia (green-blind)
#695E1C
Tritanopia (blue-blind)
#AF0028
Achromatopsia (no color)
#555555
Design tokens & code
CSS
--color: #9f2821; /* rgb */ color: rgb(159, 40, 33); /* oklch */ color: oklch(46.7% 0.156 28.2);
Tailwind
colors: {
custom: {
50: '#c46b5d',
500: '#9f2821',
950: '#000000',
},
}SCSS
$custom: #9f2821; $custom-light: #c46b5d; $custom-dark: #000000;
JSON
{
"hex": "#9f2821",
"rgb": {
"r": 159,
"g": 40,
"b": 33
},
"hsl": {
"h": 3.333,
"s": 65.625,
"l": 37.647
},
"oklch": {
"l": 0.46666,
"c": 0.15646,
"h": 28.2
},
"luminance": 0.08998
}Semantic roles & 50–950 ramp
primary
#9F2821
secondary
#5ABCC2
accent
#DFE93F
background
#FDF6F5
surface
#FAECE9
border
#D3C7C5
text
#140704
muted
#837A79