#AB306A#AB306A
#AB306A is a mid, vivid pink. Relative luminance 0.118; OKLCH L 51.3% C 0.167 H 355.9°. Best body text is #FFFFFF at 6.25:1 contrast (WCAG AA passes).
Color values
| HEX | #AB306A |
|---|---|
| RGB | rgb(171, 48, 106) |
| HSL | hsl(332, 56%, 43%) |
| HSV | hsv(332, 72%, 67%) |
| CMYK | cmyk(0%, 71.9%, 38%, 32.9%) |
| CIE-LAB | lab(40.92, 54.28, -4.78) |
| CIE-LCH | lch(40.92, 54.49, 354.97°) |
| OKLab | oklab(51.26% 0.1664 -0.0119) |
| OKLCH | oklch(51.26% 0.167 355.9) |
| XYZ | xyz(20.4544, 11.8149, 14.8362) |
| Luminance | 0.1181 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Magenta (survey)
#C20078
ΔE00 4.99
Deep Magenta
#A0025C
ΔE00 5.69
Violet Red
#A50055
ΔE00 5.71
Dark Fuchsia
#9D0759
ΔE00 5.98
Deep Pink
#CB0162
ΔE00 6.63
Red Violet
#9E0168
ΔE00 6.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB306A #30AB71
analogous
#AB30A7 #AB306A #AB3330
triadic
#AB306A #6AAB30 #306AAB
tetradic
#AB306A #A7AB30 #30AB71 #3330AB
square
#AB306A #A7AB30 #30AB71 #3330AB
split-complementary
#AB306A #30AB33 #30A7AB
monochromatic
#4B152F #7B234C #AB306A #CD4C88 #DA7BA8
Accessibility & contrast
On white
6.25
#AB306A on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.36
#AB306A on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AB306A
6.25:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB306A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AB306A | 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)
#47526C
Deuteranopia (green-blind)
#696967
Tritanopia (blue-blind)
#B92349
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #ab306a; /* rgb */ color: rgb(171, 48, 106); /* oklch */ color: oklch(51.3% 0.167 355.9);
Tailwind
colors: {
custom: {
50: '#c97294',
500: '#ab306a',
950: '#000000',
},
}SCSS
$custom: #ab306a; $custom-light: #c97294; $custom-dark: #000000;
JSON
{
"hex": "#ab306a",
"rgb": {
"r": 171,
"g": 48,
"b": 106
},
"hsl": {
"h": 331.707,
"s": 56.164,
"l": 42.941
},
"oklch": {
"l": 0.51263,
"c": 0.16687,
"h": 355.9
},
"luminance": 0.11812
}Semantic roles & 50–950 ramp
primary
#AB306A
secondary
#74C39E
accent
#DF9848
background
#FCF7F9
surface
#F9EDF1
border
#D2C8CB
text
#14090D
muted
#827B7E