#982138#982138
#982138 is a mid, vivid red. Relative luminance 0.080; OKLCH L 45.1% C 0.154 H 15.6°. Best body text is #FFFFFF at 8.05:1 contrast (WCAG AA passes).
Color values
| HEX | #982138 |
|---|---|
| RGB | rgb(152, 33, 56) |
| HSL | hsl(348, 64%, 36%) |
| HSV | hsv(348, 78%, 60%) |
| CMYK | cmyk(0%, 78.3%, 63.2%, 40.4%) |
| CIE-LAB | lab(34.09, 49.46, 16.97) |
| CIE-LCH | lch(34.09, 52.29, 18.94°) |
| OKLab | oklab(45.12% 0.1481 0.0412) |
| OKLCH | oklch(45.12% 0.154 15.6) |
| XYZ | xyz(14.2080, 8.0508, 4.5464) |
| Luminance | 0.0805 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Cranberry
#9E003A
ΔE00 3.37
Rouge
#AB1239
ΔE00 3.50
Red Wine
#8C0034
ΔE00 5.06
Raspberry (survey)
#B00149
ΔE00 6.27
Purplish Red
#B0054B
ΔE00 6.60
Burgundy
#800020
ΔE00 6.83
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#982138 #219881
analogous
#982174 #982138 #984621
triadic
#982138 #389821 #213898
tetradic
#982138 #749821 #219881 #462198
square
#982138 #749821 #219881 #462198
split-complementary
#982138 #219846 #217498
monochromatic
#330B13 #661625 #982138 #CA2C4B #DB5972
Accessibility & contrast
On white
8.05
#982138 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.61
#982138 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #982138
8.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##982138 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##982138 | 1.00 | 8.05 | 2.61 | 8.05 |
| #FFFFFF | 8.05 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.61 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.05 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#434038
Deuteranopia (green-blind)
#615935
Tritanopia (blue-blind)
#A7002B
Achromatopsia (no color)
#505050
Design tokens & code
CSS
--color: #982138; /* rgb */ color: rgb(152, 33, 56); /* oklch */ color: oklch(45.1% 0.154 15.6);
Tailwind
colors: {
custom: {
50: '#bd686e',
500: '#982138',
950: '#000000',
},
}SCSS
$custom: #982138; $custom-light: #bd686e; $custom-dark: #000000;
JSON
{
"hex": "#982138",
"rgb": {
"r": 152,
"g": 33,
"b": 56
},
"hsl": {
"h": 348.403,
"s": 64.324,
"l": 36.275
},
"oklch": {
"l": 0.45118,
"c": 0.15374,
"h": 15.6
},
"luminance": 0.08049
}Semantic roles & 50–950 ramp
primary
#982138
secondary
#56BFAB
accent
#E7C740
background
#FCF6F6
surface
#F8EBEB
border
#D1C6C6
text
#130707
muted
#827A7A