#AB2662#AB2662
#AB2662 is a mid, vivid pink. Relative luminance 0.109; OKLCH L 50.1% C 0.175 H 358.6°. Best body text is #FFFFFF at 6.59:1 contrast (WCAG AA passes).
Color values
| HEX | #AB2662 |
|---|---|
| RGB | rgb(171, 38, 98) |
| HSL | hsl(333, 64%, 41%) |
| HSV | hsv(333, 78%, 67%) |
| CMYK | cmyk(0%, 77.8%, 42.7%, 32.9%) |
| CIE-LAB | lab(39.46, 56.82, -1.91) |
| CIE-LCH | lch(39.46, 56.85, 358.08°) |
| OKLab | oklab(50.11% 0.1746 -0.0043) |
| OKLCH | oklch(50.11% 0.175 358.6) |
| XYZ | xyz(19.6938, 10.9286, 12.6253) |
| Luminance | 0.1093 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Violet Red
#A50055
ΔE00 3.86
Deep Magenta
#A0025C
ΔE00 4.53
Dark Fuchsia
#9D0759
ΔE00 4.71
Magenta (survey)
#C20078
ΔE00 5.65
Berry
#990F4B
ΔE00 5.82
Purplish Red
#B0054B
ΔE00 5.99
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB2662 #26AB6F
analogous
#AB26A4 #AB2662 #AB2C26
triadic
#AB2662 #62AB26 #2662AB
tetradic
#AB2662 #A4AB26 #26AB6F #2C26AB
square
#AB2662 #A4AB26 #26AB6F #2C26AB
split-complementary
#AB2662 #26AB2C #26A4AB
monochromatic
#471029 #791B45 #AB2662 #D33B80 #DF6DA0
Accessibility & contrast
On white
6.59
#AB2662 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.19
#AB2662 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AB2662
6.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB2662 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AB2662 | 1.00 | 6.59 | 3.19 | 6.59 |
| #FFFFFF | 6.59 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.19 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.59 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#444D63
Deuteranopia (green-blind)
#68665F
Tritanopia (blue-blind)
#B90D41
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #ab2662; /* rgb */ color: rgb(171, 38, 98); /* oklch */ color: oklch(50.1% 0.175 358.6);
Tailwind
colors: {
custom: {
50: '#c96e8e',
500: '#ab2662',
950: '#000000',
},
}SCSS
$custom: #ab2662; $custom-light: #c96e8e; $custom-dark: #000000;
JSON
{
"hex": "#ab2662",
"rgb": {
"r": 171,
"g": 38,
"b": 98
},
"hsl": {
"h": 332.932,
"s": 63.636,
"l": 40.98
},
"oklch": {
"l": 0.50106,
"c": 0.17469,
"h": 358.6
},
"luminance": 0.10926
}Semantic roles & 50–950 ramp
primary
#AB2662
secondary
#68C59B
accent
#E79C41
background
#FDF7F8
surface
#FAEDF0
border
#D3C8CB
text
#14080C
muted
#837B7D