#98237F#98237F
#98237F is a mid, vivid pink. Relative luminance 0.094; OKLCH L 47.9% C 0.180 H 338.3°. Best body text is #FFFFFF at 7.29:1 contrast (WCAG AA passes).
Color values
| HEX | #98237F |
|---|---|
| RGB | rgb(152, 35, 127) |
| HSL | hsl(313, 63%, 37%) |
| HSV | hsv(313, 77%, 60%) |
| CMYK | cmyk(0%, 77%, 16.4%, 40.4%) |
| CIE-LAB | lab(36.76, 56.37, -24.54) |
| CIE-LCH | lch(36.76, 61.48, 336.48°) |
| OKLab | oklab(47.87% 0.1671 -0.0666) |
| OKLCH | oklch(47.87% 0.18 338.3) |
| XYZ | xyz(17.3811, 9.4114, 20.9758) |
| Luminance | 0.0941 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Warm Purple
#952E8F
ΔE00 3.63
Barney Purple
#A00498
ΔE00 5.10
Red Violet
#9E0168
ΔE00 5.56
Darkmagenta
#8B008B
ΔE00 6.16
Light Eggplant
#894585
ΔE00 6.59
Purple
#800080
ΔE00 7.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#98237F #23983C
analogous
#772398 #98237F #982344
triadic
#98237F #7F9823 #237F98
tetradic
#98237F #987723 #23983C #234498
square
#98237F #987723 #23983C #234498
split-complementary
#98237F #449823 #239877
monochromatic
#350C2C #661855 #98237F #CA2EA9 #D95CBF
Accessibility & contrast
On white
7.29
#98237F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.88
#98237F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #98237F
7.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##98237F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##98237F | 1.00 | 7.29 | 2.88 | 7.29 |
| #FFFFFF | 7.29 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.88 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.29 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#294B81
Deuteranopia (green-blind)
#515D7C
Tritanopia (blue-blind)
#A1294F
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #98237f; /* rgb */ color: rgb(152, 35, 127); /* oklch */ color: oklch(47.9% 0.180 338.3);
Tailwind
colors: {
custom: {
50: '#ba6ba4',
500: '#98237f',
950: '#000000',
},
}SCSS
$custom: #98237f; $custom-light: #ba6ba4; $custom-dark: #000000;
JSON
{
"hex": "#98237f",
"rgb": {
"r": 152,
"g": 35,
"b": 127
},
"hsl": {
"h": 312.821,
"s": 62.567,
"l": 36.667
},
"oklch": {
"l": 0.47873,
"c": 0.17985,
"h": 338.3
},
"luminance": 0.0941
}Semantic roles & 50–950 ramp
primary
#98237F
secondary
#59BE6E
accent
#E66542
background
#FBF6FA
surface
#F7ECF4
border
#D0C7CE
text
#12070F
muted
#817A7F