#9F2226#9F2226
#9F2226 is a mid, vivid red. Relative luminance 0.087; OKLCH L 46.2% C 0.161 H 24.8°. Best body text is #FFFFFF at 7.69:1 contrast (WCAG AA passes).
Color values
| HEX | #9F2226 |
|---|---|
| RGB | rgb(159, 34, 38) |
| HSL | hsl(358, 65%, 38%) |
| HSV | hsv(358, 79%, 62%) |
| CMYK | cmyk(0%, 78.6%, 76.1%, 37.6%) |
| CIE-LAB | lab(35.32, 50.34, 30.13) |
| CIE-LCH | lch(35.32, 58.67, 30.91°) |
| OKLab | oklab(46.19% 0.146 0.0674) |
| OKLCH | oklch(46.19% 0.161 24.8) |
| XYZ | xyz(15.2218, 8.6573, 2.7029) |
| Luminance | 0.0866 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Brown
#A52A2A
ΔE00 1.90
Carmine
#9D0216
ΔE00 3.43
Firebrick
#B22222
ΔE00 4.39
Brownish Red
#9E3623
ΔE00 5.67
Brick
#A03623
ΔE00 5.73
Crimson (survey)
#8C000F
ΔE00 5.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F2226 #229F9B
analogous
#9F2264 #9F2226 #9F5C22
triadic
#9F2226 #269F22 #22269F
tetradic
#9F2226 #649F22 #229F9B #5C229F
square
#9F2226 #649F22 #229F9B #5C229F
split-complementary
#9F2226 #229F5C #22649F
monochromatic
#3A0C0E #6D171A #9F2226 #D12D32 #DD5F63
Accessibility & contrast
On white
7.69
#9F2226 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.73
#9F2226 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9F2226
7.69:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F2226 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9F2226 | 1.00 | 7.69 | 2.73 | 7.69 |
| #FFFFFF | 7.69 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.73 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.69 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#484225
Deuteranopia (green-blind)
#675D21
Tritanopia (blue-blind)
#AF0025
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #9f2226; /* rgb */ color: rgb(159, 34, 38); /* oklch */ color: oklch(46.2% 0.161 24.8);
Tailwind
colors: {
custom: {
50: '#c46960',
500: '#9f2226',
950: '#000000',
},
}SCSS
$custom: #9f2226; $custom-light: #c46960; $custom-dark: #000000;
JSON
{
"hex": "#9f2226",
"rgb": {
"r": 159,
"g": 34,
"b": 38
},
"hsl": {
"h": 358.08,
"s": 64.767,
"l": 37.843
},
"oklch": {
"l": 0.46186,
"c": 0.16078,
"h": 24.8
},
"luminance": 0.08655
}Semantic roles & 50–950 ramp
primary
#9F2226
secondary
#5BC1BE
accent
#E8E240
background
#FDF6F5
surface
#FAEBE9
border
#D3C6C5
text
#140705
muted
#837A79