#9D213F#9D213F
#9D213F is a mid, vivid red. Relative luminance 0.086; OKLCH L 46.2% C 0.159 H 12.7°. Best body text is #FFFFFF at 7.71:1 contrast (WCAG AA passes).
Color values
| HEX | #9D213F |
|---|---|
| RGB | rgb(157, 33, 63) |
| HSL | hsl(345, 65%, 37%) |
| HSV | hsv(345, 79%, 62%) |
| CMYK | cmyk(0%, 79%, 59.9%, 38.4%) |
| CIE-LAB | lab(35.24, 51.42, 14.15) |
| CIE-LCH | lch(35.24, 53.34, 15.39°) |
| OKLab | oklab(46.2% 0.1551 0.035) |
| OKLCH | oklch(46.2% 0.159 12.7) |
| XYZ | xyz(15.3472, 8.6170, 5.5568) |
| Luminance | 0.0862 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Cranberry
#9E003A
ΔE00 2.58
Rouge
#AB1239
ΔE00 3.44
Raspberry (survey)
#B00149
ΔE00 4.38
Purplish Red
#B0054B
ΔE00 4.65
Red Wine
#8C0034
ΔE00 5.12
Purple Red
#990147
ΔE00 5.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9D213F #219D7F
analogous
#9D217D #9D213F #9D4121
triadic
#9D213F #3F9D21 #213F9D
tetradic
#9D213F #7D9D21 #219D7F #41219D
square
#9D213F #7D9D21 #219D7F #41219D
split-complementary
#9D213F #219D41 #217D9D
monochromatic
#380C16 #6A162B #9D213F #D02C53 #DD5C7B
Accessibility & contrast
On white
7.71
#9D213F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.72
#9D213F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9D213F
7.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9D213F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9D213F | 1.00 | 7.71 | 2.72 | 7.71 |
| #FFFFFF | 7.71 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.72 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.71 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#44433F
Deuteranopia (green-blind)
#635C3C
Tritanopia (blue-blind)
#AC002E
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #9d213f; /* rgb */ color: rgb(157, 33, 63); /* oklch */ color: oklch(46.2% 0.159 12.7);
Tailwind
colors: {
custom: {
50: '#c16973',
500: '#9d213f',
950: '#000000',
},
}SCSS
$custom: #9d213f; $custom-light: #c16973; $custom-dark: #000000;
JSON
{
"hex": "#9d213f",
"rgb": {
"r": 157,
"g": 33,
"b": 63
},
"hsl": {
"h": 345.484,
"s": 65.263,
"l": 37.255
},
"oklch": {
"l": 0.46195,
"c": 0.159,
"h": 12.7
},
"luminance": 0.08615
}Semantic roles & 50–950 ramp
primary
#9D213F
secondary
#59C1A8
accent
#E8BF40
background
#FCF6F6
surface
#F9EBEC
border
#D2C6C7
text
#140708
muted
#827A7B