#98226C#98226C
#98226C is a mid, vivid pink. Relative luminance 0.089; OKLCH L 46.9% C 0.169 H 347.3°. Best body text is #FFFFFF at 7.55:1 contrast (WCAG AA passes).
Color values
| HEX | #98226C |
|---|---|
| RGB | rgb(152, 34, 108) |
| HSL | hsl(322, 63%, 36%) |
| HSV | hsv(322, 78%, 60%) |
| CMYK | cmyk(0%, 77.6%, 28.9%, 40.4%) |
| CIE-LAB | lab(35.80, 54.11, -14.10) |
| CIE-LCH | lch(35.80, 55.92, 345.40°) |
| OKLab | oklab(46.89% 0.1648 -0.0372) |
| OKLCH | oklch(46.89% 0.169 347.3) |
| XYZ | xyz(16.2285, 8.9040, 15.0485) |
| Luminance | 0.0890 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 2.41
Deep Magenta
#A0025C
ΔE00 4.56
Dark Fuchsia
#9D0759
ΔE00 4.93
Dark Magenta
#960056
ΔE00 5.12
Reddish Purple
#910951
ΔE00 6.04
Mulberry
#920A4E
ΔE00 6.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#98226C #22984E
analogous
#892298 #98226C #982231
triadic
#98226C #6C9822 #226C98
tetradic
#98226C #988922 #22984E #223198
square
#98226C #988922 #22984E #223198
split-complementary
#98226C #319822 #229889
monochromatic
#340C25 #661748 #98226C #CA2D90 #DA5AAA
Accessibility & contrast
On white
7.55
#98226C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.78
#98226C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #98226C
7.55:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##98226C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##98226C | 1.00 | 7.55 | 2.78 | 7.55 |
| #FFFFFF | 7.55 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.78 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.55 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#34476E
Deuteranopia (green-blind)
#575B69
Tritanopia (blue-blind)
#A31D44
Achromatopsia (no color)
#545454
Design tokens & code
CSS
--color: #98226c; /* rgb */ color: rgb(152, 34, 108); /* oklch */ color: oklch(46.9% 0.169 347.3);
Tailwind
colors: {
custom: {
50: '#ba6a96',
500: '#98226c',
950: '#000000',
},
}SCSS
$custom: #98226c; $custom-light: #ba6a96; $custom-dark: #000000;
JSON
{
"hex": "#98226c",
"rgb": {
"r": 152,
"g": 34,
"b": 108
},
"hsl": {
"h": 322.373,
"s": 63.441,
"l": 36.471
},
"oklch": {
"l": 0.46894,
"c": 0.16896,
"h": 347.3
},
"luminance": 0.08902
}Semantic roles & 50–950 ramp
primary
#98226C
secondary
#57BE7E
accent
#E67F41
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#12070D
muted
#817A7E