#98187C#98187C
#98187C is a mid, vivid pink. Relative luminance 0.088; OKLCH L 47.0% C 0.188 H 339.3°. Best body text is #FFFFFF at 7.62:1 contrast (WCAG AA passes).
Color values
| HEX | #98187C |
|---|---|
| RGB | rgb(152, 24, 124) |
| HSL | hsl(313, 73%, 35%) |
| HSV | hsv(313, 84%, 60%) |
| CMYK | cmyk(0%, 84.2%, 18.4%, 40.4%) |
| CIE-LAB | lab(35.57, 58.96, -24.53) |
| CIE-LCH | lch(35.57, 63.86, 337.41°) |
| OKLab | oklab(46.97% 0.1759 -0.0665) |
| OKLCH | oklch(46.97% 0.188 339.3) |
| XYZ | xyz(16.9141, 8.7856, 19.8699) |
| Luminance | 0.0878 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Warm Purple
#952E8F
ΔE00 4.50
Red Violet
#9E0168
ΔE00 4.92
Barney Purple
#A00498
ΔE00 5.20
Darkmagenta
#8B008B
ΔE00 5.75
Purple
#800080
ΔE00 6.65
Darkish Purple
#751973
ΔE00 7.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#98187C #189834
analogous
#741898 #98187C #98183C
triadic
#98187C #7C9818 #187C98
tetradic
#98187C #987418 #189834 #183C98
square
#98187C #987418 #189834 #183C98
split-complementary
#98187C #3C9818 #189874
monochromatic
#2E0726 #631051 #98187C #CD20A7 #E248C0
Accessibility & contrast
On white
7.62
#98187C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.76
#98187C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #98187C
7.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##98187C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##98187C | 1.00 | 7.62 | 2.76 | 7.62 |
| #FFFFFF | 7.62 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.76 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.62 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#22477E
Deuteranopia (green-blind)
#4F5B79
Tritanopia (blue-blind)
#A11F4A
Achromatopsia (no color)
#545454
Design tokens & code
CSS
--color: #98187c; /* rgb */ color: rgb(152, 24, 124); /* oklch */ color: oklch(47.0% 0.188 339.3);
Tailwind
colors: {
custom: {
50: '#ba67a2',
500: '#98187c',
950: '#000000',
},
}SCSS
$custom: #98187c; $custom-light: #ba67a2; $custom-dark: #000000;
JSON
{
"hex": "#98187c",
"rgb": {
"r": 152,
"g": 24,
"b": 124
},
"hsl": {
"h": 313.125,
"s": 72.727,
"l": 34.51
},
"oklch": {
"l": 0.46965,
"c": 0.18801,
"h": 339.3
},
"luminance": 0.08784
}Semantic roles & 50–950 ramp
primary
#98187C
secondary
#48C463
accent
#EF6038
background
#FBF6FA
surface
#F7EBF3
border
#D0C6CD
text
#12070F
muted
#817A7F