#98254C#98254C
#98254C is a mid, vivid pink. Relative luminance 0.085; OKLCH L 46.0% C 0.152 H 5.3°. Best body text is #FFFFFF at 7.77:1 contrast (WCAG AA passes).
Color values
| HEX | #98254C |
|---|---|
| RGB | rgb(152, 37, 76) |
| HSL | hsl(340, 61%, 37%) |
| HSV | hsv(340, 76%, 60%) |
| CMYK | cmyk(0%, 75.7%, 50%, 40.4%) |
| CIE-LAB | lab(35.05, 49.66, 5.32) |
| CIE-LCH | lch(35.05, 49.95, 6.12°) |
| OKLab | oklab(45.98% 0.1518 0.014) |
| OKLCH | oklch(45.98% 0.152 5.3) |
| XYZ | xyz(14.9162, 8.5224, 7.6956) |
| Luminance | 0.0852 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Berry
#990F4B
ΔE00 2.60
Purple Red
#990147
ΔE00 3.17
Violet Red
#A50055
ΔE00 4.29
Purplish Red
#B0054B
ΔE00 4.61
Mulberry
#920A4E
ΔE00 4.64
Raspberry (survey)
#B00149
ΔE00 4.80
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#98254C #259871
analogous
#982586 #98254C #983725
triadic
#98254C #4C9825 #254C98
tetradic
#98254C #869825 #259871 #372598
square
#98254C #869825 #259871 #372598
split-complementary
#98254C #259837 #258698
monochromatic
#360D1B #671933 #98254C #C93165 #D85F88
Accessibility & contrast
On white
7.77
#98254C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.70
#98254C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #98254C
7.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##98254C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##98254C | 1.00 | 7.77 | 2.70 | 7.77 |
| #FFFFFF | 7.77 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.70 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.77 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#41444D
Deuteranopia (green-blind)
#5F5B49
Tritanopia (blue-blind)
#A60B35
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #98254c; /* rgb */ color: rgb(152, 37, 76); /* oklch */ color: oklch(46.0% 0.152 5.3);
Tailwind
colors: {
custom: {
50: '#bc6a7d',
500: '#98254c',
950: '#000000',
},
}SCSS
$custom: #98254c; $custom-light: #bc6a7d; $custom-dark: #000000;
JSON
{
"hex": "#98254c",
"rgb": {
"r": 152,
"g": 37,
"b": 76
},
"hsl": {
"h": 339.652,
"s": 60.847,
"l": 37.059
},
"oklch": {
"l": 0.45984,
"c": 0.15243,
"h": 5.3
},
"luminance": 0.0852
}Semantic roles & 50–950 ramp
primary
#98254C
secondary
#5CBD9C
accent
#E4AE44
background
#FCF6F7
surface
#F8ECEE
border
#D1C7C9
text
#130709
muted
#827A7B