#98227C#98227C
#98227C is a mid, vivid pink. Relative luminance 0.093; OKLCH L 47.6% C 0.179 H 339.6°. Best body text is #FFFFFF at 7.36:1 contrast (WCAG AA passes).
Color values
| HEX | #98227C |
|---|---|
| RGB | rgb(152, 34, 124) |
| HSL | hsl(314, 63%, 36%) |
| HSV | hsv(314, 78%, 60%) |
| CMYK | cmyk(0%, 77.6%, 18.4%, 40.4%) |
| CIE-LAB | lab(36.51, 56.25, -23.06) |
| CIE-LCH | lch(36.51, 60.79, 337.71°) |
| OKLab | oklab(47.64% 0.1676 -0.0624) |
| OKLCH | oklch(47.64% 0.179 339.6) |
| XYZ | xyz(17.1595, 9.2764, 19.9517) |
| Luminance | 0.0927 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Warm Purple
#952E8F
ΔE00 4.26
Red Violet
#9E0168
ΔE00 4.96
Barney Purple
#A00498
ΔE00 5.64
Darkmagenta
#8B008B
ΔE00 6.54
Light Eggplant
#894585
ΔE00 6.84
Bruise
#7E4071
ΔE00 7.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#98227C #22983E
analogous
#792298 #98227C #982241
triadic
#98227C #7C9822 #227C98
tetradic
#98227C #987922 #22983E #224198
square
#98227C #987922 #22983E #224198
split-complementary
#98227C #419822 #229879
monochromatic
#340C2A #661753 #98227C #CA2DA5 #DA5ABC
Accessibility & contrast
On white
7.36
#98227C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.85
#98227C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #98227C
7.36:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##98227C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##98227C | 1.00 | 7.36 | 2.85 | 7.36 |
| #FFFFFF | 7.36 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.85 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.36 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2A4A7E
Deuteranopia (green-blind)
#515D79
Tritanopia (blue-blind)
#A1274D
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #98227c; /* rgb */ color: rgb(152, 34, 124); /* oklch */ color: oklch(47.6% 0.179 339.6);
Tailwind
colors: {
custom: {
50: '#ba6ba2',
500: '#98227c',
950: '#000000',
},
}SCSS
$custom: #98227c; $custom-light: #ba6ba2; $custom-dark: #000000;
JSON
{
"hex": "#98227c",
"rgb": {
"r": 152,
"g": 34,
"b": 124
},
"hsl": {
"h": 314.237,
"s": 63.441,
"l": 36.471
},
"oklch": {
"l": 0.47643,
"c": 0.17887,
"h": 339.6
},
"luminance": 0.09275
}Semantic roles & 50–950 ramp
primary
#98227C
secondary
#57BE70
accent
#E66941
background
#FBF6FA
surface
#F7ECF3
border
#D0C7CD
text
#12070F
muted
#817A7F