#982276#982276
#982276 is a mid, vivid pink. Relative luminance 0.091; OKLCH L 47.3% C 0.175 H 342.4°. Best body text is #FFFFFF at 7.43:1 contrast (WCAG AA passes).
Color values
| HEX | #982276 |
|---|---|
| RGB | rgb(152, 34, 118) |
| HSL | hsl(317, 63%, 36%) |
| HSV | hsv(317, 78%, 60%) |
| CMYK | cmyk(0%, 77.6%, 22.4%, 40.4%) |
| CIE-LAB | lab(36.23, 55.42, -19.74) |
| CIE-LCH | lch(36.23, 58.83, 340.40°) |
| OKLab | oklab(47.35% 0.1668 -0.053) |
| OKLCH | oklch(47.35% 0.175 342.4) |
| XYZ | xyz(16.7915, 9.1292, 18.0138) |
| Luminance | 0.0913 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 3.81
Warm Purple
#952E8F
ΔE00 5.53
Deep Magenta
#A0025C
ΔE00 6.69
Barney Purple
#A00498
ΔE00 6.92
Dark Fuchsia
#9D0759
ΔE00 7.14
Bruise
#7E4071
ΔE00 7.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#982276 #229844
analogous
#7F2298 #982276 #98223B
triadic
#982276 #769822 #227698
tetradic
#982276 #987F22 #229844 #223B98
square
#982276 #987F22 #229844 #223B98
split-complementary
#982276 #3B9822 #22987F
monochromatic
#340C28 #66174F #982276 #CA2D9D #DA5AB5
Accessibility & contrast
On white
7.43
#982276 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.83
#982276 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #982276
7.43:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##982276 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##982276 | 1.00 | 7.43 | 2.83 | 7.43 |
| #FFFFFF | 7.43 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.83 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.43 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2E4978
Deuteranopia (green-blind)
#545C73
Tritanopia (blue-blind)
#A2234A
Achromatopsia (no color)
#555555
Design tokens & code
CSS
--color: #982276; /* rgb */ color: rgb(152, 34, 118); /* oklch */ color: oklch(47.3% 0.175 342.4);
Tailwind
colors: {
custom: {
50: '#ba6a9d',
500: '#982276',
950: '#000000',
},
}SCSS
$custom: #982276; $custom-light: #ba6a9d; $custom-dark: #000000;
JSON
{
"hex": "#982276",
"rgb": {
"r": 152,
"g": 34,
"b": 118
},
"hsl": {
"h": 317.288,
"s": 63.441,
"l": 36.471
},
"oklch": {
"l": 0.4735,
"c": 0.17497,
"h": 342.4
},
"luminance": 0.09127
}Semantic roles & 50–950 ramp
primary
#982276
secondary
#57BE75
accent
#E67141
background
#FBF6F9
surface
#F7ECF2
border
#D0C7CC
text
#12070E
muted
#817A7E