#9E2540#9E2540
#9E2540 is a mid, vivid red. Relative luminance 0.090; OKLCH L 46.7% C 0.156 H 13.2°. Best body text is #FFFFFF at 7.52:1 contrast (WCAG AA passes).
Color values
| HEX | #9E2540 |
|---|---|
| RGB | rgb(158, 37, 64) |
| HSL | hsl(347, 62%, 38%) |
| HSV | hsv(347, 77%, 62%) |
| CMYK | cmyk(0%, 76.6%, 59.5%, 38%) |
| CIE-LAB | lab(35.92, 50.50, 14.46) |
| CIE-LCH | lch(35.92, 52.53, 15.98°) |
| OKLab | oklab(46.74% 0.1522 0.0358) |
| OKLCH | oklch(46.74% 0.156 13.2) |
| XYZ | xyz(15.6891, 8.9647, 5.7537) |
| Luminance | 0.0896 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Cranberry
#9E003A
ΔE00 3.21
Rouge
#AB1239
ΔE00 3.27
Raspberry (survey)
#B00149
ΔE00 4.55
Purplish Red
#B0054B
ΔE00 4.81
Red Wine
#8C0034
ΔE00 5.75
Rose Red
#BE013C
ΔE00 6.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9E2540 #259E83
analogous
#9E257C #9E2540 #9E4725
triadic
#9E2540 #409E25 #25409E
tetradic
#9E2540 #7C9E25 #259E83 #47259E
square
#9E2540 #7C9E25 #259E83 #47259E
split-complementary
#9E2540 #259E47 #257C9E
monochromatic
#3B0E18 #6C192C #9E2540 #CF3154 #DA637E
Accessibility & contrast
On white
7.52
#9E2540 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.79
#9E2540 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9E2540
7.52:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9E2540 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9E2540 | 1.00 | 7.52 | 2.79 | 7.52 |
| #FFFFFF | 7.52 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.79 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.52 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#464540
Deuteranopia (green-blind)
#655D3D
Tritanopia (blue-blind)
#AD0030
Achromatopsia (no color)
#545454
Design tokens & code
CSS
--color: #9e2540; /* rgb */ color: rgb(158, 37, 64); /* oklch */ color: oklch(46.7% 0.156 13.2);
Tailwind
colors: {
custom: {
50: '#c16b74',
500: '#9e2540',
950: '#000000',
},
}SCSS
$custom: #9e2540; $custom-light: #c16b74; $custom-dark: #000000;
JSON
{
"hex": "#9e2540",
"rgb": {
"r": 158,
"g": 37,
"b": 64
},
"hsl": {
"h": 346.612,
"s": 62.051,
"l": 38.235
},
"oklch": {
"l": 0.4674,
"c": 0.15632,
"h": 13.2
},
"luminance": 0.08962
}Semantic roles & 50–950 ramp
primary
#9E2540
secondary
#5FC0AA
accent
#E5C143
background
#FCF6F7
surface
#F9ECED
border
#D2C7C8
text
#140708
muted
#827A7B