#98277C#98277C
#98277C is a mid, vivid pink. Relative luminance 0.096; OKLCH L 48.1% C 0.173 H 339.8°. Best body text is #FFFFFF at 7.20:1 contrast (WCAG AA passes).
Color values
| HEX | #98277C |
|---|---|
| RGB | rgb(152, 39, 124) |
| HSL | hsl(315, 59%, 37%) |
| HSV | hsv(315, 74%, 60%) |
| CMYK | cmyk(0%, 74.3%, 18.4%, 40.4%) |
| CIE-LAB | lab(37.08, 54.62, -22.17) |
| CIE-LCH | lch(37.08, 58.95, 337.91°) |
| OKLab | oklab(48.06% 0.1627 -0.0599) |
| OKLCH | oklch(48.06% 0.173 339.8) |
| XYZ | xyz(17.3130, 9.5834, 20.0029) |
| Luminance | 0.0958 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Warm Purple
#952E8F
ΔE00 4.26
Red Violet
#9E0168
ΔE00 5.10
Barney Purple
#A00498
ΔE00 6.01
Light Eggplant
#894585
ΔE00 6.34
Bruise
#7E4071
ΔE00 6.91
Darkmagenta
#8B008B
ΔE00 7.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#98277C #279843
analogous
#7B2798 #98277C #982744
triadic
#98277C #7C9827 #277C98
tetradic
#98277C #987B27 #279843 #274498
square
#98277C #987B27 #279843 #274498
split-complementary
#98277C #449827 #27987B
monochromatic
#370E2D #671B54 #98277C #C933A4 #D763BA
Accessibility & contrast
On white
7.20
#98277C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.92
#98277C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #98277C
7.20:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##98277C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##98277C | 1.00 | 7.20 | 2.92 | 7.20 |
| #FFFFFF | 7.20 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.92 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.20 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2F4C7E
Deuteranopia (green-blind)
#535E79
Tritanopia (blue-blind)
#A12B4E
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #98277c; /* rgb */ color: rgb(152, 39, 124); /* oklch */ color: oklch(48.1% 0.173 339.8);
Tailwind
colors: {
custom: {
50: '#ba6da2',
500: '#98277c',
950: '#000000',
},
}SCSS
$custom: #98277c; $custom-light: #ba6da2; $custom-dark: #000000;
JSON
{
"hex": "#98277c",
"rgb": {
"r": 152,
"g": 39,
"b": 124
},
"hsl": {
"h": 314.867,
"s": 59.162,
"l": 37.451
},
"oklch": {
"l": 0.48057,
"c": 0.17338,
"h": 339.8
},
"luminance": 0.09582
}Semantic roles & 50–950 ramp
primary
#98277C
secondary
#5EBC76
accent
#E26C45
background
#FBF6FA
surface
#F7ECF3
border
#D0C7CD
text
#12080F
muted
#817B7F