#AB306F#AB306F
#AB306F is a mid, vivid pink. Relative luminance 0.119; OKLCH L 51.4% C 0.169 H 353.4°. Best body text is #FFFFFF at 6.21:1 contrast (WCAG AA passes).
Color values
| HEX | #AB306F |
|---|---|
| RGB | rgb(171, 48, 111) |
| HSL | hsl(329, 56%, 43%) |
| HSV | hsv(329, 72%, 67%) |
| CMYK | cmyk(0%, 71.9%, 35.1%, 32.9%) |
| CIE-LAB | lab(41.09, 54.85, -7.64) |
| CIE-LCH | lch(41.09, 55.38, 352.07°) |
| OKLab | oklab(51.45% 0.1679 -0.0195) |
| OKLCH | oklch(51.45% 0.169 353.4) |
| XYZ | xyz(20.7220, 11.9220, 16.2458) |
| Luminance | 0.1192 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Magenta (survey)
#C20078
ΔE00 4.43
Deep Magenta
#A0025C
ΔE00 5.89
Mediumvioletred
#C71585
ΔE00 5.90
Red Violet
#9E0168
ΔE00 6.23
Dark Fuchsia
#9D0759
ΔE00 6.29
Violet Red
#A50055
ΔE00 6.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB306F #30AB6C
analogous
#A930AB #AB306F #AB3032
triadic
#AB306F #6FAB30 #306FAB
tetradic
#AB306F #ABA930 #30AB6C #3032AB
square
#AB306F #ABA930 #30AB6C #3032AB
split-complementary
#AB306F #32AB30 #30ABA9
monochromatic
#4B1531 #7B2350 #AB306F #CD4C8E #DA7BAC
Accessibility & contrast
On white
6.21
#AB306F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.38
#AB306F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AB306F
6.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB306F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AB306F | 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)
#465371
Deuteranopia (green-blind)
#68696C
Tritanopia (blue-blind)
#B8264B
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #ab306f; /* rgb */ color: rgb(171, 48, 111); /* oklch */ color: oklch(51.4% 0.169 353.4);
Tailwind
colors: {
custom: {
50: '#c87398',
500: '#ab306f',
950: '#000000',
},
}SCSS
$custom: #ab306f; $custom-light: #c87398; $custom-dark: #000000;
JSON
{
"hex": "#ab306f",
"rgb": {
"r": 171,
"g": 48,
"b": 111
},
"hsl": {
"h": 329.268,
"s": 56.164,
"l": 42.941
},
"oklch": {
"l": 0.51446,
"c": 0.16908,
"h": 353.4
},
"luminance": 0.1192
}Semantic roles & 50–950 ramp
primary
#AB306F
secondary
#74C39A
accent
#DF9248
background
#FCF7F9
surface
#F9EDF2
border
#D2C8CC
text
#14090D
muted
#827B7E