#98237C#98237C
#98237C is a mid, vivid pink. Relative luminance 0.093; OKLCH L 47.7% C 0.178 H 339.6°. Best body text is #FFFFFF at 7.33:1 contrast (WCAG AA passes).
Color values
| HEX | #98237C |
|---|---|
| RGB | rgb(152, 35, 124) |
| HSL | hsl(314, 63%, 37%) |
| HSV | hsv(314, 77%, 60%) |
| CMYK | cmyk(0%, 77%, 18.4%, 40.4%) |
| CIE-LAB | lab(36.62, 55.94, -22.89) |
| CIE-LCH | lch(36.62, 60.44, 337.74°) |
| OKLab | oklab(47.72% 0.1667 -0.0619) |
| OKLCH | oklch(47.72% 0.178 339.6) |
| XYZ | xyz(17.1885, 9.3344, 19.9614) |
| Luminance | 0.0933 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Warm Purple
#952E8F
ΔE00 4.25
Red Violet
#9E0168
ΔE00 4.98
Barney Purple
#A00498
ΔE00 5.71
Darkmagenta
#8B008B
ΔE00 6.64
Light Eggplant
#894585
ΔE00 6.75
Bruise
#7E4071
ΔE00 7.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#98237C #23983F
analogous
#7A2398 #98237C #982342
triadic
#98237C #7C9823 #237C98
tetradic
#98237C #987A23 #23983F #234298
square
#98237C #987A23 #23983F #234298
split-complementary
#98237C #429823 #23987A
monochromatic
#350C2B #661853 #98237C #CA2EA5 #D95CBB
Accessibility & contrast
On white
7.33
#98237C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.87
#98237C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #98237C
7.33:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##98237C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##98237C | 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)
#2B4A7E
Deuteranopia (green-blind)
#525D79
Tritanopia (blue-blind)
#A1284D
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #98237c; /* rgb */ color: rgb(152, 35, 124); /* oklch */ color: oklch(47.7% 0.178 339.6);
Tailwind
colors: {
custom: {
50: '#ba6ba2',
500: '#98237c',
950: '#000000',
},
}SCSS
$custom: #98237c; $custom-light: #ba6ba2; $custom-dark: #000000;
JSON
{
"hex": "#98237c",
"rgb": {
"r": 152,
"g": 35,
"b": 124
},
"hsl": {
"h": 314.359,
"s": 62.567,
"l": 36.667
},
"oklch": {
"l": 0.47722,
"c": 0.17782,
"h": 339.6
},
"luminance": 0.09333
}Semantic roles & 50–950 ramp
primary
#98237C
secondary
#59BE71
accent
#E66942
background
#FBF6FA
surface
#F7ECF3
border
#D0C7CD
text
#12070F
muted
#817A7F