#982266#982266
#982266 is a mid, vivid pink. Relative luminance 0.088; OKLCH L 46.6% C 0.166 H 350.4°. Best body text is #FFFFFF at 7.62:1 contrast (WCAG AA passes).
Color values
| HEX | #982266 |
|---|---|
| RGB | rgb(152, 34, 102) |
| HSL | hsl(325, 63%, 36%) |
| HSV | hsv(325, 78%, 60%) |
| CMYK | cmyk(0%, 77.6%, 32.9%, 40.4%) |
| CIE-LAB | lab(35.56, 53.38, -10.65) |
| CIE-LCH | lch(35.56, 54.43, 348.72°) |
| OKLab | oklab(46.64% 0.1634 -0.0277) |
| OKLCH | oklch(46.64% 0.166 350.4) |
| XYZ | xyz(15.9201, 8.7806, 13.4243) |
| Luminance | 0.0878 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 2.50
Deep Magenta
#A0025C
ΔE00 3.37
Dark Fuchsia
#9D0759
ΔE00 3.62
Dark Magenta
#960056
ΔE00 3.97
Reddish Purple
#910951
ΔE00 4.80
Mulberry
#920A4E
ΔE00 5.50
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#982266 #229854
analogous
#8F2298 #982266 #98222B
triadic
#982266 #669822 #226698
tetradic
#982266 #988F22 #229854 #222B98
square
#982266 #988F22 #229854 #222B98
split-complementary
#982266 #2B9822 #22988F
monochromatic
#340C23 #661744 #982266 #CA2D88 #DA5AA4
Accessibility & contrast
On white
7.62
#982266 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.76
#982266 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #982266
7.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##982266 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##982266 | 1.00 | 7.62 | 2.76 | 7.62 |
| #FFFFFF | 7.62 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.76 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.62 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#364668
Deuteranopia (green-blind)
#595B63
Tritanopia (blue-blind)
#A41941
Achromatopsia (no color)
#545454
Design tokens & code
CSS
--color: #982266; /* rgb */ color: rgb(152, 34, 102); /* oklch */ color: oklch(46.6% 0.166 350.4);
Tailwind
colors: {
custom: {
50: '#bb6a91',
500: '#982266',
950: '#000000',
},
}SCSS
$custom: #982266; $custom-light: #bb6a91; $custom-dark: #000000;
JSON
{
"hex": "#982266",
"rgb": {
"r": 152,
"g": 34,
"b": 102
},
"hsl": {
"h": 325.424,
"s": 63.441,
"l": 36.471
},
"oklch": {
"l": 0.46641,
"c": 0.16571,
"h": 350.4
},
"luminance": 0.08779
}Semantic roles & 50–950 ramp
primary
#982266
secondary
#57BE83
accent
#E68741
background
#FCF6F8
surface
#F8ECF0
border
#D1C7CB
text
#12070C
muted
#817A7D