#982438#982438
#982438 is a mid, vivid red. Relative luminance 0.082; OKLCH L 45.4% C 0.151 H 16.3°. Best body text is #FFFFFF at 7.94:1 contrast (WCAG AA passes).
Color values
| HEX | #982438 |
|---|---|
| RGB | rgb(152, 36, 56) |
| HSL | hsl(350, 62%, 37%) |
| HSV | hsv(350, 76%, 60%) |
| CMYK | cmyk(0%, 76.3%, 63.2%, 40.4%) |
| CIE-LAB | lab(34.45, 48.46, 17.44) |
| CIE-LCH | lch(34.45, 51.50, 19.80°) |
| OKLab | oklab(45.38% 0.1449 0.0423) |
| OKLCH | oklch(45.38% 0.151 16.3) |
| XYZ | xyz(14.2951, 8.2248, 4.5754) |
| Luminance | 0.0822 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Rouge
#AB1239
ΔE00 3.52
Cranberry
#9E003A
ΔE00 3.93
Red Wine
#8C0034
ΔE00 5.58
Raspberry (survey)
#B00149
ΔE00 6.61
Rose Red
#BE013C
ΔE00 6.83
Purplish Red
#B0054B
ΔE00 6.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#982438 #249884
analogous
#982472 #982438 #984A24
triadic
#982438 #389824 #243898
tetradic
#982438 #729824 #249884 #4A2498
square
#982438 #729824 #249884 #4A2498
split-complementary
#982438 #24984A #247298
monochromatic
#350D14 #671826 #982438 #C9304A #D95E73
Accessibility & contrast
On white
7.94
#982438 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.64
#982438 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #982438
7.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##982438 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##982438 | 1.00 | 7.94 | 2.64 | 7.94 |
| #FFFFFF | 7.94 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.64 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.94 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#444238
Deuteranopia (green-blind)
#625A35
Tritanopia (blue-blind)
#A7002C
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #982438; /* rgb */ color: rgb(152, 36, 56); /* oklch */ color: oklch(45.4% 0.151 16.3);
Tailwind
colors: {
custom: {
50: '#bd696e',
500: '#982438',
950: '#000000',
},
}SCSS
$custom: #982438; $custom-light: #bd696e; $custom-dark: #000000;
JSON
{
"hex": "#982438",
"rgb": {
"r": 152,
"g": 36,
"b": 56
},
"hsl": {
"h": 349.655,
"s": 61.702,
"l": 36.863
},
"oklch": {
"l": 0.45384,
"c": 0.15094,
"h": 16.3
},
"luminance": 0.08223
}Semantic roles & 50–950 ramp
primary
#982438
secondary
#5ABEAC
accent
#E5C943
background
#FCF6F6
surface
#F8EBEB
border
#D1C6C6
text
#130707
muted
#827A7A