#98267B#98267B
#98267B is a mid, vivid pink. Relative luminance 0.095; OKLCH L 47.9% C 0.174 H 340.2°. Best body text is #FFFFFF at 7.25:1 contrast (WCAG AA passes).
Color values
| HEX | #98267B |
|---|---|
| RGB | rgb(152, 38, 123) |
| HSL | hsl(315, 60%, 37%) |
| HSV | hsv(315, 75%, 60%) |
| CMYK | cmyk(0%, 75%, 19.1%, 40.4%) |
| CIE-LAB | lab(36.92, 54.82, -21.81) |
| CIE-LCH | lch(36.92, 59.00, 338.31°) |
| OKLab | oklab(47.92% 0.1636 -0.0588) |
| OKLCH | oklch(47.92% 0.174 340.2) |
| XYZ | xyz(17.2176, 9.4934, 19.6607) |
| Luminance | 0.0949 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Warm Purple
#952E8F
ΔE00 4.46
Red Violet
#9E0168
ΔE00 4.88
Barney Purple
#A00498
ΔE00 6.13
Light Eggplant
#894585
ΔE00 6.52
Bruise
#7E4071
ΔE00 6.96
Darkmagenta
#8B008B
ΔE00 7.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#98267B #269843
analogous
#7C2698 #98267B #982642
triadic
#98267B #7B9826 #267B98
tetradic
#98267B #987C26 #269843 #264298
square
#98267B #987C26 #269843 #264298
split-complementary
#98267B #429826 #26987C
monochromatic
#360E2C #671A53 #98267B #C932A3 #D761B9
Accessibility & contrast
On white
7.25
#98267B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.90
#98267B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #98267B
7.25:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##98267B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##98267B | 1.00 | 7.25 | 2.90 | 7.25 |
| #FFFFFF | 7.25 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.90 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.25 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2E4B7D
Deuteranopia (green-blind)
#535D78
Tritanopia (blue-blind)
#A1294D
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #98267b; /* rgb */ color: rgb(152, 38, 123); /* oklch */ color: oklch(47.9% 0.174 340.2);
Tailwind
colors: {
custom: {
50: '#ba6ca1',
500: '#98267b',
950: '#000000',
},
}SCSS
$custom: #98267b; $custom-light: #ba6ca1; $custom-dark: #000000;
JSON
{
"hex": "#98267b",
"rgb": {
"r": 152,
"g": 38,
"b": 123
},
"hsl": {
"h": 315.263,
"s": 60,
"l": 37.255
},
"oklch": {
"l": 0.47921,
"c": 0.17385,
"h": 340.2
},
"luminance": 0.09492
}Semantic roles & 50–950 ramp
primary
#98267B
secondary
#5DBD75
accent
#E36D45
background
#FBF6F9
surface
#F7ECF2
border
#D0C7CC
text
#12080F
muted
#817B7E