#982A5F#982A5F
#982A5F is a mid, vivid pink. Relative luminance 0.092; OKLCH L 47.1% C 0.153 H 355.2°. Best body text is #FFFFFF at 7.42:1 contrast (WCAG AA passes).
Color values
| HEX | #982A5F |
|---|---|
| RGB | rgb(152, 42, 95) |
| HSL | hsl(331, 57%, 38%) |
| HSV | hsv(331, 72%, 60%) |
| CMYK | cmyk(0%, 72.4%, 37.5%, 40.4%) |
| CIE-LAB | lab(36.29, 49.79, -5.09) |
| CIE-LCH | lch(36.29, 50.05, 354.17°) |
| OKLab | oklab(47.09% 0.1526 -0.0128) |
| OKLCH | oklch(47.09% 0.153 355.2) |
| XYZ | xyz(15.8434, 9.1594, 11.7579) |
| Luminance | 0.0916 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Dark Fuchsia
#9D0759
ΔE00 3.28
Deep Magenta
#A0025C
ΔE00 3.41
Dark Magenta
#960056
ΔE00 4.14
Violet Red
#A50055
ΔE00 4.31
Reddish Purple
#910951
ΔE00 4.38
Mulberry
#920A4E
ΔE00 4.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#982A5F #2A9863
analogous
#982A96 #982A5F #982C2A
triadic
#982A5F #5F982A #2A5F98
tetradic
#982A5F #96982A #2A9863 #2C2A98
square
#982A5F #96982A #2A9863 #2C2A98
split-complementary
#982A5F #2A982C #2A9698
monochromatic
#381023 #681D41 #982A5F #C8377D #D5679C
Accessibility & contrast
On white
7.42
#982A5F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.83
#982A5F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #982A5F
7.42:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##982A5F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##982A5F | 1.00 | 7.42 | 2.83 | 7.42 |
| #FFFFFF | 7.42 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.83 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.42 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3E4860
Deuteranopia (green-blind)
#5D5D5C
Tritanopia (blue-blind)
#A41F41
Achromatopsia (no color)
#555555
Design tokens & code
CSS
--color: #982a5f; /* rgb */ color: rgb(152, 42, 95); /* oklch */ color: oklch(47.1% 0.153 355.2);
Tailwind
colors: {
custom: {
50: '#bb6d8c',
500: '#982a5f',
950: '#000000',
},
}SCSS
$custom: #982a5f; $custom-light: #bb6d8c; $custom-dark: #000000;
JSON
{
"hex": "#982a5f",
"rgb": {
"r": 152,
"g": 42,
"b": 95
},
"hsl": {
"h": 331.091,
"s": 56.701,
"l": 38.039
},
"oklch": {
"l": 0.47092,
"c": 0.15314,
"h": 355.2
},
"luminance": 0.09158
}Semantic roles & 50–950 ramp
primary
#982A5F
secondary
#62BB91
accent
#E09748
background
#FCF6F8
surface
#F8ECF0
border
#D1C7CB
text
#12080C
muted
#817B7D