#98256F#98256F
#98256F is a mid, vivid pink. Relative luminance 0.091; OKLCH L 47.3% C 0.167 H 346.0°. Best body text is #FFFFFF at 7.42:1 contrast (WCAG AA passes).
Color values
| HEX | #98256F |
|---|---|
| RGB | rgb(152, 37, 111) |
| HSL | hsl(321, 61%, 37%) |
| HSV | hsv(321, 76%, 60%) |
| CMYK | cmyk(0%, 75.7%, 27%, 40.4%) |
| CIE-LAB | lab(36.27, 53.52, -15.28) |
| CIE-LCH | lch(36.27, 55.66, 344.07°) |
| OKLab | oklab(47.28% 0.1624 -0.0405) |
| OKLCH | oklch(47.28% 0.167 346) |
| XYZ | xyz(16.4804, 9.1480, 15.9337) |
| Luminance | 0.0915 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 2.95
Deep Magenta
#A0025C
ΔE00 5.22
Dark Fuchsia
#9D0759
ΔE00 5.60
Dark Magenta
#960056
ΔE00 5.82
Reddish Purple
#910951
ΔE00 6.73
Bruise
#7E4071
ΔE00 7.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#98256F #25984E
analogous
#882598 #98256F #982536
triadic
#98256F #6F9825 #256F98
tetradic
#98256F #988825 #25984E #253698
square
#98256F #988825 #25984E #253698
split-complementary
#98256F #369825 #259888
monochromatic
#360D27 #67194B #98256F #C93193 #D85FAD
Accessibility & contrast
On white
7.42
#98256F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.83
#98256F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #98256F
7.42:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##98256F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##98256F | 1.00 | 7.42 | 2.83 | 7.42 |
| #FFFFFF | 7.42 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.83 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.42 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#344971
Deuteranopia (green-blind)
#575C6C
Tritanopia (blue-blind)
#A32247
Achromatopsia (no color)
#555555
Design tokens & code
CSS
--color: #98256f; /* rgb */ color: rgb(152, 37, 111); /* oklch */ color: oklch(47.3% 0.167 346.0);
Tailwind
colors: {
custom: {
50: '#ba6b98',
500: '#98256f',
950: '#000000',
},
}SCSS
$custom: #98256f; $custom-light: #ba6b98; $custom-dark: #000000;
JSON
{
"hex": "#98256f",
"rgb": {
"r": 152,
"g": 37,
"b": 111
},
"hsl": {
"h": 321.391,
"s": 60.847,
"l": 37.059
},
"oklch": {
"l": 0.47276,
"c": 0.16741,
"h": 346
},
"luminance": 0.09146
}Semantic roles & 50–950 ramp
primary
#98256F
secondary
#5CBD7E
accent
#E47D44
background
#FBF6F9
surface
#F7ECF2
border
#D0C7CC
text
#12070D
muted
#817A7E