#98254F#98254F
#98254F is a mid, vivid pink. Relative luminance 0.086; OKLCH L 46.1% C 0.153 H 3.6°. Best body text is #FFFFFF at 7.74:1 contrast (WCAG AA passes).
Color values
| HEX | #98254F |
|---|---|
| RGB | rgb(152, 37, 79) |
| HSL | hsl(338, 61%, 37%) |
| HSV | hsv(338, 76%, 60%) |
| CMYK | cmyk(0%, 75.7%, 48%, 40.4%) |
| CIE-LAB | lab(35.13, 49.94, 3.50) |
| CIE-LCH | lch(35.13, 50.06, 4.01°) |
| OKLab | oklab(46.07% 0.1529 0.0095) |
| OKLCH | oklch(46.07% 0.153 3.6) |
| XYZ | xyz(15.0230, 8.5651, 8.2578) |
| Luminance | 0.0856 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Berry
#990F4B
ΔE00 2.32
Purple Red
#990147
ΔE00 3.15
Violet Red
#A50055
ΔE00 3.69
Mulberry
#920A4E
ΔE00 4.03
Dark Fuchsia
#9D0759
ΔE00 4.68
Reddish Purple
#910951
ΔE00 4.82
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#98254F #25986E
analogous
#982589 #98254F #983525
triadic
#98254F #4F9825 #254F98
tetradic
#98254F #899825 #25986E #352598
square
#98254F #899825 #25986E #352598
split-complementary
#98254F #259835 #258998
monochromatic
#360D1C #671935 #98254F #C93169 #D85F8B
Accessibility & contrast
On white
7.74
#98254F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.71
#98254F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #98254F
7.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##98254F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##98254F | 1.00 | 7.74 | 2.71 | 7.74 |
| #FFFFFF | 7.74 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.71 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.74 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#404450
Deuteranopia (green-blind)
#5F5B4C
Tritanopia (blue-blind)
#A60D37
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #98254f; /* rgb */ color: rgb(152, 37, 79); /* oklch */ color: oklch(46.1% 0.153 3.6);
Tailwind
colors: {
custom: {
50: '#bc6a80',
500: '#98254f',
950: '#000000',
},
}SCSS
$custom: #98254f; $custom-light: #bc6a80; $custom-dark: #000000;
JSON
{
"hex": "#98254f",
"rgb": {
"r": 152,
"g": 37,
"b": 79
},
"hsl": {
"h": 338.087,
"s": 60.847,
"l": 37.059
},
"oklch": {
"l": 0.46074,
"c": 0.15319,
"h": 3.6
},
"luminance": 0.08563
}Semantic roles & 50–950 ramp
primary
#98254F
secondary
#5CBD9A
accent
#E4A944
background
#FCF6F7
surface
#F8ECEE
border
#D1C7C9
text
#13070A
muted
#827A7C