#982D5F#982D5F
#982D5F is a mid, vivid pink. Relative luminance 0.094; OKLCH L 47.4% C 0.149 H 355.7°. Best body text is #FFFFFF at 7.30:1 contrast (WCAG AA passes).
Color values
| HEX | #982D5F |
|---|---|
| RGB | rgb(152, 45, 95) |
| HSL | hsl(332, 54%, 39%) |
| HSV | hsv(332, 70%, 60%) |
| CMYK | cmyk(0%, 70.4%, 37.5%, 40.4%) |
| CIE-LAB | lab(36.71, 48.63, -4.47) |
| CIE-LCH | lch(36.71, 48.83, 354.75°) |
| OKLab | oklab(47.4% 0.1489 -0.0111) |
| OKLCH | oklch(47.4% 0.149 355.7) |
| XYZ | xyz(15.9538, 9.3803, 11.7947) |
| Luminance | 0.0938 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Dark Fuchsia
#9D0759
ΔE00 3.74
Deep Magenta
#A0025C
ΔE00 3.89
Violet Red
#A50055
ΔE00 4.51
Dark Magenta
#960056
ΔE00 4.64
Reddish Purple
#910951
ΔE00 4.79
Mulberry
#920A4E
ΔE00 4.91
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#982D5F #2D9866
analogous
#982D94 #982D5F #98302D
triadic
#982D5F #5F982D #2D5F98
tetradic
#982D5F #94982D #2D9866 #302D98
square
#982D5F #94982D #2D9866 #302D98
split-complementary
#982D5F #2D9830 #2D9498
monochromatic
#3A1124 #691F41 #982D5F #C53D7D #D36C9C
Accessibility & contrast
On white
7.30
#982D5F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.88
#982D5F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #982D5F
7.30:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##982D5F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##982D5F | 1.00 | 7.30 | 2.88 | 7.30 |
| #FFFFFF | 7.30 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.88 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.30 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#404A60
Deuteranopia (green-blind)
#5E5E5D
Tritanopia (blue-blind)
#A42342
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #982d5f; /* rgb */ color: rgb(152, 45, 95); /* oklch */ color: oklch(47.4% 0.149 355.7);
Tailwind
colors: {
custom: {
50: '#ba6e8c',
500: '#982d5f',
950: '#000000',
},
}SCSS
$custom: #982d5f; $custom-light: #ba6e8c; $custom-dark: #000000;
JSON
{
"hex": "#982d5f",
"rgb": {
"r": 152,
"g": 45,
"b": 95
},
"hsl": {
"h": 331.963,
"s": 54.315,
"l": 38.627
},
"oklch": {
"l": 0.47399,
"c": 0.14936,
"h": 355.7
},
"luminance": 0.09378
}Semantic roles & 50–950 ramp
primary
#982D5F
secondary
#66BA93
accent
#DE994A
background
#FCF6F8
surface
#F8ECF0
border
#D1C7CB
text
#12080C
muted
#817B7D