#981F52#981F52
#981F52 is a mid, vivid pink. Relative luminance 0.083; OKLCH L 45.7% C 0.160 H 0.8°. Best body text is #FFFFFF at 7.92:1 contrast (WCAG AA passes).
Color values
| HEX | #981F52 |
|---|---|
| RGB | rgb(152, 31, 82) |
| HSL | hsl(335, 66%, 36%) |
| HSV | hsv(335, 80%, 60%) |
| CMYK | cmyk(0%, 79.6%, 46.1%, 40.4%) |
| CIE-LAB | lab(34.53, 52.17, 0.69) |
| CIE-LCH | lch(34.53, 52.17, 0.76°) |
| OKLab | oklab(45.66% 0.1602 0.0024) |
| OKLCH | oklch(45.66% 0.16 0.8) |
| XYZ | xyz(14.9631, 8.2666, 8.7887) |
| Luminance | 0.0827 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Berry
#990F4B
ΔE00 1.95
Violet Red
#A50055
ΔE00 2.69
Mulberry
#920A4E
ΔE00 2.70
Purple Red
#990147
ΔE00 3.00
Dark Fuchsia
#9D0759
ΔE00 3.07
Reddish Purple
#910951
ΔE00 3.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#981F52 #1F9865
analogous
#981F8E #981F52 #98291F
triadic
#981F52 #52981F #1F5298
tetradic
#981F52 #8E981F #1F9865 #291F98
square
#981F52 #8E981F #1F9865 #291F98
split-complementary
#981F52 #1F9829 #1F8E98
monochromatic
#320A1B #651537 #981F52 #CB296D #DC558E
Accessibility & contrast
On white
7.92
#981F52 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.65
#981F52 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #981F52
7.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##981F52 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##981F52 | 1.00 | 7.92 | 2.65 | 7.92 |
| #FFFFFF | 7.92 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.65 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.92 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3C4253
Deuteranopia (green-blind)
#5C5A4F
Tritanopia (blue-blind)
#A50236
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #981f52; /* rgb */ color: rgb(152, 31, 82); /* oklch */ color: oklch(45.7% 0.160 0.8);
Tailwind
colors: {
custom: {
50: '#bc6882',
500: '#981f52',
950: '#000000',
},
}SCSS
$custom: #981f52; $custom-light: #bc6882; $custom-dark: #000000;
JSON
{
"hex": "#981f52",
"rgb": {
"r": 152,
"g": 31,
"b": 82
},
"hsl": {
"h": 334.711,
"s": 66.12,
"l": 35.882
},
"oklch": {
"l": 0.45662,
"c": 0.16026,
"h": 0.8
},
"luminance": 0.08265
}Semantic roles & 50–950 ramp
primary
#981F52
secondary
#53C092
accent
#E9A13F
background
#FCF6F7
surface
#F8EBEE
border
#D1C6C9
text
#13070A
muted
#827A7C