#98174A#98174A
#98174A is a dark, vivid pink. Relative luminance 0.078; OKLCH L 44.9% C 0.165 H 4.1°. Best body text is #FFFFFF at 8.21:1 contrast (WCAG AA passes).
Color values
| HEX | #98174A |
|---|---|
| RGB | rgb(152, 23, 74) |
| HSL | hsl(336, 74%, 34%) |
| HSV | hsv(336, 85%, 60%) |
| CMYK | cmyk(0%, 84.9%, 51.3%, 40.4%) |
| CIE-LAB | lab(33.53, 53.63, 4.46) |
| CIE-LCH | lch(33.53, 53.81, 4.75°) |
| OKLab | oklab(44.85% 0.1644 0.0119) |
| OKLCH | oklch(44.85% 0.165 4.1) |
| XYZ | xyz(14.4926, 7.7847, 7.2167) |
| Luminance | 0.0778 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Berry
#990F4B
ΔE00 0.88
Purple Red
#990147
ΔE00 1.41
Mulberry
#920A4E
ΔE00 3.22
Violet Red
#A50055
ΔE00 3.36
Reddish Purple
#910951
ΔE00 4.22
Dark Fuchsia
#9D0759
ΔE00 4.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#98174A #179865
analogous
#98178B #98174A #982517
triadic
#98174A #4A9817 #174A98
tetradic
#98174A #8B9817 #179865 #251798
square
#98174A #8B9817 #179865 #251798
split-complementary
#98174A #179825 #178B98
monochromatic
#2E0716 #630F30 #98174A #CD1F64 #E34684
Accessibility & contrast
On white
8.21
#98174A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.56
#98174A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #98174A
8.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##98174A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##98174A | 1.00 | 8.21 | 2.56 | 8.21 |
| #FFFFFF | 8.21 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.56 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.21 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3A3F4B
Deuteranopia (green-blind)
#5C5847
Tritanopia (blue-blind)
#A6002F
Achromatopsia (no color)
#4F4F4F
Design tokens & code
CSS
--color: #98174a; /* rgb */ color: rgb(152, 23, 74); /* oklch */ color: oklch(44.9% 0.165 4.1);
Tailwind
colors: {
custom: {
50: '#bc657c',
500: '#98174a',
950: '#000000',
},
}SCSS
$custom: #98174a; $custom-light: #bc657c; $custom-dark: #000000;
JSON
{
"hex": "#98174a",
"rgb": {
"r": 152,
"g": 23,
"b": 74
},
"hsl": {
"h": 336.279,
"s": 73.714,
"l": 34.314
},
"oklch": {
"l": 0.4485,
"c": 0.1648,
"h": 4.1
},
"luminance": 0.07783
}Semantic roles & 50–950 ramp
primary
#98174A
secondary
#47C493
accent
#F0A737
background
#FCF6F7
surface
#F8EBEE
border
#D1C6C9
text
#130609
muted
#827A7B