#981F5F#981F5F
#981F5F is a mid, vivid pink. Relative luminance 0.085; OKLCH L 46.1% C 0.165 H 353.8°. Best body text is #FFFFFF at 7.79:1 contrast (WCAG AA passes).
Color values
| HEX | #981F5F |
|---|---|
| RGB | rgb(152, 31, 95) |
| HSL | hsl(328, 66%, 36%) |
| HSV | hsv(328, 80%, 60%) |
| CMYK | cmyk(0%, 79.6%, 37.5%, 40.4%) |
| CIE-LAB | lab(34.97, 53.50, -7.06) |
| CIE-LCH | lch(34.97, 53.97, 352.49°) |
| OKLab | oklab(46.13% 0.1644 -0.018) |
| OKLCH | oklch(46.13% 0.165 353.8) |
| XYZ | xyz(15.5055, 8.4835, 11.6452) |
| Luminance | 0.0848 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Dark Fuchsia
#9D0759
ΔE00 2.19
Deep Magenta
#A0025C
ΔE00 2.21
Dark Magenta
#960056
ΔE00 2.76
Red Violet
#9E0168
ΔE00 3.27
Reddish Purple
#910951
ΔE00 3.40
Mulberry
#920A4E
ΔE00 3.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#981F5F #1F9858
analogous
#941F98 #981F5F #981F23
triadic
#981F5F #5F981F #1F5F98
tetradic
#981F5F #98941F #1F9858 #1F2398
square
#981F5F #98941F #1F9858 #1F2398
split-complementary
#981F5F #23981F #1F9894
monochromatic
#320A1F #65153F #981F5F #CB297F #DC559D
Accessibility & contrast
On white
7.79
#981F5F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.70
#981F5F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #981F5F
7.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##981F5F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##981F5F | 1.00 | 7.79 | 2.70 | 7.79 |
| #FFFFFF | 7.79 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.70 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.79 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#374461
Deuteranopia (green-blind)
#595A5C
Tritanopia (blue-blind)
#A4103C
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #981f5f; /* rgb */ color: rgb(152, 31, 95); /* oklch */ color: oklch(46.1% 0.165 353.8);
Tailwind
colors: {
custom: {
50: '#bb688c',
500: '#981f5f',
950: '#000000',
},
}SCSS
$custom: #981f5f; $custom-light: #bb688c; $custom-dark: #000000;
JSON
{
"hex": "#981f5f",
"rgb": {
"r": 152,
"g": 31,
"b": 95
},
"hsl": {
"h": 328.264,
"s": 66.12,
"l": 35.882
},
"oklch": {
"l": 0.46126,
"c": 0.16537,
"h": 353.8
},
"luminance": 0.08482
}Semantic roles & 50–950 ramp
primary
#981F5F
secondary
#53C086
accent
#E98F3F
background
#FCF6F8
surface
#F8EBF0
border
#D1C6CB
text
#13070C
muted
#827A7D