#98227E#98227E
#98227E is a mid, vivid pink. Relative luminance 0.093; OKLCH L 47.7% C 0.180 H 338.7°. Best body text is #FFFFFF at 7.33:1 contrast (WCAG AA passes).
Color values
| HEX | #98227E |
|---|---|
| RGB | rgb(152, 34, 126) |
| HSL | hsl(313, 63%, 36%) |
| HSV | hsv(313, 78%, 60%) |
| CMYK | cmyk(0%, 77.6%, 17.1%, 40.4%) |
| CIE-LAB | lab(36.61, 56.53, -24.16) |
| CIE-LCH | lch(36.61, 61.48, 336.86°) |
| OKLab | oklab(47.74% 0.1679 -0.0655) |
| OKLCH | oklch(47.74% 0.18 338.7) |
| XYZ | xyz(17.2872, 9.3275, 20.6246) |
| Luminance | 0.0933 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Warm Purple
#952E8F
ΔE00 3.85
Barney Purple
#A00498
ΔE00 5.24
Red Violet
#9E0168
ΔE00 5.35
Darkmagenta
#8B008B
ΔE00 6.21
Light Eggplant
#894585
ΔE00 6.74
Purple
#800080
ΔE00 7.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#98227E #22983C
analogous
#772298 #98227E #982243
triadic
#98227E #7E9822 #227E98
tetradic
#98227E #987722 #22983C #224398
square
#98227E #987722 #22983C #224398
split-complementary
#98227E #439822 #229877
monochromatic
#340C2B #661755 #98227E #CA2DA7 #DA5ABE
Accessibility & contrast
On white
7.33
#98227E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.87
#98227E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #98227E
7.33:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##98227E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##98227E | 1.00 | 7.33 | 2.87 | 7.33 |
| #FFFFFF | 7.33 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.87 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.33 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#294A80
Deuteranopia (green-blind)
#515D7B
Tritanopia (blue-blind)
#A1284E
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #98227e; /* rgb */ color: rgb(152, 34, 126); /* oklch */ color: oklch(47.7% 0.180 338.7);
Tailwind
colors: {
custom: {
50: '#ba6ba3',
500: '#98227e',
950: '#000000',
},
}SCSS
$custom: #98227e; $custom-light: #ba6ba3; $custom-dark: #000000;
JSON
{
"hex": "#98227e",
"rgb": {
"r": 152,
"g": 34,
"b": 126
},
"hsl": {
"h": 313.22,
"s": 63.441,
"l": 36.471
},
"oklch": {
"l": 0.47744,
"c": 0.18021,
"h": 338.7
},
"luminance": 0.09326
}Semantic roles & 50–950 ramp
primary
#98227E
secondary
#57BE6E
accent
#E66641
background
#FBF6FA
surface
#F7ECF4
border
#D0C7CE
text
#12070F
muted
#817A7F