#982238#982238
#982238 is a mid, vivid red. Relative luminance 0.081; OKLCH L 45.2% C 0.153 H 15.8°. Best body text is #FFFFFF at 8.01:1 contrast (WCAG AA passes).
Color values
| HEX | #982238 |
|---|---|
| RGB | rgb(152, 34, 56) |
| HSL | hsl(349, 63%, 36%) |
| HSV | hsv(349, 78%, 60%) |
| CMYK | cmyk(0%, 77.6%, 63.2%, 40.4%) |
| CIE-LAB | lab(34.20, 49.13, 17.13) |
| CIE-LCH | lch(34.20, 52.03, 19.22°) |
| OKLab | oklab(45.21% 0.1471 0.0416) |
| OKLCH | oklch(45.21% 0.153 15.8) |
| XYZ | xyz(14.2362, 8.1071, 4.5558) |
| Luminance | 0.0810 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Rouge
#AB1239
ΔE00 3.50
Cranberry
#9E003A
ΔE00 3.55
Red Wine
#8C0034
ΔE00 5.22
Raspberry (survey)
#B00149
ΔE00 6.38
Purplish Red
#B0054B
ΔE00 6.70
Burgundy
#800020
ΔE00 6.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#982238 #229882
analogous
#982273 #982238 #984722
triadic
#982238 #389822 #223898
tetradic
#982238 #739822 #229882 #472298
square
#982238 #739822 #229882 #472298
split-complementary
#982238 #229847 #227398
monochromatic
#340C13 #661726 #982238 #CA2D4A #DA5A72
Accessibility & contrast
On white
8.01
#982238 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.62
#982238 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #982238
8.01:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##982238 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##982238 | 1.00 | 8.01 | 2.62 | 8.01 |
| #FFFFFF | 8.01 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.62 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.01 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#434138
Deuteranopia (green-blind)
#615935
Tritanopia (blue-blind)
#A7002B
Achromatopsia (no color)
#505050
Design tokens & code
CSS
--color: #982238; /* rgb */ color: rgb(152, 34, 56); /* oklch */ color: oklch(45.2% 0.153 15.8);
Tailwind
colors: {
custom: {
50: '#bd686e',
500: '#982238',
950: '#000000',
},
}SCSS
$custom: #982238; $custom-light: #bd686e; $custom-dark: #000000;
JSON
{
"hex": "#982238",
"rgb": {
"r": 152,
"g": 34,
"b": 56
},
"hsl": {
"h": 348.814,
"s": 63.441,
"l": 36.471
},
"oklch": {
"l": 0.45205,
"c": 0.15283,
"h": 15.8
},
"luminance": 0.08105
}Semantic roles & 50–950 ramp
primary
#982238
secondary
#57BEAB
accent
#E6C841
background
#FCF6F6
surface
#F8EBEB
border
#D1C6C6
text
#130707
muted
#827A7A