#98237E#98237E
#98237E is a mid, vivid pink. Relative luminance 0.094; OKLCH L 47.8% C 0.179 H 338.7°. Best body text is #FFFFFF at 7.30:1 contrast (WCAG AA passes).
Color values
| HEX | #98237E |
|---|---|
| RGB | rgb(152, 35, 126) |
| HSL | hsl(313, 63%, 37%) |
| HSV | hsv(313, 77%, 60%) |
| CMYK | cmyk(0%, 77%, 17.1%, 40.4%) |
| CIE-LAB | lab(36.72, 56.22, -23.99) |
| CIE-LCH | lch(36.72, 61.13, 336.89°) |
| OKLab | oklab(47.82% 0.1669 -0.065) |
| OKLCH | oklch(47.82% 0.179 338.7) |
| XYZ | xyz(17.3162, 9.3855, 20.6342) |
| Luminance | 0.0938 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Warm Purple
#952E8F
ΔE00 3.83
Barney Purple
#A00498
ΔE00 5.30
Red Violet
#9E0168
ΔE00 5.37
Darkmagenta
#8B008B
ΔE00 6.31
Light Eggplant
#894585
ΔE00 6.63
Purple
#800080
ΔE00 7.34
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#98237E #23983D
analogous
#782398 #98237E #982344
triadic
#98237E #7E9823 #237E98
tetradic
#98237E #987823 #23983D #234498
square
#98237E #987823 #23983D #234498
split-complementary
#98237E #449823 #239878
monochromatic
#350C2C #661855 #98237E #CA2EA7 #D95CBE
Accessibility & contrast
On white
7.30
#98237E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.88
#98237E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #98237E
7.30:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##98237E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##98237E | 1.00 | 7.30 | 2.88 | 7.30 |
| #FFFFFF | 7.30 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.88 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.30 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2A4B80
Deuteranopia (green-blind)
#515D7B
Tritanopia (blue-blind)
#A1294E
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #98237e; /* rgb */ color: rgb(152, 35, 126); /* oklch */ color: oklch(47.8% 0.179 338.7);
Tailwind
colors: {
custom: {
50: '#ba6ba3',
500: '#98237e',
950: '#000000',
},
}SCSS
$custom: #98237e; $custom-light: #ba6ba3; $custom-dark: #000000;
JSON
{
"hex": "#98237e",
"rgb": {
"r": 152,
"g": 35,
"b": 126
},
"hsl": {
"h": 313.333,
"s": 62.567,
"l": 36.667
},
"oklch": {
"l": 0.47822,
"c": 0.17916,
"h": 338.7
},
"luminance": 0.09384
}Semantic roles & 50–950 ramp
primary
#98237E
secondary
#59BE6F
accent
#E66642
background
#FBF6FA
surface
#F7ECF4
border
#D0C7CE
text
#12070F
muted
#817A7F