#9E2138#9E2138
#9E2138 is a mid, vivid red. Relative luminance 0.086; OKLCH L 46.2% C 0.160 H 16.5°. Best body text is #FFFFFF at 7.70:1 contrast (WCAG AA passes).
Color values
| HEX | #9E2138 |
|---|---|
| RGB | rgb(158, 33, 56) |
| HSL | hsl(349, 65%, 37%) |
| HSV | hsv(349, 79%, 62%) |
| CMYK | cmyk(0%, 79.1%, 64.6%, 38%) |
| CIE-LAB | lab(35.29, 51.26, 18.77) |
| CIE-LCH | lch(35.29, 54.59, 20.11°) |
| OKLab | oklab(46.22% 0.1531 0.0452) |
| OKLCH | oklch(46.22% 0.16 16.5) |
| XYZ | xyz(15.3599, 8.6447, 4.6004) |
| Luminance | 0.0864 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Rouge
#AB1239
ΔE00 2.42
Cranberry
#9E003A
ΔE00 3.93
Rose Red
#BE013C
ΔE00 5.70
Raspberry (survey)
#B00149
ΔE00 6.17
Red Wine
#8C0034
ΔE00 6.20
Purplish Red
#B0054B
ΔE00 6.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9E2138 #219E87
analogous
#9E2177 #9E2138 #9E4921
triadic
#9E2138 #389E21 #21389E
tetradic
#9E2138 #779E21 #219E87 #49219E
square
#9E2138 #779E21 #219E87 #49219E
split-complementary
#9E2138 #219E49 #21779E
monochromatic
#390C14 #6B1626 #9E2138 #D12C4A #DD5C74
Accessibility & contrast
On white
7.70
#9E2138 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.73
#9E2138 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9E2138
7.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9E2138 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9E2138 | 1.00 | 7.70 | 2.73 | 7.70 |
| #FFFFFF | 7.70 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.73 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.70 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#454238
Deuteranopia (green-blind)
#655C34
Tritanopia (blue-blind)
#AE002B
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #9e2138; /* rgb */ color: rgb(158, 33, 56); /* oklch */ color: oklch(46.2% 0.160 16.5);
Tailwind
colors: {
custom: {
50: '#c2696e',
500: '#9e2138',
950: '#000000',
},
}SCSS
$custom: #9e2138; $custom-light: #c2696e; $custom-dark: #000000;
JSON
{
"hex": "#9e2138",
"rgb": {
"r": 158,
"g": 33,
"b": 56
},
"hsl": {
"h": 348.96,
"s": 65.445,
"l": 37.451
},
"oklch": {
"l": 0.46224,
"c": 0.15962,
"h": 16.5
},
"luminance": 0.08642
}Semantic roles & 50–950 ramp
primary
#9E2138
secondary
#59C1AE
accent
#E8C93F
background
#FCF6F6
surface
#F9EBEB
border
#D2C6C6
text
#140707
muted
#827A7A