#98213B#98213B
#98213B is a mid, vivid red. Relative luminance 0.081; OKLCH L 45.2% C 0.154 H 14.0°. Best body text is #FFFFFF at 8.03:1 contrast (WCAG AA passes).
Color values
| HEX | #98213B |
|---|---|
| RGB | rgb(152, 33, 59) |
| HSL | hsl(347, 64%, 36%) |
| HSV | hsv(347, 78%, 60%) |
| CMYK | cmyk(0%, 78.3%, 61.2%, 40.4%) |
| CIE-LAB | lab(34.15, 49.66, 15.11) |
| CIE-LCH | lch(34.15, 51.91, 16.93°) |
| OKLab | oklab(45.18% 0.1493 0.0371) |
| OKLCH | oklch(45.18% 0.154 14) |
| XYZ | xyz(14.2836, 8.0810, 4.9445) |
| Luminance | 0.0808 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Cranberry
#9E003A
ΔE00 2.77
Rouge
#AB1239
ΔE00 3.77
Red Wine
#8C0034
ΔE00 4.58
Raspberry (survey)
#B00149
ΔE00 5.55
Purplish Red
#B0054B
ΔE00 5.84
Purple Red
#990147
ΔE00 6.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#98213B #21987E
analogous
#982177 #98213B #984321
triadic
#98213B #3B9821 #213B98
tetradic
#98213B #779821 #21987E #432198
square
#98213B #779821 #21987E #432198
split-complementary
#98213B #219843 #217798
monochromatic
#330B14 #661627 #98213B #CA2C4F #DB5975
Accessibility & contrast
On white
8.03
#98213B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.62
#98213B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #98213B
8.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##98213B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##98213B | 1.00 | 8.03 | 2.62 | 8.03 |
| #FFFFFF | 8.03 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.62 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.03 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#42413B
Deuteranopia (green-blind)
#615938
Tritanopia (blue-blind)
#A7002C
Achromatopsia (no color)
#505050
Design tokens & code
CSS
--color: #98213b; /* rgb */ color: rgb(152, 33, 59); /* oklch */ color: oklch(45.2% 0.154 14.0);
Tailwind
colors: {
custom: {
50: '#bd6870',
500: '#98213b',
950: '#000000',
},
}SCSS
$custom: #98213b; $custom-light: #bd6870; $custom-dark: #000000;
JSON
{
"hex": "#98213b",
"rgb": {
"r": 152,
"g": 33,
"b": 59
},
"hsl": {
"h": 346.891,
"s": 64.324,
"l": 36.275
},
"oklch": {
"l": 0.45185,
"c": 0.15389,
"h": 14
},
"luminance": 0.08079
}Semantic roles & 50–950 ramp
primary
#98213B
secondary
#56BFA8
accent
#E7C340
background
#FCF6F6
surface
#F8EBEC
border
#D1C6C7
text
#130707
muted
#827A7A