#982540#982540
#982540 is a mid, vivid red. Relative luminance 0.084; OKLCH L 45.7% C 0.150 H 12.1°. Best body text is #FFFFFF at 7.85:1 contrast (WCAG AA passes).
Color values
| HEX | #982540 |
|---|---|
| RGB | rgb(152, 37, 64) |
| HSL | hsl(346, 61%, 37%) |
| HSV | hsv(346, 76%, 60%) |
| CMYK | cmyk(0%, 75.7%, 57.9%, 40.4%) |
| CIE-LAB | lab(34.74, 48.67, 12.67) |
| CIE-LCH | lch(34.74, 50.29, 14.59°) |
| OKLab | oklab(45.66% 0.147 0.0317) |
| OKLCH | oklch(45.66% 0.15 12.1) |
| XYZ | xyz(14.5373, 8.3708, 5.6997) |
| Luminance | 0.0837 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Cranberry
#9E003A
ΔE00 3.01
Rouge
#AB1239
ΔE00 4.46
Red Wine
#8C0034
ΔE00 4.79
Raspberry (survey)
#B00149
ΔE00 4.96
Purplish Red
#B0054B
ΔE00 5.15
Purple Red
#990147
ΔE00 5.56
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#982540 #25987D
analogous
#98257A #982540 #984425
triadic
#982540 #409825 #254098
tetradic
#982540 #7A9825 #25987D #442598
square
#982540 #7A9825 #25987D #442598
split-complementary
#982540 #259844 #257A98
monochromatic
#360D17 #67192B #982540 #C93155 #D85F7C
Accessibility & contrast
On white
7.85
#982540 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.67
#982540 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #982540
7.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##982540 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##982540 | 1.00 | 7.85 | 2.67 | 7.85 |
| #FFFFFF | 7.85 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.67 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.85 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#434340
Deuteranopia (green-blind)
#615A3D
Tritanopia (blue-blind)
#A60130
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #982540; /* rgb */ color: rgb(152, 37, 64); /* oklch */ color: oklch(45.7% 0.150 12.1);
Tailwind
colors: {
custom: {
50: '#bc6a74',
500: '#982540',
950: '#000000',
},
}SCSS
$custom: #982540; $custom-light: #bc6a74; $custom-dark: #000000;
JSON
{
"hex": "#982540",
"rgb": {
"r": 152,
"g": 37,
"b": 64
},
"hsl": {
"h": 345.913,
"s": 60.847,
"l": 37.059
},
"oklch": {
"l": 0.45659,
"c": 0.15041,
"h": 12.1
},
"luminance": 0.08369
}Semantic roles & 50–950 ramp
primary
#982540
secondary
#5CBDA6
accent
#E4BE44
background
#FCF6F7
surface
#F8ECED
border
#D1C7C8
text
#130708
muted
#827A7B