#982175#982175
#982175 is a mid, vivid pink. Relative luminance 0.090; OKLCH L 47.2% C 0.175 H 342.8°. Best body text is #FFFFFF at 7.47:1 contrast (WCAG AA passes).
Color values
| HEX | #982175 |
|---|---|
| RGB | rgb(152, 33, 117) |
| HSL | hsl(318, 64%, 36%) |
| HSV | hsv(318, 78%, 60%) |
| CMYK | cmyk(0%, 78.3%, 23%, 40.4%) |
| CIE-LAB | lab(36.08, 55.59, -19.35) |
| CIE-LCH | lch(36.08, 58.86, 340.81°) |
| OKLab | oklab(47.23% 0.1675 -0.0519) |
| OKLCH | oklch(47.23% 0.175 342.8) |
| XYZ | xyz(16.7043, 9.0492, 17.6931) |
| Luminance | 0.0905 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 3.60
Warm Purple
#952E8F
ΔE00 5.75
Deep Magenta
#A0025C
ΔE00 6.49
Dark Fuchsia
#9D0759
ΔE00 6.93
Dark Magenta
#960056
ΔE00 6.99
Barney Purple
#A00498
ΔE00 7.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#982175 #219844
analogous
#802198 #982175 #98213A
triadic
#982175 #759821 #217598
tetradic
#982175 #988021 #219844 #213A98
square
#982175 #988021 #219844 #213A98
split-complementary
#982175 #3A9821 #219880
monochromatic
#330B28 #66164E #982175 #CA2C9C #DB59B5
Accessibility & contrast
On white
7.47
#982175 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.81
#982175 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #982175
7.47:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##982175 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##982175 | 1.00 | 7.47 | 2.81 | 7.47 |
| #FFFFFF | 7.47 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.81 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.47 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2E4877
Deuteranopia (green-blind)
#545C72
Tritanopia (blue-blind)
#A22249
Achromatopsia (no color)
#555555
Design tokens & code
CSS
--color: #982175; /* rgb */ color: rgb(152, 33, 117); /* oklch */ color: oklch(47.2% 0.175 342.8);
Tailwind
colors: {
custom: {
50: '#ba6a9d',
500: '#982175',
950: '#000000',
},
}SCSS
$custom: #982175; $custom-light: #ba6a9d; $custom-dark: #000000;
JSON
{
"hex": "#982175",
"rgb": {
"r": 152,
"g": 33,
"b": 117
},
"hsl": {
"h": 317.647,
"s": 64.324,
"l": 36.275
},
"oklch": {
"l": 0.47225,
"c": 0.17538,
"h": 342.8
},
"luminance": 0.09047
}Semantic roles & 50–950 ramp
primary
#982175
secondary
#56BF75
accent
#E77240
background
#FBF6F9
surface
#F7ECF2
border
#D0C7CC
text
#12070E
muted
#817A7E