#AB267E#AB267E
#AB267E is a mid, vivid pink. Relative luminance 0.116; OKLCH L 51.2% C 0.188 H 345.4°. Best body text is #FFFFFF at 6.34:1 contrast (WCAG AA passes).
Color values
| HEX | #AB267E |
|---|---|
| RGB | rgb(171, 38, 126) |
| HSL | hsl(320, 64%, 41%) |
| HSV | hsv(320, 78%, 67%) |
| CMYK | cmyk(0%, 77.8%, 26.3%, 32.9%) |
| CIE-LAB | lab(40.50, 59.97, -17.86) |
| CIE-LCH | lch(40.50, 62.57, 343.41°) |
| OKLab | oklab(51.2% 0.182 -0.0475) |
| OKLCH | oklch(51.2% 0.188 345.4) |
| XYZ | xyz(21.2545, 11.5529, 20.8452) |
| Luminance | 0.1155 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Magenta (survey)
#C20078
ΔE00 4.79
Mediumvioletred
#C71585
ΔE00 5.10
Red Violet
#9E0168
ΔE00 5.42
Warm Purple
#952E8F
ΔE00 6.79
Deep Magenta
#A0025C
ΔE00 7.28
Barney Purple
#A00498
ΔE00 7.89
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB267E #26AB53
analogous
#9526AB #AB267E #AB263B
triadic
#AB267E #7EAB26 #267EAB
tetradic
#AB267E #AB9526 #26AB53 #263BAB
square
#AB267E #AB9526 #26AB53 #263BAB
split-complementary
#AB267E #3BAB26 #26AB95
monochromatic
#471034 #791B59 #AB267E #D33BA0 #DF6DB8
Accessibility & contrast
On white
6.34
#AB267E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.31
#AB267E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AB267E
6.34:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB267E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AB267E | 1.00 | 6.34 | 3.31 | 6.34 |
| #FFFFFF | 6.34 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.31 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.34 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#385180
Deuteranopia (green-blind)
#61677B
Tritanopia (blue-blind)
#B7234F
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #ab267e; /* rgb */ color: rgb(171, 38, 126); /* oklch */ color: oklch(51.2% 0.188 345.4);
Tailwind
colors: {
custom: {
50: '#c86fa3',
500: '#ab267e',
950: '#000000',
},
}SCSS
$custom: #ab267e; $custom-light: #c86fa3; $custom-dark: #000000;
JSON
{
"hex": "#ab267e",
"rgb": {
"r": 171,
"g": 38,
"b": 126
},
"hsl": {
"h": 320.301,
"s": 63.636,
"l": 40.98
},
"oklch": {
"l": 0.512,
"c": 0.18807,
"h": 345.4
},
"luminance": 0.11551
}Semantic roles & 50–950 ramp
primary
#AB267E
secondary
#68C587
accent
#E77941
background
#FCF7FA
surface
#F9EDF3
border
#D2C8CD
text
#14080F
muted
#827B7F