#98254B#98254B
#98254B is a mid, vivid pink. Relative luminance 0.085; OKLCH L 46.0% C 0.152 H 5.9°. Best body text is #FFFFFF at 7.77:1 contrast (WCAG AA passes).
Color values
| HEX | #98254B |
|---|---|
| RGB | rgb(152, 37, 75) |
| HSL | hsl(340, 61%, 37%) |
| HSV | hsv(340, 76%, 60%) |
| CMYK | cmyk(0%, 75.7%, 50.7%, 40.4%) |
| CIE-LAB | lab(35.02, 49.57, 5.93) |
| CIE-LCH | lch(35.02, 49.93, 6.82°) |
| OKLab | oklab(45.95% 0.1514 0.0156) |
| OKLCH | oklch(45.95% 0.152 5.9) |
| XYZ | xyz(14.8817, 8.5086, 7.5139) |
| Luminance | 0.0851 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Berry
#990F4B
ΔE00 2.77
Purple Red
#990147
ΔE00 3.24
Violet Red
#A50055
ΔE00 4.53
Purplish Red
#B0054B
ΔE00 4.53
Raspberry (survey)
#B00149
ΔE00 4.69
Cranberry
#9E003A
ΔE00 4.83
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#98254B #259872
analogous
#982585 #98254B #983925
triadic
#98254B #4B9825 #254B98
tetradic
#98254B #859825 #259872 #392598
square
#98254B #859825 #259872 #392598
split-complementary
#98254B #259839 #258598
monochromatic
#360D1A #671933 #98254B #C93163 #D85F87
Accessibility & contrast
On white
7.77
#98254B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.70
#98254B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #98254B
7.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##98254B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##98254B | 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)
#41444C
Deuteranopia (green-blind)
#5F5B48
Tritanopia (blue-blind)
#A60A35
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #98254b; /* rgb */ color: rgb(152, 37, 75); /* oklch */ color: oklch(46.0% 0.152 5.9);
Tailwind
colors: {
custom: {
50: '#bc6a7d',
500: '#98254b',
950: '#000000',
},
}SCSS
$custom: #98254b; $custom-light: #bc6a7d; $custom-dark: #000000;
JSON
{
"hex": "#98254b",
"rgb": {
"r": 152,
"g": 37,
"b": 75
},
"hsl": {
"h": 340.174,
"s": 60.847,
"l": 37.059
},
"oklch": {
"l": 0.45954,
"c": 0.15219,
"h": 5.9
},
"luminance": 0.08507
}Semantic roles & 50–950 ramp
primary
#98254B
secondary
#5CBD9D
accent
#E4AF44
background
#FCF6F7
surface
#F8ECEE
border
#D1C7C9
text
#130709
muted
#827A7B