#AB2861#AB2861
#AB2861 is a mid, vivid pink. Relative luminance 0.110; OKLCH L 50.2% C 0.172 H 359.4°. Best body text is #FFFFFF at 6.55:1 contrast (WCAG AA passes).
Color values
| HEX | #AB2861 |
|---|---|
| RGB | rgb(171, 40, 97) |
| HSL | hsl(334, 62%, 41%) |
| HSV | hsv(334, 77%, 67%) |
| CMYK | cmyk(0%, 76.6%, 43.3%, 32.9%) |
| CIE-LAB | lab(39.65, 56.09, -1.00) |
| CIE-LCH | lch(39.65, 56.10, 358.98°) |
| OKLab | oklab(50.24% 0.1723 -0.0019) |
| OKLCH | oklch(50.24% 0.172 359.4) |
| XYZ | xyz(19.7125, 11.0411, 12.4001) |
| Luminance | 0.1104 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Violet Red
#A50055
ΔE00 4.00
Deep Magenta
#A0025C
ΔE00 4.88
Dark Fuchsia
#9D0759
ΔE00 5.01
Purplish Red
#B0054B
ΔE00 5.71
Berry
#990F4B
ΔE00 5.80
Deep Pink
#CB0162
ΔE00 5.85
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB2861 #28AB72
analogous
#AB28A3 #AB2861 #AB3128
triadic
#AB2861 #61AB28 #2861AB
tetradic
#AB2861 #A3AB28 #28AB72 #3128AB
square
#AB2861 #A3AB28 #28AB72 #3128AB
split-complementary
#AB2861 #28AB31 #28A3AB
monochromatic
#481129 #791C45 #AB2861 #D23E7F #DE70A0
Accessibility & contrast
On white
6.55
#AB2861 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.21
#AB2861 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AB2861
6.55:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB2861 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AB2861 | 1.00 | 6.55 | 3.21 | 6.55 |
| #FFFFFF | 6.55 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.21 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.55 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#454D62
Deuteranopia (green-blind)
#69665E
Tritanopia (blue-blind)
#BA1141
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #ab2861; /* rgb */ color: rgb(171, 40, 97); /* oklch */ color: oklch(50.2% 0.172 359.4);
Tailwind
colors: {
custom: {
50: '#c96f8d',
500: '#ab2861',
950: '#000000',
},
}SCSS
$custom: #ab2861; $custom-light: #c96f8d; $custom-dark: #000000;
JSON
{
"hex": "#ab2861",
"rgb": {
"r": 171,
"g": 40,
"b": 97
},
"hsl": {
"h": 333.893,
"s": 62.085,
"l": 41.373
},
"oklch": {
"l": 0.50235,
"c": 0.17231,
"h": 359.4
},
"luminance": 0.11039
}Semantic roles & 50–950 ramp
primary
#AB2861
secondary
#6AC49D
accent
#E59E43
background
#FDF7F8
surface
#FAEDF0
border
#D3C8CB
text
#14080C
muted
#837B7D