#98255F#98255F
#98255F is a mid, vivid pink. Relative luminance 0.088; OKLCH L 46.6% C 0.159 H 354.5°. Best body text is #FFFFFF at 7.59:1 contrast (WCAG AA passes).
Color values
| HEX | #98255F |
|---|---|
| RGB | rgb(152, 37, 95) |
| HSL | hsl(330, 61%, 37%) |
| HSV | hsv(330, 76%, 60%) |
| CMYK | cmyk(0%, 75.7%, 37.5%, 40.4%) |
| CIE-LAB | lab(35.65, 51.58, -6.04) |
| CIE-LCH | lch(35.65, 51.94, 353.32°) |
| OKLab | oklab(46.62% 0.1583 -0.0153) |
| OKLCH | oklch(46.62% 0.159 354.5) |
| XYZ | xyz(15.6770, 8.8267, 11.7024) |
| Luminance | 0.0882 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Dark Fuchsia
#9D0759
ΔE00 2.66
Deep Magenta
#A0025C
ΔE00 2.75
Dark Magenta
#960056
ΔE00 3.42
Reddish Purple
#910951
ΔE00 3.84
Red Violet
#9E0168
ΔE00 4.03
Violet Red
#A50055
ΔE00 4.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#98255F #25985E
analogous
#982598 #98255F #982526
triadic
#98255F #5F9825 #255F98
tetradic
#98255F #989825 #25985E #252698
square
#98255F #989825 #25985E #252698
split-complementary
#98255F #269825 #259898
monochromatic
#360D21 #671940 #98255F #C9317E #D85F9C
Accessibility & contrast
On white
7.59
#98255F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.76
#98255F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #98255F
7.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##98255F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##98255F | 1.00 | 7.59 | 2.76 | 7.59 |
| #FFFFFF | 7.59 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.76 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.59 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3B4661
Deuteranopia (green-blind)
#5B5B5C
Tritanopia (blue-blind)
#A4193F
Achromatopsia (no color)
#545454
Design tokens & code
CSS
--color: #98255f; /* rgb */ color: rgb(152, 37, 95); /* oklch */ color: oklch(46.6% 0.159 354.5);
Tailwind
colors: {
custom: {
50: '#bb6b8c',
500: '#98255f',
950: '#000000',
},
}SCSS
$custom: #98255f; $custom-light: #bb6b8c; $custom-dark: #000000;
JSON
{
"hex": "#98255f",
"rgb": {
"r": 152,
"g": 37,
"b": 95
},
"hsl": {
"h": 329.739,
"s": 60.847,
"l": 37.059
},
"oklch": {
"l": 0.46622,
"c": 0.15904,
"h": 354.5
},
"luminance": 0.08825
}Semantic roles & 50–950 ramp
primary
#98255F
secondary
#5CBD8C
accent
#E49344
background
#FCF6F8
surface
#F8ECF0
border
#D1C7CB
text
#12070C
muted
#817A7D