#AB2862#AB2862
#AB2862 is a mid, vivid pink. Relative luminance 0.111; OKLCH L 50.3% C 0.173 H 358.8°. Best body text is #FFFFFF at 6.54:1 contrast (WCAG AA passes).
Color values
| HEX | #AB2862 |
|---|---|
| RGB | rgb(171, 40, 98) |
| HSL | hsl(333, 62%, 41%) |
| HSV | hsv(333, 77%, 67%) |
| CMYK | cmyk(0%, 76.6%, 42.7%, 32.9%) |
| CIE-LAB | lab(39.68, 56.19, -1.58) |
| CIE-LCH | lch(39.68, 56.22, 358.39°) |
| OKLab | oklab(50.27% 0.1726 -0.0035) |
| OKLCH | oklch(50.27% 0.173 358.8) |
| XYZ | xyz(19.7595, 11.0599, 12.6472) |
| Luminance | 0.1106 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Violet Red
#A50055
ΔE00 4.06
Deep Magenta
#A0025C
ΔE00 4.80
Dark Fuchsia
#9D0759
ΔE00 4.95
Magenta (survey)
#C20078
ΔE00 5.76
Berry
#990F4B
ΔE00 5.93
Deep Pink
#CB0162
ΔE00 5.94
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB2862 #28AB71
analogous
#AB28A4 #AB2862 #AB3028
triadic
#AB2862 #62AB28 #2862AB
tetradic
#AB2862 #A4AB28 #28AB71 #3028AB
square
#AB2862 #A4AB28 #28AB71 #3028AB
split-complementary
#AB2862 #28AB30 #28A4AB
monochromatic
#481129 #791C46 #AB2862 #D23E80 #DE70A0
Accessibility & contrast
On white
6.54
#AB2862 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.21
#AB2862 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AB2862
6.54:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB2862 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AB2862 | 1.00 | 6.54 | 3.21 | 6.54 |
| #FFFFFF | 6.54 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.21 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.54 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#454E63
Deuteranopia (green-blind)
#69665F
Tritanopia (blue-blind)
#B91242
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #ab2862; /* rgb */ color: rgb(171, 40, 98); /* oklch */ color: oklch(50.3% 0.173 358.8);
Tailwind
colors: {
custom: {
50: '#c96f8e',
500: '#ab2862',
950: '#000000',
},
}SCSS
$custom: #ab2862; $custom-light: #c96f8e; $custom-dark: #000000;
JSON
{
"hex": "#ab2862",
"rgb": {
"r": 171,
"g": 40,
"b": 98
},
"hsl": {
"h": 333.435,
"s": 62.085,
"l": 41.373
},
"oklch": {
"l": 0.50268,
"c": 0.17266,
"h": 358.8
},
"luminance": 0.11057
}Semantic roles & 50–950 ramp
primary
#AB2862
secondary
#6AC49D
accent
#E59D43
background
#FDF7F8
surface
#FAEDF0
border
#D3C8CB
text
#14080C
muted
#837B7D