#982254#982254
#982254 is a mid, vivid pink. Relative luminance 0.085; OKLCH L 46.0% C 0.158 H 0.2°. Best body text is #FFFFFF at 7.80:1 contrast (WCAG AA passes).
Color values
| HEX | #982254 |
|---|---|
| RGB | rgb(152, 34, 84) |
| HSL | hsl(335, 63%, 36%) |
| HSV | hsv(335, 78%, 60%) |
| CMYK | cmyk(0%, 77.6%, 44.7%, 40.4%) |
| CIE-LAB | lab(34.93, 51.42, -0.03) |
| CIE-LCH | lch(34.93, 51.42, 359.97°) |
| OKLab | oklab(45.97% 0.1579 0.0005) |
| OKLCH | oklch(45.97% 0.158 0.2) |
| XYZ | xyz(15.1223, 8.4615, 9.2227) |
| Luminance | 0.0846 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Berry
#990F4B
ΔE00 2.47
Violet Red
#A50055
ΔE00 2.84
Mulberry
#920A4E
ΔE00 2.98
Dark Fuchsia
#9D0759
ΔE00 3.02
Reddish Purple
#910951
ΔE00 3.46
Purple Red
#990147
ΔE00 3.52
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#982254 #229866
analogous
#98228F #982254 #982B22
triadic
#982254 #549822 #225498
tetradic
#982254 #8F9822 #229866 #2B2298
square
#982254 #8F9822 #229866 #2B2298
split-complementary
#982254 #22982B #228F98
monochromatic
#340C1D #661738 #982254 #CA2D70 #DA5A90
Accessibility & contrast
On white
7.80
#982254 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.69
#982254 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #982254
7.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##982254 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##982254 | 1.00 | 7.80 | 2.69 | 7.80 |
| #FFFFFF | 7.80 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.69 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.80 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3D4455
Deuteranopia (green-blind)
#5D5A51
Tritanopia (blue-blind)
#A50B38
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #982254; /* rgb */ color: rgb(152, 34, 84); /* oklch */ color: oklch(46.0% 0.158 0.2);
Tailwind
colors: {
custom: {
50: '#bb6984',
500: '#982254',
950: '#000000',
},
}SCSS
$custom: #982254; $custom-light: #bb6984; $custom-dark: #000000;
JSON
{
"hex": "#982254",
"rgb": {
"r": 152,
"g": 34,
"b": 84
},
"hsl": {
"h": 334.576,
"s": 63.441,
"l": 36.471
},
"oklch": {
"l": 0.45971,
"c": 0.15792,
"h": 0.2
},
"luminance": 0.0846
}Semantic roles & 50–950 ramp
primary
#982254
secondary
#57BE93
accent
#E6A041
background
#FCF6F8
surface
#F8EBEF
border
#D1C6CA
text
#13070A
muted
#827A7C