#982566#982566
#982566 is a mid, vivid pink. Relative luminance 0.090; OKLCH L 46.9% C 0.162 H 350.7°. Best body text is #FFFFFF at 7.52:1 contrast (WCAG AA passes).
Color values
| HEX | #982566 |
|---|---|
| RGB | rgb(152, 37, 102) |
| HSL | hsl(326, 61%, 37%) |
| HSV | hsv(326, 76%, 60%) |
| CMYK | cmyk(0%, 75.7%, 32.9%, 40.4%) |
| CIE-LAB | lab(35.91, 52.40, -10.12) |
| CIE-LCH | lch(35.91, 53.37, 349.07°) |
| OKLab | oklab(46.9% 0.1603 -0.0263) |
| OKLCH | oklch(46.9% 0.162 350.7) |
| XYZ | xyz(16.0096, 8.9597, 13.4541) |
| Luminance | 0.0896 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 2.92
Deep Magenta
#A0025C
ΔE00 3.49
Dark Fuchsia
#9D0759
ΔE00 3.72
Dark Magenta
#960056
ΔE00 4.17
Reddish Purple
#910951
ΔE00 4.92
Violet Red
#A50055
ΔE00 5.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#982566 #259857
analogous
#912598 #982566 #98252C
triadic
#982566 #669825 #256698
tetradic
#982566 #989125 #259857 #252C98
square
#982566 #989125 #259857 #252C98
split-complementary
#982566 #2C9825 #259891
monochromatic
#360D24 #671945 #982566 #C93187 #D85FA4
Accessibility & contrast
On white
7.52
#982566 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.79
#982566 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #982566
7.52:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##982566 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##982566 | 1.00 | 7.52 | 2.79 | 7.52 |
| #FFFFFF | 7.52 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.79 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.52 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#384768
Deuteranopia (green-blind)
#595C63
Tritanopia (blue-blind)
#A41D42
Achromatopsia (no color)
#545454
Design tokens & code
CSS
--color: #982566; /* rgb */ color: rgb(152, 37, 102); /* oklch */ color: oklch(46.9% 0.162 350.7);
Tailwind
colors: {
custom: {
50: '#bb6b91',
500: '#982566',
950: '#000000',
},
}SCSS
$custom: #982566; $custom-light: #bb6b91; $custom-dark: #000000;
JSON
{
"hex": "#982566",
"rgb": {
"r": 152,
"g": 37,
"b": 102
},
"hsl": {
"h": 326.087,
"s": 60.847,
"l": 37.059
},
"oklch": {
"l": 0.46895,
"c": 0.16243,
"h": 350.7
},
"luminance": 0.08958
}Semantic roles & 50–950 ramp
primary
#982566
secondary
#5CBD86
accent
#E48944
background
#FCF6F8
surface
#F8ECF0
border
#D1C7CB
text
#12070C
muted
#817A7D