#982740#982740
#982740 is a mid, vivid red. Relative luminance 0.085; OKLCH L 45.9% C 0.148 H 12.7°. Best body text is #FFFFFF at 7.78:1 contrast (WCAG AA passes).
Color values
| HEX | #982740 |
|---|---|
| RGB | rgb(152, 39, 64) |
| HSL | hsl(347, 59%, 37%) |
| HSV | hsv(347, 74%, 60%) |
| CMYK | cmyk(0%, 74.3%, 57.9%, 40.4%) |
| CIE-LAB | lab(35.00, 47.95, 13.02) |
| CIE-LCH | lch(35.00, 49.69, 15.19°) |
| OKLab | oklab(45.85% 0.1447 0.0325) |
| OKLCH | oklch(45.85% 0.148 12.7) |
| XYZ | xyz(14.6012, 8.4987, 5.7210) |
| Luminance | 0.0850 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Cranberry
#9E003A
ΔE00 3.31
Rouge
#AB1239
ΔE00 4.37
Red Wine
#8C0034
ΔE00 5.09
Raspberry (survey)
#B00149
ΔE00 5.16
Purplish Red
#B0054B
ΔE00 5.36
Purple Red
#990147
ΔE00 5.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#982740 #27987F
analogous
#982778 #982740 #984727
triadic
#982740 #409827 #274098
tetradic
#982740 #789827 #27987F #472798
square
#982740 #789827 #27987F #472798
split-complementary
#982740 #279847 #277898
monochromatic
#370E17 #671B2B #982740 #C93355 #D7637C
Accessibility & contrast
On white
7.78
#982740 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.70
#982740 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #982740
7.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##982740 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##982740 | 1.00 | 7.78 | 2.70 | 7.78 |
| #FFFFFF | 7.78 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.70 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.78 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#454440
Deuteranopia (green-blind)
#625B3D
Tritanopia (blue-blind)
#A60631
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #982740; /* rgb */ color: rgb(152, 39, 64); /* oklch */ color: oklch(45.9% 0.148 12.7);
Tailwind
colors: {
custom: {
50: '#bc6b74',
500: '#982740',
950: '#000000',
},
}SCSS
$custom: #982740; $custom-light: #bc6b74; $custom-dark: #000000;
JSON
{
"hex": "#982740",
"rgb": {
"r": 152,
"g": 39,
"b": 64
},
"hsl": {
"h": 346.726,
"s": 59.162,
"l": 37.451
},
"oklch": {
"l": 0.4585,
"c": 0.14833,
"h": 12.7
},
"luminance": 0.08497
}Semantic roles & 50–950 ramp
primary
#982740
secondary
#5EBCA8
accent
#E2C045
background
#FCF6F7
surface
#F8ECED
border
#D1C7C8
text
#130708
muted
#827A7B