#AB276A#AB276A
#AB276A is a mid, vivid pink. Relative luminance 0.112; OKLCH L 50.5% C 0.177 H 354.8°. Best body text is #FFFFFF at 6.50:1 contrast (WCAG AA passes).
Color values
| HEX | #AB276A |
|---|---|
| RGB | rgb(171, 39, 106) |
| HSL | hsl(330, 63%, 41%) |
| HSV | hsv(330, 77%, 67%) |
| CMYK | cmyk(0%, 77.2%, 38%, 32.9%) |
| CIE-LAB | lab(39.84, 57.33, -6.39) |
| CIE-LCH | lch(39.84, 57.69, 353.64°) |
| OKLab | oklab(50.47% 0.1761 -0.0161) |
| OKLCH | oklch(50.47% 0.177 354.8) |
| XYZ | xyz(20.1230, 11.1521, 14.7258) |
| Luminance | 0.1115 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Magenta (survey)
#C20078
ΔE00 4.43
Deep Magenta
#A0025C
ΔE00 4.56
Dark Fuchsia
#9D0759
ΔE00 4.97
Violet Red
#A50055
ΔE00 5.02
Red Violet
#9E0168
ΔE00 5.38
Dark Magenta
#960056
ΔE00 6.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB276A #27AB68
analogous
#AA27AB #AB276A #AB2728
triadic
#AB276A #6AAB27 #276AAB
tetradic
#AB276A #ABAA27 #27AB68 #2728AB
square
#AB276A #ABAA27 #27AB68 #2728AB
split-complementary
#AB276A #28AB27 #27ABAA
monochromatic
#47102C #791C4B #AB276A #D33D89 #DE6EA7
Accessibility & contrast
On white
6.50
#AB276A on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.23
#AB276A on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AB276A
6.50:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB276A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AB276A | 1.00 | 6.50 | 3.23 | 6.50 |
| #FFFFFF | 6.50 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.23 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.50 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#424E6C
Deuteranopia (green-blind)
#666767
Tritanopia (blue-blind)
#B91645
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #ab276a; /* rgb */ color: rgb(171, 39, 106); /* oklch */ color: oklch(50.5% 0.177 354.8);
Tailwind
colors: {
custom: {
50: '#c96f94',
500: '#ab276a',
950: '#000000',
},
}SCSS
$custom: #ab276a; $custom-light: #c96f94; $custom-dark: #000000;
JSON
{
"hex": "#ab276a",
"rgb": {
"r": 171,
"g": 39,
"b": 106
},
"hsl": {
"h": 329.545,
"s": 62.857,
"l": 41.176
},
"oklch": {
"l": 0.50468,
"c": 0.17687,
"h": 354.8
},
"luminance": 0.1115
}Semantic roles & 50–950 ramp
primary
#AB276A
secondary
#69C596
accent
#E69342
background
#FDF7F9
surface
#FAEDF1
border
#D3C8CB
text
#14080D
muted
#837B7E