#98247B#98247B
#98247B is a mid, vivid pink. Relative luminance 0.094; OKLCH L 47.8% C 0.176 H 340.1°. Best body text is #FFFFFF at 7.31:1 contrast (WCAG AA passes).
Color values
| HEX | #98247B |
|---|---|
| RGB | rgb(152, 36, 123) |
| HSL | hsl(315, 62%, 37%) |
| HSV | hsv(315, 76%, 60%) |
| CMYK | cmyk(0%, 76.3%, 19.1%, 40.4%) |
| CIE-LAB | lab(36.69, 55.48, -22.17) |
| CIE-LCH | lch(36.69, 59.74, 338.22°) |
| OKLab | oklab(47.75% 0.1656 -0.0598) |
| OKLCH | oklch(47.75% 0.176 340.1) |
| XYZ | xyz(17.1554, 9.3689, 19.6399) |
| Luminance | 0.0937 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Warm Purple
#952E8F
ΔE00 4.45
Red Violet
#9E0168
ΔE00 4.81
Barney Purple
#A00498
ΔE00 5.98
Light Eggplant
#894585
ΔE00 6.71
Darkmagenta
#8B008B
ΔE00 6.91
Bruise
#7E4071
ΔE00 7.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#98247B #249841
analogous
#7B2498 #98247B #982441
triadic
#98247B #7B9824 #247B98
tetradic
#98247B #987B24 #249841 #244198
square
#98247B #987B24 #249841 #244198
split-complementary
#98247B #419824 #24987B
monochromatic
#350D2B #671853 #98247B #C930A3 #D95EBA
Accessibility & contrast
On white
7.31
#98247B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.87
#98247B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #98247B
7.31:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##98247B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##98247B | 1.00 | 7.31 | 2.87 | 7.31 |
| #FFFFFF | 7.31 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.87 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.31 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2D4B7D
Deuteranopia (green-blind)
#525D78
Tritanopia (blue-blind)
#A1284D
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #98247b; /* rgb */ color: rgb(152, 36, 123); /* oklch */ color: oklch(47.8% 0.176 340.1);
Tailwind
colors: {
custom: {
50: '#ba6ba1',
500: '#98247b',
950: '#000000',
},
}SCSS
$custom: #98247b; $custom-light: #ba6ba1; $custom-dark: #000000;
JSON
{
"hex": "#98247b",
"rgb": {
"r": 152,
"g": 36,
"b": 123
},
"hsl": {
"h": 315,
"s": 61.702,
"l": 36.863
},
"oklch": {
"l": 0.47753,
"c": 0.17607,
"h": 340.1
},
"luminance": 0.09367
}Semantic roles & 50–950 ramp
primary
#98247B
secondary
#5ABE73
accent
#E56B43
background
#FBF6F9
surface
#F7ECF2
border
#D0C7CC
text
#12070F
muted
#817A7E