#98215F#98215F
#98215F is a mid, vivid pink. Relative luminance 0.086; OKLCH L 46.3% C 0.163 H 354.0°. Best body text is #FFFFFF at 7.73:1 contrast (WCAG AA passes).
Color values
| HEX | #98215F |
|---|---|
| RGB | rgb(152, 33, 95) |
| HSL | hsl(329, 64%, 36%) |
| HSV | hsv(329, 78%, 60%) |
| CMYK | cmyk(0%, 78.3%, 37.5%, 40.4%) |
| CIE-LAB | lab(35.19, 52.89, -6.73) |
| CIE-LCH | lch(35.19, 53.32, 352.75°) |
| OKLab | oklab(46.28% 0.1625 -0.0171) |
| OKLCH | oklch(46.28% 0.163 354) |
| XYZ | xyz(15.5593, 8.5913, 11.6632) |
| Luminance | 0.0859 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Dark Fuchsia
#9D0759
ΔE00 2.32
Deep Magenta
#A0025C
ΔE00 2.36
Dark Magenta
#960056
ΔE00 2.95
Red Violet
#9E0168
ΔE00 3.50
Reddish Purple
#910951
ΔE00 3.52
Mulberry
#920A4E
ΔE00 4.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#98215F #21985A
analogous
#962198 #98215F #982124
triadic
#98215F #5F9821 #215F98
tetradic
#98215F #989621 #21985A #212498
square
#98215F #989621 #21985A #212498
split-complementary
#98215F #249821 #219896
monochromatic
#330B20 #661640 #98215F #CA2C7E #DB599C
Accessibility & contrast
On white
7.73
#98215F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.72
#98215F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #98215F
7.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##98215F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##98215F | 1.00 | 7.73 | 2.72 | 7.73 |
| #FFFFFF | 7.73 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.72 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.73 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#394561
Deuteranopia (green-blind)
#5A5B5C
Tritanopia (blue-blind)
#A4133D
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #98215f; /* rgb */ color: rgb(152, 33, 95); /* oklch */ color: oklch(46.3% 0.163 354.0);
Tailwind
colors: {
custom: {
50: '#bb698c',
500: '#98215f',
950: '#000000',
},
}SCSS
$custom: #98215f; $custom-light: #bb698c; $custom-dark: #000000;
JSON
{
"hex": "#98215f",
"rgb": {
"r": 152,
"g": 33,
"b": 95
},
"hsl": {
"h": 328.739,
"s": 64.324,
"l": 36.275
},
"oklch": {
"l": 0.46283,
"c": 0.16335,
"h": 354
},
"luminance": 0.08589
}Semantic roles & 50–950 ramp
primary
#98215F
secondary
#56BF88
accent
#E79040
background
#FCF6F8
surface
#F8ECF0
border
#D1C7CB
text
#12070C
muted
#817A7D