#AB267F#AB267F
#AB267F is a mid, vivid pink. Relative luminance 0.116; OKLCH L 51.2% C 0.189 H 344.9°. Best body text is #FFFFFF at 6.33:1 contrast (WCAG AA passes).
Color values
| HEX | #AB267F |
|---|---|
| RGB | rgb(171, 38, 127) |
| HSL | hsl(320, 64%, 41%) |
| HSV | hsv(320, 78%, 67%) |
| CMYK | cmyk(0%, 77.8%, 25.7%, 32.9%) |
| CIE-LAB | lab(40.54, 60.09, -18.41) |
| CIE-LCH | lch(40.54, 62.85, 342.96°) |
| OKLab | oklab(51.25% 0.1822 -0.049) |
| OKLCH | oklch(51.25% 0.189 344.9) |
| XYZ | xyz(21.3194, 11.5788, 21.1868) |
| Luminance | 0.1158 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Magenta (survey)
#C20078
ΔE00 4.92
Mediumvioletred
#C71585
ΔE00 5.13
Red Violet
#9E0168
ΔE00 5.54
Warm Purple
#952E8F
ΔE00 6.61
Deep Magenta
#A0025C
ΔE00 7.46
Barney Purple
#A00498
ΔE00 7.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB267F #26AB52
analogous
#9426AB #AB267F #AB263C
triadic
#AB267F #7FAB26 #267FAB
tetradic
#AB267F #AB9426 #26AB52 #263CAB
square
#AB267F #AB9426 #26AB52 #263CAB
split-complementary
#AB267F #3CAB26 #26AB94
monochromatic
#471035 #791B5A #AB267F #D33BA1 #DF6DB9
Accessibility & contrast
On white
6.33
#AB267F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.32
#AB267F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AB267F
6.33:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB267F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AB267F | 1.00 | 6.33 | 3.32 | 6.33 |
| #FFFFFF | 6.33 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.32 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.33 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#385181
Deuteranopia (green-blind)
#60687C
Tritanopia (blue-blind)
#B72450
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #ab267f; /* rgb */ color: rgb(171, 38, 127); /* oklch */ color: oklch(51.2% 0.189 344.9);
Tailwind
colors: {
custom: {
50: '#c86fa4',
500: '#ab267f',
950: '#000000',
},
}SCSS
$custom: #ab267f; $custom-light: #c86fa4; $custom-dark: #000000;
JSON
{
"hex": "#ab267f",
"rgb": {
"r": 171,
"g": 38,
"b": 127
},
"hsl": {
"h": 319.85,
"s": 63.636,
"l": 40.98
},
"oklch": {
"l": 0.51245,
"c": 0.18865,
"h": 344.9
},
"luminance": 0.11576
}Semantic roles & 50–950 ramp
primary
#AB267F
secondary
#68C587
accent
#E77841
background
#FCF7FA
surface
#F9EDF4
border
#D2C8CE
text
#14080F
muted
#827B7F