#98204C#98204C
#98204C is a mid, vivid pink. Relative luminance 0.082; OKLCH L 45.6% C 0.158 H 4.4°. Best body text is #FFFFFF at 7.94:1 contrast (WCAG AA passes).
Color values
| HEX | #98204C |
|---|---|
| RGB | rgb(152, 32, 76) |
| HSL | hsl(338, 65%, 36%) |
| HSV | hsv(338, 79%, 60%) |
| CMYK | cmyk(0%, 78.9%, 50%, 40.4%) |
| CIE-LAB | lab(34.46, 51.31, 4.49) |
| CIE-LCH | lch(34.46, 51.51, 5.00°) |
| OKLab | oklab(45.55% 0.1571 0.012) |
| OKLCH | oklch(45.55% 0.158 4.4) |
| XYZ | xyz(14.7712, 8.2323, 7.6472) |
| Luminance | 0.0823 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Berry
#990F4B
ΔE00 1.77
Purple Red
#990147
ΔE00 2.43
Violet Red
#A50055
ΔE00 3.66
Mulberry
#920A4E
ΔE00 3.84
Purplish Red
#B0054B
ΔE00 4.71
Reddish Purple
#910951
ΔE00 4.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#98204C #20986C
analogous
#982088 #98204C #983020
triadic
#98204C #4C9820 #204C98
tetradic
#98204C #889820 #20986C #302098
square
#98204C #889820 #20986C #302098
split-complementary
#98204C #209830 #208898
monochromatic
#330B19 #651533 #98204C #CB2B65 #DC5787
Accessibility & contrast
On white
7.94
#98204C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.65
#98204C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #98204C
7.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##98204C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##98204C | 1.00 | 7.94 | 2.65 | 7.94 |
| #FFFFFF | 7.94 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.65 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.94 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3E424D
Deuteranopia (green-blind)
#5E5A49
Tritanopia (blue-blind)
#A60033
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #98204c; /* rgb */ color: rgb(152, 32, 76); /* oklch */ color: oklch(45.6% 0.158 4.4);
Tailwind
colors: {
custom: {
50: '#bc687d',
500: '#98204c',
950: '#000000',
},
}SCSS
$custom: #98204c; $custom-light: #bc687d; $custom-dark: #000000;
JSON
{
"hex": "#98204c",
"rgb": {
"r": 152,
"g": 32,
"b": 76
},
"hsl": {
"h": 338,
"s": 65.217,
"l": 36.078
},
"oklch": {
"l": 0.45552,
"c": 0.15753,
"h": 4.4
},
"luminance": 0.0823
}Semantic roles & 50–950 ramp
primary
#98204C
secondary
#54BF98
accent
#E8AA40
background
#FCF6F7
surface
#F8EBEE
border
#D1C6C9
text
#130709
muted
#827A7B