#98223F#98223F
#98223F is a mid, vivid red. Relative luminance 0.082; OKLCH L 45.4% C 0.153 H 12.0°. Best body text is #FFFFFF at 7.97:1 contrast (WCAG AA passes).
Color values
| HEX | #98223F |
|---|---|
| RGB | rgb(152, 34, 63) |
| HSL | hsl(345, 63%, 36%) |
| HSV | hsv(345, 78%, 60%) |
| CMYK | cmyk(0%, 77.6%, 58.6%, 40.4%) |
| CIE-LAB | lab(34.36, 49.62, 12.79) |
| CIE-LCH | lch(34.36, 51.24, 14.46°) |
| OKLab | oklab(45.37% 0.1499 0.0319) |
| OKLCH | oklch(45.37% 0.153 12) |
| XYZ | xyz(14.4195, 8.1804, 5.5214) |
| Luminance | 0.0818 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Cranberry
#9E003A
ΔE00 2.62
Red Wine
#8C0034
ΔE00 4.41
Rouge
#AB1239
ΔE00 4.44
Raspberry (survey)
#B00149
ΔE00 4.87
Purplish Red
#B0054B
ΔE00 5.08
Purple Red
#990147
ΔE00 5.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#98223F #22987B
analogous
#98227A #98223F #984022
triadic
#98223F #3F9822 #223F98
tetradic
#98223F #7A9822 #22987B #402298
square
#98223F #7A9822 #22987B #402298
split-complementary
#98223F #229840 #227A98
monochromatic
#340C16 #66172A #98223F #CA2D54 #DA5A7A
Accessibility & contrast
On white
7.97
#98223F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.64
#98223F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #98223F
7.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##98223F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##98223F | 1.00 | 7.97 | 2.64 | 7.97 |
| #FFFFFF | 7.97 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.64 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.97 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#42413F
Deuteranopia (green-blind)
#60593C
Tritanopia (blue-blind)
#A7002E
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #98223f; /* rgb */ color: rgb(152, 34, 63); /* oklch */ color: oklch(45.4% 0.153 12.0);
Tailwind
colors: {
custom: {
50: '#bd6873',
500: '#98223f',
950: '#000000',
},
}SCSS
$custom: #98223f; $custom-light: #bd6873; $custom-dark: #000000;
JSON
{
"hex": "#98223f",
"rgb": {
"r": 152,
"g": 34,
"b": 63
},
"hsl": {
"h": 345.254,
"s": 63.441,
"l": 36.471
},
"oklch": {
"l": 0.45365,
"c": 0.15327,
"h": 12
},
"luminance": 0.08178
}Semantic roles & 50–950 ramp
primary
#98223F
secondary
#57BEA5
accent
#E6BE41
background
#FCF6F6
surface
#F8EBEC
border
#D1C6C7
text
#130708
muted
#827A7B