#98267F#98267F
#98267F is a mid, vivid pink. Relative luminance 0.096; OKLCH L 48.1% C 0.177 H 338.4°. Best body text is #FFFFFF at 7.19:1 contrast (WCAG AA passes).
Color values
| HEX | #98267F |
|---|---|
| RGB | rgb(152, 38, 127) |
| HSL | hsl(313, 60%, 37%) |
| HSV | hsv(313, 75%, 60%) |
| CMYK | cmyk(0%, 75%, 16.4%, 40.4%) |
| CIE-LAB | lab(37.11, 55.40, -24.00) |
| CIE-LCH | lch(37.11, 60.37, 336.57°) |
| OKLab | oklab(48.12% 0.1641 -0.0651) |
| OKLCH | oklch(48.12% 0.177 338.4) |
| XYZ | xyz(17.4732, 9.5956, 21.0065) |
| Luminance | 0.0959 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Warm Purple
#952E8F
ΔE00 3.60
Barney Purple
#A00498
ΔE00 5.32
Red Violet
#9E0168
ΔE00 5.63
Light Eggplant
#894585
ΔE00 6.27
Darkmagenta
#8B008B
ΔE00 6.48
Bruise
#7E4071
ΔE00 7.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#98267F #26983F
analogous
#782698 #98267F #982646
triadic
#98267F #7F9826 #267F98
tetradic
#98267F #987826 #26983F #264698
square
#98267F #987826 #26983F #264698
split-complementary
#98267F #469826 #269878
monochromatic
#360E2D #671A56 #98267F #C932A8 #D761BD
Accessibility & contrast
On white
7.19
#98267F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.92
#98267F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #98267F
7.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##98267F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##98267F | 1.00 | 7.19 | 2.92 | 7.19 |
| #FFFFFF | 7.19 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.92 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.19 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2C4C81
Deuteranopia (green-blind)
#525E7C
Tritanopia (blue-blind)
#A12C50
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #98267f; /* rgb */ color: rgb(152, 38, 127); /* oklch */ color: oklch(48.1% 0.177 338.4);
Tailwind
colors: {
custom: {
50: '#ba6ca4',
500: '#98267f',
950: '#000000',
},
}SCSS
$custom: #98267f; $custom-light: #ba6ca4; $custom-dark: #000000;
JSON
{
"hex": "#98267f",
"rgb": {
"r": 152,
"g": 38,
"b": 127
},
"hsl": {
"h": 313.158,
"s": 60,
"l": 37.255
},
"oklch": {
"l": 0.4812,
"c": 0.17657,
"h": 338.4
},
"luminance": 0.09594
}Semantic roles & 50–950 ramp
primary
#98267F
secondary
#5DBD72
accent
#E36745
background
#FBF6FA
surface
#F7ECF4
border
#D0C7CE
text
#12080F
muted
#817B7F