#98223A#98223A
#98223A is a mid, vivid red. Relative luminance 0.081; OKLCH L 45.2% C 0.153 H 14.7°. Best body text is #FFFFFF at 8.00:1 contrast (WCAG AA passes).
Color values
| HEX | #98223A |
|---|---|
| RGB | rgb(152, 34, 58) |
| HSL | hsl(348, 63%, 36%) |
| HSV | hsv(348, 78%, 60%) |
| CMYK | cmyk(0%, 77.6%, 61.8%, 40.4%) |
| CIE-LAB | lab(34.25, 49.27, 15.89) |
| CIE-LCH | lch(34.25, 51.77, 17.87°) |
| OKLab | oklab(45.25% 0.1479 0.0389) |
| OKLCH | oklch(45.25% 0.153 14.7) |
| XYZ | xyz(14.2861, 8.1271, 4.8186) |
| Luminance | 0.0813 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Cranberry
#9E003A
ΔE00 3.12
Rouge
#AB1239
ΔE00 3.62
Red Wine
#8C0034
ΔE00 4.88
Raspberry (survey)
#B00149
ΔE00 5.88
Purplish Red
#B0054B
ΔE00 6.18
Purple Red
#990147
ΔE00 6.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#98223A #229880
analogous
#982275 #98223A #984522
triadic
#98223A #3A9822 #223A98
tetradic
#98223A #759822 #229880 #452298
square
#98223A #759822 #229880 #452298
split-complementary
#98223A #229845 #227598
monochromatic
#340C14 #661727 #98223A #CA2D4D #DA5A74
Accessibility & contrast
On white
8.00
#98223A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.63
#98223A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #98223A
8.00:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##98223A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##98223A | 1.00 | 8.00 | 2.63 | 8.00 |
| #FFFFFF | 8.00 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.63 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.00 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#43413A
Deuteranopia (green-blind)
#615937
Tritanopia (blue-blind)
#A7002C
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #98223a; /* rgb */ color: rgb(152, 34, 58); /* oklch */ color: oklch(45.2% 0.153 14.7);
Tailwind
colors: {
custom: {
50: '#bd686f',
500: '#98223a',
950: '#000000',
},
}SCSS
$custom: #98223a; $custom-light: #bd686f; $custom-dark: #000000;
JSON
{
"hex": "#98223a",
"rgb": {
"r": 152,
"g": 34,
"b": 58
},
"hsl": {
"h": 347.797,
"s": 63.441,
"l": 36.471
},
"oklch": {
"l": 0.45248,
"c": 0.1529,
"h": 14.7
},
"luminance": 0.08125
}Semantic roles & 50–950 ramp
primary
#98223A
secondary
#57BEA9
accent
#E6C541
background
#FCF6F6
surface
#F8EBEC
border
#D1C6C7
text
#130707
muted
#827A7A