#982275#982275
#982275 is a mid, vivid pink. Relative luminance 0.091; OKLCH L 47.3% C 0.174 H 342.8°. Best body text is #FFFFFF at 7.44:1 contrast (WCAG AA passes).
Color values
| HEX | #982275 |
|---|---|
| RGB | rgb(152, 34, 117) |
| HSL | hsl(318, 63%, 36%) |
| HSV | hsv(318, 78%, 60%) |
| CMYK | cmyk(0%, 77.6%, 23%, 40.4%) |
| CIE-LAB | lab(36.19, 55.28, -19.18) |
| CIE-LCH | lch(36.19, 58.52, 340.87°) |
| OKLab | oklab(47.3% 0.1666 -0.0514) |
| OKLCH | oklch(47.3% 0.174 342.8) |
| XYZ | xyz(16.7324, 9.1056, 17.7025) |
| Luminance | 0.0910 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 3.63
Warm Purple
#952E8F
ΔE00 5.75
Deep Magenta
#A0025C
ΔE00 6.48
Dark Fuchsia
#9D0759
ΔE00 6.92
Dark Magenta
#960056
ΔE00 7.00
Barney Purple
#A00498
ΔE00 7.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#982275 #229845
analogous
#802298 #982275 #98223A
triadic
#982275 #759822 #227598
tetradic
#982275 #988022 #229845 #223A98
square
#982275 #988022 #229845 #223A98
split-complementary
#982275 #3A9822 #229880
monochromatic
#340C28 #66174F #982275 #CA2D9B #DA5AB4
Accessibility & contrast
On white
7.44
#982275 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.82
#982275 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #982275
7.44:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##982275 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##982275 | 1.00 | 7.44 | 2.82 | 7.44 |
| #FFFFFF | 7.44 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.82 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.44 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2F4977
Deuteranopia (green-blind)
#545C72
Tritanopia (blue-blind)
#A22349
Achromatopsia (no color)
#555555
Design tokens & code
CSS
--color: #982275; /* rgb */ color: rgb(152, 34, 117); /* oklch */ color: oklch(47.3% 0.174 342.8);
Tailwind
colors: {
custom: {
50: '#ba6a9d',
500: '#982275',
950: '#000000',
},
}SCSS
$custom: #982275; $custom-light: #ba6a9d; $custom-dark: #000000;
JSON
{
"hex": "#982275",
"rgb": {
"r": 152,
"g": 34,
"b": 117
},
"hsl": {
"h": 317.797,
"s": 63.441,
"l": 36.471
},
"oklch": {
"l": 0.47303,
"c": 0.17434,
"h": 342.8
},
"luminance": 0.09104
}Semantic roles & 50–950 ramp
primary
#982275
secondary
#57BE76
accent
#E67241
background
#FBF6F9
surface
#F7ECF2
border
#D0C7CC
text
#12070E
muted
#817A7E