#98267E#98267E
#98267E is a mid, vivid pink. Relative luminance 0.096; OKLCH L 48.1% C 0.176 H 338.8°. Best body text is #FFFFFF at 7.21:1 contrast (WCAG AA passes).
Color values
| HEX | #98267E |
|---|---|
| RGB | rgb(152, 38, 126) |
| HSL | hsl(314, 60%, 37%) |
| HSV | hsv(314, 75%, 60%) |
| CMYK | cmyk(0%, 75%, 17.1%, 40.4%) |
| CIE-LAB | lab(37.06, 55.25, -23.45) |
| CIE-LCH | lch(37.06, 60.02, 337.00°) |
| OKLab | oklab(48.07% 0.164 -0.0635) |
| OKLCH | oklch(48.07% 0.176 338.8) |
| XYZ | xyz(17.4083, 9.5697, 20.6649) |
| Luminance | 0.0957 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Warm Purple
#952E8F
ΔE00 3.82
Red Violet
#9E0168
ΔE00 5.44
Barney Purple
#A00498
ΔE00 5.52
Light Eggplant
#894585
ΔE00 6.32
Darkmagenta
#8B008B
ΔE00 6.64
Bruise
#7E4071
ΔE00 7.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#98267E #269840
analogous
#792698 #98267E #982645
triadic
#98267E #7E9826 #267E98
tetradic
#98267E #987926 #269840 #264598
square
#98267E #987926 #269840 #264598
split-complementary
#98267E #459826 #269879
monochromatic
#360E2D #671A55 #98267E #C932A7 #D761BC
Accessibility & contrast
On white
7.21
#98267E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.91
#98267E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #98267E
7.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##98267E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##98267E | 1.00 | 7.21 | 2.91 | 7.21 |
| #FFFFFF | 7.21 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.91 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.21 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2C4C80
Deuteranopia (green-blind)
#525E7B
Tritanopia (blue-blind)
#A12B4F
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #98267e; /* rgb */ color: rgb(152, 38, 126); /* oklch */ color: oklch(48.1% 0.176 338.8);
Tailwind
colors: {
custom: {
50: '#ba6ca3',
500: '#98267e',
950: '#000000',
},
}SCSS
$custom: #98267e; $custom-light: #ba6ca3; $custom-dark: #000000;
JSON
{
"hex": "#98267e",
"rgb": {
"r": 152,
"g": 38,
"b": 126
},
"hsl": {
"h": 313.684,
"s": 60,
"l": 37.255
},
"oklch": {
"l": 0.4807,
"c": 0.17588,
"h": 338.8
},
"luminance": 0.09568
}Semantic roles & 50–950 ramp
primary
#98267E
secondary
#5DBD73
accent
#E36945
background
#FBF6FA
surface
#F7ECF4
border
#D0C7CE
text
#12080F
muted
#817B7F