#9F2121#9F2121
#9F2121 is a mid, vivid red. Relative luminance 0.086; OKLCH L 46.0% C 0.162 H 26.4°. Best body text is #FFFFFF at 7.74:1 contrast (WCAG AA passes).
Color values
| HEX | #9F2121 |
|---|---|
| RGB | rgb(159, 33, 33) |
| HSL | hsl(0, 66%, 38%) |
| HSV | hsv(0, 79%, 62%) |
| CMYK | cmyk(0%, 79.2%, 79.2%, 37.6%) |
| CIE-LAB | lab(35.14, 50.46, 32.92) |
| CIE-LCH | lch(35.14, 60.25, 33.12°) |
| OKLab | oklab(46.04% 0.1452 0.0721) |
| OKLCH | oklch(46.04% 0.162 26.4) |
| XYZ | xyz(15.1183, 8.5709, 2.2969) |
| Luminance | 0.0857 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Brown
#A52A2A
ΔE00 2.27
Carmine
#9D0216
ΔE00 2.76
Firebrick
#B22222
ΔE00 3.87
Brownish Red
#9E3623
ΔE00 4.74
Brick
#A03623
ΔE00 4.80
Darkish Red
#A90308
ΔE00 4.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F2121 #219F9F
analogous
#9F2160 #9F2121 #9F6021
triadic
#9F2121 #219F21 #21219F
tetradic
#9F2121 #609F21 #219F9F #60219F
square
#9F2121 #609F21 #219F9F #60219F
split-complementary
#9F2121 #219F60 #21609F
monochromatic
#3A0C0C #6C1616 #9F2121 #D22C2C #DD5D5D
Accessibility & contrast
On white
7.74
#9F2121 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.71
#9F2121 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9F2121
7.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F2121 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9F2121 | 1.00 | 7.74 | 2.71 | 7.74 |
| #FFFFFF | 7.74 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.71 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.74 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#48411F
Deuteranopia (green-blind)
#675C1C
Tritanopia (blue-blind)
#AF0023
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #9f2121; /* rgb */ color: rgb(159, 33, 33); /* oklch */ color: oklch(46.0% 0.162 26.4);
Tailwind
colors: {
custom: {
50: '#c4685d',
500: '#9f2121',
950: '#000000',
},
}SCSS
$custom: #9f2121; $custom-light: #c4685d; $custom-dark: #000000;
JSON
{
"hex": "#9f2121",
"rgb": {
"r": 159,
"g": 33,
"b": 33
},
"hsl": {
"h": 0,
"s": 65.625,
"l": 37.647
},
"oklch": {
"l": 0.4604,
"c": 0.16214,
"h": 26.4
},
"luminance": 0.08568
}Semantic roles & 50–950 ramp
primary
#9F2121
secondary
#5AC2C2
accent
#E9E93F
background
#FDF6F5
surface
#FAEBE9
border
#D3C6C5
text
#140704
muted
#837A79