#98286F#98286F
#98286F is a mid, vivid pink. Relative luminance 0.093; OKLCH L 47.5% C 0.164 H 346.2°. Best body text is #FFFFFF at 7.32:1 contrast (WCAG AA passes).
Color values
| HEX | #98286F |
|---|---|
| RGB | rgb(152, 40, 111) |
| HSL | hsl(322, 58%, 38%) |
| HSV | hsv(322, 74%, 60%) |
| CMYK | cmyk(0%, 73.7%, 27%, 40.4%) |
| CIE-LAB | lab(36.64, 52.48, -14.71) |
| CIE-LCH | lch(36.64, 54.51, 344.34°) |
| OKLab | oklab(47.54% 0.1592 -0.039) |
| OKLCH | oklch(47.54% 0.164 346.2) |
| XYZ | xyz(16.5777, 9.3425, 15.9661) |
| Luminance | 0.0934 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 3.27
Deep Magenta
#A0025C
ΔE00 5.28
Dark Fuchsia
#9D0759
ΔE00 5.65
Dark Magenta
#960056
ΔE00 5.95
Reddish Purple
#910951
ΔE00 6.81
Bruise
#7E4071
ΔE00 6.85
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#98286F #289851
analogous
#892898 #98286F #982837
triadic
#98286F #6F9828 #286F98
tetradic
#98286F #988928 #289851 #283798
square
#98286F #988928 #289851 #283798
split-complementary
#98286F #379828 #289889
monochromatic
#370F28 #681B4C #98286F #C83592 #D664AC
Accessibility & contrast
On white
7.32
#98286F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.87
#98286F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #98286F
7.32:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##98286F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##98286F | 1.00 | 7.32 | 2.87 | 7.32 |
| #FFFFFF | 7.32 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.87 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.32 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#374A71
Deuteranopia (green-blind)
#585D6C
Tritanopia (blue-blind)
#A32548
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #98286f; /* rgb */ color: rgb(152, 40, 111); /* oklch */ color: oklch(47.5% 0.164 346.2);
Tailwind
colors: {
custom: {
50: '#ba6d98',
500: '#98286f',
950: '#000000',
},
}SCSS
$custom: #98286f; $custom-light: #ba6d98; $custom-dark: #000000;
JSON
{
"hex": "#98286f",
"rgb": {
"r": 152,
"g": 40,
"b": 111
},
"hsl": {
"h": 321.964,
"s": 58.333,
"l": 37.647
},
"oklch": {
"l": 0.47544,
"c": 0.16392,
"h": 346.2
},
"luminance": 0.09341
}Semantic roles & 50–950 ramp
primary
#98286F
secondary
#60BC82
accent
#E27F46
background
#FBF6F9
surface
#F7ECF2
border
#D0C7CC
text
#12080D
muted
#817B7E