#98257E#98257E
#98257E is a mid, vivid pink. Relative luminance 0.095; OKLCH L 48.0% C 0.177 H 338.8°. Best body text is #FFFFFF at 7.24:1 contrast (WCAG AA passes).
Color values
| HEX | #98257E |
|---|---|
| RGB | rgb(152, 37, 126) |
| HSL | hsl(314, 61%, 37%) |
| HSV | hsv(314, 76%, 60%) |
| CMYK | cmyk(0%, 75.7%, 17.1%, 40.4%) |
| CIE-LAB | lab(36.94, 55.58, -23.64) |
| CIE-LCH | lch(36.94, 60.40, 336.96°) |
| OKLab | oklab(47.99% 0.165 -0.064) |
| OKLCH | oklch(47.99% 0.177 338.8) |
| XYZ | xyz(17.3768, 9.5066, 20.6544) |
| Luminance | 0.0950 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Warm Purple
#952E8F
ΔE00 3.82
Red Violet
#9E0168
ΔE00 5.41
Barney Purple
#A00498
ΔE00 5.44
Light Eggplant
#894585
ΔE00 6.43
Darkmagenta
#8B008B
ΔE00 6.53
Bruise
#7E4071
ΔE00 7.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#98257E #25983F
analogous
#792598 #98257E #982545
triadic
#98257E #7E9825 #257E98
tetradic
#98257E #987925 #25983F #254598
square
#98257E #987925 #25983F #254598
split-complementary
#98257E #459825 #259879
monochromatic
#360D2C #671955 #98257E #C931A7 #D85FBD
Accessibility & contrast
On white
7.24
#98257E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.90
#98257E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #98257E
7.24:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##98257E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##98257E | 1.00 | 7.24 | 2.90 | 7.24 |
| #FFFFFF | 7.24 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.90 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.24 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2B4B80
Deuteranopia (green-blind)
#525D7B
Tritanopia (blue-blind)
#A12A4F
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #98257e; /* rgb */ color: rgb(152, 37, 126); /* oklch */ color: oklch(48.0% 0.177 338.8);
Tailwind
colors: {
custom: {
50: '#ba6ca3',
500: '#98257e',
950: '#000000',
},
}SCSS
$custom: #98257e; $custom-light: #ba6ca3; $custom-dark: #000000;
JSON
{
"hex": "#98257e",
"rgb": {
"r": 152,
"g": 37,
"b": 126
},
"hsl": {
"h": 313.565,
"s": 60.847,
"l": 37.059
},
"oklch": {
"l": 0.47985,
"c": 0.177,
"h": 338.8
},
"luminance": 0.09505
}Semantic roles & 50–950 ramp
primary
#98257E
secondary
#5CBD72
accent
#E46844
background
#FBF6FA
surface
#F7ECF4
border
#D0C7CE
text
#12070F
muted
#817A7F