#9F182F#9F182F
#9F182F is a mid, vivid red. Relative luminance 0.082; OKLCH L 45.6% C 0.167 H 19.1°. Best body text is #FFFFFF at 7.94:1 contrast (WCAG AA passes).
Color values
| HEX | #9F182F |
|---|---|
| RGB | rgb(159, 24, 47) |
| HSL | hsl(350, 74%, 36%) |
| HSV | hsv(350, 85%, 62%) |
| CMYK | cmyk(0%, 84.9%, 70.4%, 37.6%) |
| CIE-LAB | lab(34.46, 53.53, 23.53) |
| CIE-LCH | lch(34.46, 58.48, 23.73°) |
| OKLab | oklab(45.6% 0.1582 0.0548) |
| OKLCH | oklch(45.6% 0.167 19.1) |
| XYZ | xyz(15.1396, 8.2318, 3.4805) |
| Luminance | 0.0823 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Rouge
#AB1239
ΔE00 3.29
Brown
#A52A2A
ΔE00 5.27
Cranberry
#9E003A
ΔE00 5.42
Rose Red
#BE013C
ΔE00 6.02
Carmine
#9D0216
ΔE00 6.34
Lipstick Red
#C0022F
ΔE00 6.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F182F #189F88
analogous
#9F1872 #9F182F #9F4418
triadic
#9F182F #2F9F18 #182F9F
tetradic
#9F182F #729F18 #189F88 #44189F
square
#9F182F #729F18 #189F88 #44189F
split-complementary
#9F182F #189F44 #18729F
monochromatic
#350810 #6A101F #9F182F #D4203F #E44D67
Accessibility & contrast
On white
7.94
#9F182F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.65
#9F182F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9F182F
7.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F182F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9F182F | 1.00 | 7.94 | 2.65 | 7.94 |
| #FFFFFF | 7.94 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.65 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.94 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#433F2F
Deuteranopia (green-blind)
#645B2B
Tritanopia (blue-blind)
#AF0023
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #9f182f; /* rgb */ color: rgb(159, 24, 47); /* oklch */ color: oklch(45.6% 0.167 19.1);
Tailwind
colors: {
custom: {
50: '#c46667',
500: '#9f182f',
950: '#000000',
},
}SCSS
$custom: #9f182f; $custom-light: #c46667; $custom-dark: #000000;
JSON
{
"hex": "#9f182f",
"rgb": {
"r": 159,
"g": 24,
"b": 47
},
"hsl": {
"h": 349.778,
"s": 73.77,
"l": 35.882
},
"oklch": {
"l": 0.45595,
"c": 0.16743,
"h": 19.1
},
"luminance": 0.08229
}Semantic roles & 50–950 ramp
primary
#9F182F
secondary
#4DC6B1
accent
#F0D137
background
#FDF6F6
surface
#FAEBEB
border
#D3C6C6
text
#140706
muted
#837A7A