#9F1838#9F1838
#9F1838 is a mid, vivid red. Relative luminance 0.083; OKLCH L 45.8% C 0.168 H 15.0°. Best body text is #FFFFFF at 7.89:1 contrast (WCAG AA passes).
Color values
| HEX | #9F1838 |
|---|---|
| RGB | rgb(159, 24, 56) |
| HSL | hsl(346, 74%, 36%) |
| HSV | hsv(346, 85%, 62%) |
| CMYK | cmyk(0%, 84.9%, 64.8%, 37.6%) |
| CIE-LAB | lab(34.62, 54.02, 17.95) |
| CIE-LCH | lch(34.62, 56.92, 18.38°) |
| OKLab | oklab(45.77% 0.1618 0.0433) |
| OKLCH | oklch(45.77% 0.168 15) |
| XYZ | xyz(15.3402, 8.3121, 4.5373) |
| Luminance | 0.0831 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Rouge
#AB1239
ΔE00 2.29
Cranberry
#9E003A
ΔE00 2.70
Red Wine
#8C0034
ΔE00 5.30
Raspberry (survey)
#B00149
ΔE00 5.33
Purplish Red
#B0054B
ΔE00 5.72
Rose Red
#BE013C
ΔE00 5.76
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F1838 #189F7F
analogous
#9F187B #9F1838 #9F3C18
triadic
#9F1838 #389F18 #18389F
tetradic
#9F1838 #7B9F18 #189F7F #3C189F
square
#9F1838 #7B9F18 #189F7F #3C189F
split-complementary
#9F1838 #189F3C #187B9F
monochromatic
#350813 #6A1025 #9F1838 #D4204B #E44D71
Accessibility & contrast
On white
7.89
#9F1838 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.66
#9F1838 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9F1838
7.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F1838 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9F1838 | 1.00 | 7.89 | 2.66 | 7.89 |
| #FFFFFF | 7.89 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.66 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.89 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#424038
Deuteranopia (green-blind)
#645B34
Tritanopia (blue-blind)
#AF0027
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #9f1838; /* rgb */ color: rgb(159, 24, 56); /* oklch */ color: oklch(45.8% 0.168 15.0);
Tailwind
colors: {
custom: {
50: '#c3666e',
500: '#9f1838',
950: '#000000',
},
}SCSS
$custom: #9f1838; $custom-light: #c3666e; $custom-dark: #000000;
JSON
{
"hex": "#9f1838",
"rgb": {
"r": 159,
"g": 24,
"b": 56
},
"hsl": {
"h": 345.778,
"s": 73.77,
"l": 35.882
},
"oklch": {
"l": 0.45768,
"c": 0.16751,
"h": 15
},
"luminance": 0.0831
}Semantic roles & 50–950 ramp
primary
#9F1838
secondary
#4DC6A9
accent
#F0C537
background
#FCF6F6
surface
#F9EBEB
border
#D2C6C6
text
#140707
muted
#827A7A