#981E4B#981E4B
#981E4B is a mid, vivid pink. Relative luminance 0.081; OKLCH L 45.4% C 0.159 H 4.6°. Best body text is #FFFFFF at 8.01:1 contrast (WCAG AA passes).
Color values
| HEX | #981E4B |
|---|---|
| RGB | rgb(152, 30, 75) |
| HSL | hsl(338, 67%, 36%) |
| HSV | hsv(338, 80%, 60%) |
| CMYK | cmyk(0%, 80.3%, 50.7%, 40.4%) |
| CIE-LAB | lab(34.22, 51.83, 4.79) |
| CIE-LCH | lch(34.22, 52.05, 5.28°) |
| OKLab | oklab(45.36% 0.1587 0.0127) |
| OKLCH | oklch(45.36% 0.159 4.6) |
| XYZ | xyz(14.6845, 8.1140, 7.4482) |
| Luminance | 0.0811 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Berry
#990F4B
ΔE00 1.61
Purple Red
#990147
ΔE00 2.19
Violet Red
#A50055
ΔE00 3.68
Mulberry
#920A4E
ΔE00 3.79
Purplish Red
#B0054B
ΔE00 4.66
Reddish Purple
#910951
ΔE00 4.73
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#981E4B #1E986B
analogous
#981E88 #981E4B #982E1E
triadic
#981E4B #4B981E #1E4B98
tetradic
#981E4B #88981E #1E986B #2E1E98
square
#981E4B #88981E #1E986B #2E1E98
split-complementary
#981E4B #1E982E #1E8898
monochromatic
#320A19 #651432 #981E4B #CB2864 #DD5386
Accessibility & contrast
On white
8.01
#981E4B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.62
#981E4B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #981E4B
8.01:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##981E4B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##981E4B | 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)
#3D414C
Deuteranopia (green-blind)
#5D5948
Tritanopia (blue-blind)
#A60032
Achromatopsia (no color)
#505050
Design tokens & code
CSS
--color: #981e4b; /* rgb */ color: rgb(152, 30, 75); /* oklch */ color: oklch(45.4% 0.159 4.6);
Tailwind
colors: {
custom: {
50: '#bc677d',
500: '#981e4b',
950: '#000000',
},
}SCSS
$custom: #981e4b; $custom-light: #bc677d; $custom-dark: #000000;
JSON
{
"hex": "#981e4b",
"rgb": {
"r": 152,
"g": 30,
"b": 75
},
"hsl": {
"h": 337.869,
"s": 67.033,
"l": 35.686
},
"oklch": {
"l": 0.45364,
"c": 0.15917,
"h": 4.6
},
"luminance": 0.08112
}Semantic roles & 50–950 ramp
primary
#981E4B
secondary
#51C097
accent
#EAAA3E
background
#FCF6F7
surface
#F8EBEE
border
#D1C6C9
text
#130709
muted
#827A7B