#AB306E#AB306E
#AB306E is a mid, vivid pink. Relative luminance 0.119; OKLCH L 51.4% C 0.169 H 353.9°. Best body text is #FFFFFF at 6.21:1 contrast (WCAG AA passes).
Color values
| HEX | #AB306E |
|---|---|
| RGB | rgb(171, 48, 110) |
| HSL | hsl(330, 56%, 43%) |
| HSV | hsv(330, 72%, 67%) |
| CMYK | cmyk(0%, 71.9%, 35.7%, 32.9%) |
| CIE-LAB | lab(41.06, 54.73, -7.07) |
| CIE-LCH | lch(41.06, 55.19, 352.64°) |
| OKLab | oklab(51.41% 0.1677 -0.018) |
| OKLCH | oklch(51.41% 0.169 353.9) |
| XYZ | xyz(20.6673, 11.9001, 15.9574) |
| Luminance | 0.1190 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Magenta (survey)
#C20078
ΔE00 4.51
Deep Magenta
#A0025C
ΔE00 5.83
Mediumvioletred
#C71585
ΔE00 6.05
Dark Fuchsia
#9D0759
ΔE00 6.20
Violet Red
#A50055
ΔE00 6.27
Red Violet
#9E0168
ΔE00 6.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB306E #30AB6D
analogous
#AA30AB #AB306E #AB3031
triadic
#AB306E #6EAB30 #306EAB
tetradic
#AB306E #ABAA30 #30AB6D #3031AB
square
#AB306E #ABAA30 #30AB6D #3031AB
split-complementary
#AB306E #31AB30 #30ABAA
monochromatic
#4B1531 #7B234F #AB306E #CD4C8D #DA7BAB
Accessibility & contrast
On white
6.21
#AB306E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.38
#AB306E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AB306E
6.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB306E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AB306E | 1.00 | 6.21 | 3.38 | 6.21 |
| #FFFFFF | 6.21 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.38 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.21 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#465270
Deuteranopia (green-blind)
#68696B
Tritanopia (blue-blind)
#B8254B
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #ab306e; /* rgb */ color: rgb(171, 48, 110); /* oklch */ color: oklch(51.4% 0.169 353.9);
Tailwind
colors: {
custom: {
50: '#c87397',
500: '#ab306e',
950: '#000000',
},
}SCSS
$custom: #ab306e; $custom-light: #c87397; $custom-dark: #000000;
JSON
{
"hex": "#ab306e",
"rgb": {
"r": 171,
"g": 48,
"b": 110
},
"hsl": {
"h": 329.756,
"s": 56.164,
"l": 42.941
},
"oklch": {
"l": 0.51408,
"c": 0.16862,
"h": 353.9
},
"luminance": 0.11898
}Semantic roles & 50–950 ramp
primary
#AB306E
secondary
#74C39B
accent
#DF9348
background
#FCF7F9
surface
#F9EDF2
border
#D2C8CC
text
#14090D
muted
#827B7E