#AB2F6D#AB2F6D
#AB2F6D is a mid, vivid pink. Relative luminance 0.118; OKLCH L 51.3% C 0.169 H 354.2°. Best body text is #FFFFFF at 6.25:1 contrast (WCAG AA passes).
Color values
| HEX | #AB2F6D |
|---|---|
| RGB | rgb(171, 47, 109) |
| HSL | hsl(330, 57%, 43%) |
| HSV | hsv(330, 73%, 67%) |
| CMYK | cmyk(0%, 72.5%, 36.3%, 32.9%) |
| CIE-LAB | lab(40.89, 54.98, -6.69) |
| CIE-LCH | lch(40.89, 55.39, 353.06°) |
| OKLab | oklab(51.28% 0.1685 -0.017) |
| OKLCH | oklch(51.28% 0.169 354.2) |
| XYZ | xyz(20.5727, 11.7975, 15.6588) |
| Luminance | 0.1179 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Magenta (survey)
#C20078
ΔE00 4.53
Deep Magenta
#A0025C
ΔE00 5.64
Dark Fuchsia
#9D0759
ΔE00 6.01
Violet Red
#A50055
ΔE00 6.04
Mediumvioletred
#C71585
ΔE00 6.16
Red Violet
#9E0168
ΔE00 6.23
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB2F6D #2FAB6D
analogous
#AB2FAB #AB2F6D #AB2F2F
triadic
#AB2F6D #6DAB2F #2F6DAB
tetradic
#AB2F6D #ABAB2F #2FAB6D #2F2FAB
square
#AB2F6D #ABAB2F #2FAB6D #2F2FAB
split-complementary
#AB2F6D #2FAB2F #2FABAB
monochromatic
#4B1530 #7B224E #AB2F6D #CD4A8C #DA7AAA
Accessibility & contrast
On white
6.25
#AB2F6D on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.36
#AB2F6D on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AB2F6D
6.25:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB2F6D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AB2F6D | 1.00 | 6.25 | 3.36 | 6.25 |
| #FFFFFF | 6.25 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.36 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.25 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#46526F
Deuteranopia (green-blind)
#68696A
Tritanopia (blue-blind)
#B8234A
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #ab2f6d; /* rgb */ color: rgb(171, 47, 109); /* oklch */ color: oklch(51.3% 0.169 354.2);
Tailwind
colors: {
custom: {
50: '#c97296',
500: '#ab2f6d',
950: '#000000',
},
}SCSS
$custom: #ab2f6d; $custom-light: #c97296; $custom-dark: #000000;
JSON
{
"hex": "#ab2f6d",
"rgb": {
"r": 171,
"g": 47,
"b": 109
},
"hsl": {
"h": 330,
"s": 56.881,
"l": 42.745
},
"oklch": {
"l": 0.51276,
"c": 0.16936,
"h": 354.2
},
"luminance": 0.11795
}Semantic roles & 50–950 ramp
primary
#AB2F6D
secondary
#73C39B
accent
#E09448
background
#FCF7F9
surface
#F9EDF2
border
#D2C8CC
text
#14090D
muted
#827B7E