#9E2140#9E2140
#9E2140 is a mid, vivid red. Relative luminance 0.087; OKLCH L 46.4% C 0.160 H 12.4°. Best body text is #FFFFFF at 7.65:1 contrast (WCAG AA passes).
Color values
| HEX | #9E2140 |
|---|---|
| RGB | rgb(158, 33, 64) |
| HSL | hsl(345, 65%, 37%) |
| HSV | hsv(345, 79%, 62%) |
| CMYK | cmyk(0%, 79.1%, 59.5%, 38%) |
| CIE-LAB | lab(35.46, 51.79, 13.84) |
| CIE-LCH | lch(35.46, 53.61, 14.96°) |
| OKLab | oklab(46.4% 0.1563 0.0343) |
| OKLCH | oklch(46.4% 0.16 12.4) |
| XYZ | xyz(15.5714, 8.7293, 5.7145) |
| Luminance | 0.0873 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Cranberry
#9E003A
ΔE00 2.61
Rouge
#AB1239
ΔE00 3.47
Raspberry (survey)
#B00149
ΔE00 4.12
Purplish Red
#B0054B
ΔE00 4.38
Red Wine
#8C0034
ΔE00 5.25
Purple Red
#990147
ΔE00 5.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9E2140 #219E7F
analogous
#9E217F #9E2140 #9E4121
triadic
#9E2140 #409E21 #21409E
tetradic
#9E2140 #7F9E21 #219E7F #41219E
square
#9E2140 #7F9E21 #219E7F #41219E
split-complementary
#9E2140 #219E41 #217F9E
monochromatic
#390C17 #6B162B #9E2140 #D12C55 #DD5C7C
Accessibility & contrast
On white
7.65
#9E2140 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.75
#9E2140 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9E2140
7.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9E2140 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9E2140 | 1.00 | 7.65 | 2.75 | 7.65 |
| #FFFFFF | 7.65 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.75 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.65 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#444340
Deuteranopia (green-blind)
#645D3D
Tritanopia (blue-blind)
#AD002E
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #9e2140; /* rgb */ color: rgb(158, 33, 64); /* oklch */ color: oklch(46.4% 0.160 12.4);
Tailwind
colors: {
custom: {
50: '#c16974',
500: '#9e2140',
950: '#000000',
},
}SCSS
$custom: #9e2140; $custom-light: #c16974; $custom-dark: #000000;
JSON
{
"hex": "#9e2140",
"rgb": {
"r": 158,
"g": 33,
"b": 64
},
"hsl": {
"h": 345.12,
"s": 65.445,
"l": 37.451
},
"oklch": {
"l": 0.46401,
"c": 0.16004,
"h": 12.4
},
"luminance": 0.08727
}Semantic roles & 50–950 ramp
primary
#9E2140
secondary
#59C1A8
accent
#E8BE3F
background
#FCF6F7
surface
#F9ECED
border
#D2C7C8
text
#140708
muted
#827A7B