#9F222F#9F222F
#9F222F is a mid, vivid red. Relative luminance 0.087; OKLCH L 46.3% C 0.160 H 21.0°. Best body text is #FFFFFF at 7.65:1 contrast (WCAG AA passes).
Color values
| HEX | #9F222F |
|---|---|
| RGB | rgb(159, 34, 47) |
| HSL | hsl(354, 65%, 38%) |
| HSV | hsv(354, 79%, 62%) |
| CMYK | cmyk(0%, 78.6%, 70.4%, 37.6%) |
| CIE-LAB | lab(35.44, 50.75, 24.73) |
| CIE-LCH | lch(35.44, 56.45, 25.98°) |
| OKLab | oklab(46.32% 0.1493 0.0574) |
| OKLCH | oklch(46.32% 0.16 21) |
| XYZ | xyz(15.3849, 8.7226, 3.5623) |
| Luminance | 0.0872 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Brown
#A52A2A
ΔE00 3.75
Rouge
#AB1239
ΔE00 4.24
Carmine
#9D0216
ΔE00 5.68
Lipstick Red
#C0022F
ΔE00 5.94
Rose Red
#BE013C
ΔE00 6.37
Firebrick
#B22222
ΔE00 6.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F222F #229F92
analogous
#9F226D #9F222F #9F5322
triadic
#9F222F #2F9F22 #222F9F
tetradic
#9F222F #6D9F22 #229F92 #53229F
square
#9F222F #6D9F22 #229F92 #53229F
split-complementary
#9F222F #229F53 #226D9F
monochromatic
#3A0C11 #6D1720 #9F222F #D12D3E #DD5F6C
Accessibility & contrast
On white
7.65
#9F222F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.74
#9F222F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9F222F
7.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F222F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9F222F | 1.00 | 7.65 | 2.74 | 7.65 |
| #FFFFFF | 7.65 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.74 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.65 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#47422E
Deuteranopia (green-blind)
#675D2B
Tritanopia (blue-blind)
#AF0028
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #9f222f; /* rgb */ color: rgb(159, 34, 47); /* oklch */ color: oklch(46.3% 0.160 21.0);
Tailwind
colors: {
custom: {
50: '#c36967',
500: '#9f222f',
950: '#000000',
},
}SCSS
$custom: #9f222f; $custom-light: #c36967; $custom-dark: #000000;
JSON
{
"hex": "#9f222f",
"rgb": {
"r": 159,
"g": 34,
"b": 47
},
"hsl": {
"h": 353.76,
"s": 64.767,
"l": 37.843
},
"oklch": {
"l": 0.46323,
"c": 0.15998,
"h": 21
},
"luminance": 0.0872
}Semantic roles & 50–950 ramp
primary
#9F222F
secondary
#5BC1B7
accent
#E8D640
background
#FDF6F6
surface
#FAEBEB
border
#D3C6C6
text
#140706
muted
#837A7A