#AB237E#AB237E
#AB237E is a mid, vivid pink. Relative luminance 0.114; OKLCH L 51.0% C 0.191 H 345.2°. Best body text is #FFFFFF at 6.42:1 contrast (WCAG AA passes).
Color values
| HEX | #AB237E |
|---|---|
| RGB | rgb(171, 35, 126) |
| HSL | hsl(320, 66%, 40%) |
| HSV | hsv(320, 80%, 67%) |
| CMYK | cmyk(0%, 79.5%, 26.3%, 32.9%) |
| CIE-LAB | lab(40.19, 60.83, -18.32) |
| CIE-LCH | lch(40.19, 63.53, 343.24°) |
| OKLab | oklab(50.98% 0.1847 -0.0488) |
| OKLCH | oklch(50.98% 0.191 345.2) |
| XYZ | xyz(21.1625, 11.3687, 20.8145) |
| Luminance | 0.1137 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Magenta (survey)
#C20078
ΔE00 4.87
Red Violet
#9E0168
ΔE00 5.22
Mediumvioletred
#C71585
ΔE00 5.24
Warm Purple
#952E8F
ΔE00 6.67
Deep Magenta
#A0025C
ΔE00 7.19
Barney Purple
#A00498
ΔE00 7.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB237E #23AB50
analogous
#9423AB #AB237E #AB233A
triadic
#AB237E #7EAB23 #237EAB
tetradic
#AB237E #AB9423 #23AB50 #233AAB
square
#AB237E #AB9423 #23AB50 #233AAB
split-complementary
#AB237E #3AAB23 #23AB94
monochromatic
#450E33 #781959 #AB237E #D635A1 #E068B8
Accessibility & contrast
On white
6.42
#AB237E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.27
#AB237E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AB237E
6.42:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB237E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AB237E | 1.00 | 6.42 | 3.27 | 6.42 |
| #FFFFFF | 6.42 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.27 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.42 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#365080
Deuteranopia (green-blind)
#60677B
Tritanopia (blue-blind)
#B7204E
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #ab237e; /* rgb */ color: rgb(171, 35, 126); /* oklch */ color: oklch(51.0% 0.191 345.2);
Tailwind
colors: {
custom: {
50: '#c86ea3',
500: '#ab237e',
950: '#000000',
},
}SCSS
$custom: #ab237e; $custom-light: #c86ea3; $custom-dark: #000000;
JSON
{
"hex": "#ab237e",
"rgb": {
"r": 171,
"g": 35,
"b": 126
},
"hsl": {
"h": 319.853,
"s": 66.019,
"l": 40.392
},
"oklch": {
"l": 0.50982,
"c": 0.19099,
"h": 345.2
},
"luminance": 0.11366
}Semantic roles & 50–950 ramp
primary
#AB237E
secondary
#64C684
accent
#E9773F
background
#FCF7FA
surface
#F9EDF3
border
#D2C8CD
text
#14080F
muted
#827B7F