#9F2038#9F2038
#9F2038 is a mid, vivid red. Relative luminance 0.087; OKLCH L 46.3% C 0.161 H 16.4°. Best body text is #FFFFFF at 7.67:1 contrast (WCAG AA passes).
Color values
| HEX | #9F2038 |
|---|---|
| RGB | rgb(159, 32, 56) |
| HSL | hsl(349, 66%, 37%) |
| HSV | hsv(349, 80%, 62%) |
| CMYK | cmyk(0%, 79.9%, 64.8%, 37.6%) |
| CIE-LAB | lab(35.38, 51.86, 18.93) |
| CIE-LCH | lch(35.38, 55.21, 20.05°) |
| OKLab | oklab(46.33% 0.1549 0.0455) |
| OKLCH | oklch(46.33% 0.161 16.4) |
| XYZ | xyz(15.5301, 8.6918, 4.6006) |
| Luminance | 0.0869 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Rouge
#AB1239
ΔE00 2.22
Cranberry
#9E003A
ΔE00 3.88
Rose Red
#BE013C
ΔE00 5.53
Raspberry (survey)
#B00149
ΔE00 6.06
Red Wine
#8C0034
ΔE00 6.25
Purplish Red
#B0054B
ΔE00 6.44
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F2038 #209F87
analogous
#9F2078 #9F2038 #9F4720
triadic
#9F2038 #389F20 #20389F
tetradic
#9F2038 #789F20 #209F87 #47209F
square
#9F2038 #789F20 #209F87 #47209F
split-complementary
#9F2038 #209F47 #20789F
monochromatic
#390B14 #6C1626 #9F2038 #D22A4A #DE5B74
Accessibility & contrast
On white
7.67
#9F2038 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.74
#9F2038 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9F2038
7.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F2038 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9F2038 | 1.00 | 7.67 | 2.74 | 7.67 |
| #FFFFFF | 7.67 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.74 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.67 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#454238
Deuteranopia (green-blind)
#655D34
Tritanopia (blue-blind)
#AF002A
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #9f2038; /* rgb */ color: rgb(159, 32, 56); /* oklch */ color: oklch(46.3% 0.161 16.4);
Tailwind
colors: {
custom: {
50: '#c3696e',
500: '#9f2038',
950: '#000000',
},
}SCSS
$custom: #9f2038; $custom-light: #c3696e; $custom-dark: #000000;
JSON
{
"hex": "#9f2038",
"rgb": {
"r": 159,
"g": 32,
"b": 56
},
"hsl": {
"h": 348.661,
"s": 66.492,
"l": 37.451
},
"oklch": {
"l": 0.46329,
"c": 0.16143,
"h": 16.4
},
"luminance": 0.08689
}Semantic roles & 50–950 ramp
primary
#9F2038
secondary
#59C2AE
accent
#E9C93E
background
#FCF6F6
surface
#F9EBEB
border
#D2C6C6
text
#140707
muted
#827A7A