#98267C#98267C
#98267C is a mid, vivid pink. Relative luminance 0.095; OKLCH L 48.0% C 0.175 H 339.7°. Best body text is #FFFFFF at 7.23:1 contrast (WCAG AA passes).
Color values
| HEX | #98267C |
|---|---|
| RGB | rgb(152, 38, 124) |
| HSL | hsl(315, 60%, 37%) |
| HSV | hsv(315, 75%, 60%) |
| CMYK | cmyk(0%, 75%, 18.4%, 40.4%) |
| CIE-LAB | lab(36.96, 54.96, -22.36) |
| CIE-LCH | lch(36.96, 59.33, 337.86°) |
| OKLab | oklab(47.97% 0.1637 -0.0604) |
| OKLCH | oklch(47.97% 0.175 339.7) |
| XYZ | xyz(17.2806, 9.5186, 19.9921) |
| Luminance | 0.0952 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Warm Purple
#952E8F
ΔE00 4.25
Red Violet
#9E0168
ΔE00 5.06
Barney Purple
#A00498
ΔE00 5.93
Light Eggplant
#894585
ΔE00 6.45
Darkmagenta
#8B008B
ΔE00 6.96
Bruise
#7E4071
ΔE00 7.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#98267C #269842
analogous
#7B2698 #98267C #982643
triadic
#98267C #7C9826 #267C98
tetradic
#98267C #987B26 #269842 #264398
square
#98267C #987B26 #269842 #264398
split-complementary
#98267C #439826 #26987B
monochromatic
#360E2C #671A54 #98267C #C932A4 #D761BA
Accessibility & contrast
On white
7.23
#98267C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.90
#98267C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #98267C
7.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##98267C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##98267C | 1.00 | 7.23 | 2.90 | 7.23 |
| #FFFFFF | 7.23 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.90 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.23 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2E4B7E
Deuteranopia (green-blind)
#535D79
Tritanopia (blue-blind)
#A12A4E
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #98267c; /* rgb */ color: rgb(152, 38, 124); /* oklch */ color: oklch(48.0% 0.175 339.7);
Tailwind
colors: {
custom: {
50: '#ba6ca2',
500: '#98267c',
950: '#000000',
},
}SCSS
$custom: #98267c; $custom-light: #ba6ca2; $custom-dark: #000000;
JSON
{
"hex": "#98267c",
"rgb": {
"r": 152,
"g": 38,
"b": 124
},
"hsl": {
"h": 314.737,
"s": 60,
"l": 37.255
},
"oklch": {
"l": 0.4797,
"c": 0.17453,
"h": 339.7
},
"luminance": 0.09517
}Semantic roles & 50–950 ramp
primary
#98267C
secondary
#5DBD75
accent
#E36C45
background
#FBF6FA
surface
#F7ECF3
border
#D0C7CD
text
#12080F
muted
#817B7F