#98236C#98236C
#98236C is a mid, vivid pink. Relative luminance 0.090; OKLCH L 47.0% C 0.168 H 347.4°. Best body text is #FFFFFF at 7.52:1 contrast (WCAG AA passes).
Color values
| HEX | #98236C |
|---|---|
| RGB | rgb(152, 35, 108) |
| HSL | hsl(323, 63%, 37%) |
| HSV | hsv(323, 77%, 60%) |
| CMYK | cmyk(0%, 77%, 28.9%, 40.4%) |
| CIE-LAB | lab(35.91, 53.80, -13.93) |
| CIE-LCH | lch(35.91, 55.57, 345.49°) |
| OKLab | oklab(46.98% 0.1638 -0.0367) |
| OKLCH | oklch(46.98% 0.168 347.4) |
| XYZ | xyz(16.2575, 8.9620, 15.0581) |
| Luminance | 0.0896 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 2.52
Deep Magenta
#A0025C
ΔE00 4.57
Dark Fuchsia
#9D0759
ΔE00 4.93
Dark Magenta
#960056
ΔE00 5.15
Reddish Purple
#910951
ΔE00 6.06
Mulberry
#920A4E
ΔE00 6.85
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#98236C #23984F
analogous
#8A2398 #98236C #982332
triadic
#98236C #6C9823 #236C98
tetradic
#98236C #988A23 #23984F #233298
square
#98236C #988A23 #23984F #233298
split-complementary
#98236C #329823 #23988A
monochromatic
#350C25 #661849 #98236C #CA2E8F #D95CAA
Accessibility & contrast
On white
7.52
#98236C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.79
#98236C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #98236C
7.52:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##98236C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##98236C | 1.00 | 7.52 | 2.79 | 7.52 |
| #FFFFFF | 7.52 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.79 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.52 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#34486E
Deuteranopia (green-blind)
#575C69
Tritanopia (blue-blind)
#A31E45
Achromatopsia (no color)
#545454
Design tokens & code
CSS
--color: #98236c; /* rgb */ color: rgb(152, 35, 108); /* oklch */ color: oklch(47.0% 0.168 347.4);
Tailwind
colors: {
custom: {
50: '#ba6a96',
500: '#98236c',
950: '#000000',
},
}SCSS
$custom: #98236c; $custom-light: #ba6a96; $custom-dark: #000000;
JSON
{
"hex": "#98236c",
"rgb": {
"r": 152,
"g": 35,
"b": 108
},
"hsl": {
"h": 322.564,
"s": 62.567,
"l": 36.667
},
"oklch": {
"l": 0.46976,
"c": 0.16789,
"h": 347.4
},
"luminance": 0.0896
}Semantic roles & 50–950 ramp
primary
#98236C
secondary
#59BE7F
accent
#E68042
background
#FBF6F9
surface
#F7ECF2
border
#D0C7CC
text
#12070D
muted
#817A7E