#98236F#98236F
#98236F is a mid, vivid pink. Relative luminance 0.090; OKLCH L 47.1% C 0.170 H 345.8°. Best body text is #FFFFFF at 7.49:1 contrast (WCAG AA passes).
Color values
| HEX | #98236F |
|---|---|
| RGB | rgb(152, 35, 111) |
| HSL | hsl(321, 63%, 37%) |
| HSV | hsv(321, 77%, 60%) |
| CMYK | cmyk(0%, 77%, 27%, 40.4%) |
| CIE-LAB | lab(36.04, 54.18, -15.63) |
| CIE-LCH | lch(36.04, 56.39, 343.91°) |
| OKLab | oklab(47.11% 0.1645 -0.0415) |
| OKLCH | oklch(47.11% 0.17 345.8) |
| XYZ | xyz(16.4199, 9.0270, 15.9135) |
| Luminance | 0.0902 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 2.78
Deep Magenta
#A0025C
ΔE00 5.20
Dark Fuchsia
#9D0759
ΔE00 5.60
Dark Magenta
#960056
ΔE00 5.76
Reddish Purple
#910951
ΔE00 6.70
Warm Purple
#952E8F
ΔE00 7.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#98236F #23984C
analogous
#872398 #98236F #982334
triadic
#98236F #6F9823 #236F98
tetradic
#98236F #988723 #23984C #233498
square
#98236F #988723 #23984C #233498
split-complementary
#98236F #349823 #239887
monochromatic
#350C26 #66184B #98236F #CA2E93 #D95CAD
Accessibility & contrast
On white
7.49
#98236F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.81
#98236F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #98236F
7.49:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##98236F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##98236F | 1.00 | 7.49 | 2.81 | 7.49 |
| #FFFFFF | 7.49 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.81 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.49 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#334871
Deuteranopia (green-blind)
#565C6C
Tritanopia (blue-blind)
#A32046
Achromatopsia (no color)
#555555
Design tokens & code
CSS
--color: #98236f; /* rgb */ color: rgb(152, 35, 111); /* oklch */ color: oklch(47.1% 0.170 345.8);
Tailwind
colors: {
custom: {
50: '#ba6a98',
500: '#98236f',
950: '#000000',
},
}SCSS
$custom: #98236f; $custom-light: #ba6a98; $custom-dark: #000000;
JSON
{
"hex": "#98236f",
"rgb": {
"r": 152,
"g": 35,
"b": 111
},
"hsl": {
"h": 321.026,
"s": 62.567,
"l": 36.667
},
"oklch": {
"l": 0.47108,
"c": 0.16962,
"h": 345.8
},
"luminance": 0.09025
}Semantic roles & 50–950 ramp
primary
#98236F
secondary
#59BE7C
accent
#E67B42
background
#FBF6F9
surface
#F7ECF2
border
#D0C7CC
text
#12070D
muted
#817A7E