#982277#982277
#982277 is a mid, vivid pink. Relative luminance 0.092; OKLCH L 47.4% C 0.176 H 341.9°. Best body text is #FFFFFF at 7.42:1 contrast (WCAG AA passes).
Color values
| HEX | #982277 |
|---|---|
| RGB | rgb(152, 34, 119) |
| HSL | hsl(317, 63%, 36%) |
| HSV | hsv(317, 78%, 60%) |
| CMYK | cmyk(0%, 77.6%, 21.7%, 40.4%) |
| CIE-LAB | lab(36.28, 55.56, -20.30) |
| CIE-LCH | lch(36.28, 59.15, 339.93°) |
| OKLab | oklab(47.4% 0.1669 -0.0545) |
| OKLCH | oklch(47.4% 0.176 341.9) |
| XYZ | xyz(16.8513, 9.1531, 18.3285) |
| Luminance | 0.0915 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 4.00
Warm Purple
#952E8F
ΔE00 5.32
Barney Purple
#A00498
ΔE00 6.70
Deep Magenta
#A0025C
ΔE00 6.91
Bruise
#7E4071
ΔE00 7.19
Light Eggplant
#894585
ΔE00 7.23
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#982277 #229843
analogous
#7E2298 #982277 #98223C
triadic
#982277 #779822 #227798
tetradic
#982277 #987E22 #229843 #223C98
square
#982277 #987E22 #229843 #223C98
split-complementary
#982277 #3C9822 #22987E
monochromatic
#340C29 #661750 #982277 #CA2D9E #DA5AB6
Accessibility & contrast
On white
7.42
#982277 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.83
#982277 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #982277
7.42:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##982277 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##982277 | 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)
#2E4979
Deuteranopia (green-blind)
#535C74
Tritanopia (blue-blind)
#A2244A
Achromatopsia (no color)
#555555
Design tokens & code
CSS
--color: #982277; /* rgb */ color: rgb(152, 34, 119); /* oklch */ color: oklch(47.4% 0.176 341.9);
Tailwind
colors: {
custom: {
50: '#ba6a9e',
500: '#982277',
950: '#000000',
},
}SCSS
$custom: #982277; $custom-light: #ba6a9e; $custom-dark: #000000;
JSON
{
"hex": "#982277",
"rgb": {
"r": 152,
"g": 34,
"b": 119
},
"hsl": {
"h": 316.78,
"s": 63.441,
"l": 36.471
},
"oklch": {
"l": 0.47398,
"c": 0.17561,
"h": 341.9
},
"luminance": 0.09151
}Semantic roles & 50–950 ramp
primary
#982277
secondary
#57BE74
accent
#E67041
background
#FBF6F9
surface
#F7ECF2
border
#D0C7CC
text
#12070E
muted
#817A7E