#9D2140#9D2140
#9D2140 is a mid, vivid red. Relative luminance 0.086; OKLCH L 46.2% C 0.159 H 12.2°. Best body text is #FFFFFF at 7.71:1 contrast (WCAG AA passes).
Color values
| HEX | #9D2140 |
|---|---|
| RGB | rgb(157, 33, 64) |
| HSL | hsl(345, 65%, 37%) |
| HSV | hsv(345, 79%, 62%) |
| CMYK | cmyk(0%, 79%, 59.2%, 38.4%) |
| CIE-LAB | lab(35.26, 51.50, 13.54) |
| CIE-LCH | lch(35.26, 53.24, 14.73°) |
| OKLab | oklab(46.22% 0.1555 0.0336) |
| OKLCH | oklch(46.22% 0.159 12.2) |
| XYZ | xyz(15.3754, 8.6282, 5.7053) |
| Luminance | 0.0863 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Cranberry
#9E003A
ΔE00 2.54
Rouge
#AB1239
ΔE00 3.67
Raspberry (survey)
#B00149
ΔE00 4.18
Purplish Red
#B0054B
ΔE00 4.43
Red Wine
#8C0034
ΔE00 5.07
Purple Red
#990147
ΔE00 5.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9D2140 #219D7E
analogous
#9D217E #9D2140 #9D4021
triadic
#9D2140 #409D21 #21409D
tetradic
#9D2140 #7E9D21 #219D7E #40219D
square
#9D2140 #7E9D21 #219D7E #40219D
split-complementary
#9D2140 #219D40 #217E9D
monochromatic
#380C17 #6A162B #9D2140 #D02C55 #DD5C7C
Accessibility & contrast
On white
7.71
#9D2140 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.73
#9D2140 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9D2140
7.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9D2140 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9D2140 | 1.00 | 7.71 | 2.73 | 7.71 |
| #FFFFFF | 7.71 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.73 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.71 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#434340
Deuteranopia (green-blind)
#635C3D
Tritanopia (blue-blind)
#AC002E
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #9d2140; /* rgb */ color: rgb(157, 33, 64); /* oklch */ color: oklch(46.2% 0.159 12.2);
Tailwind
colors: {
custom: {
50: '#c16974',
500: '#9d2140',
950: '#000000',
},
}SCSS
$custom: #9d2140; $custom-light: #c16974; $custom-dark: #000000;
JSON
{
"hex": "#9d2140",
"rgb": {
"r": 157,
"g": 33,
"b": 64
},
"hsl": {
"h": 345,
"s": 65.263,
"l": 37.255
},
"oklch": {
"l": 0.46218,
"c": 0.15909,
"h": 12.2
},
"luminance": 0.08626
}Semantic roles & 50–950 ramp
primary
#9D2140
secondary
#59C1A7
accent
#E8BE40
background
#FCF6F7
surface
#F9EBED
border
#D2C6C8
text
#140708
muted
#827A7B