#AB307E#AB307E
#AB307E is a mid, vivid pink. Relative luminance 0.123; OKLCH L 52.0% C 0.177 H 346.1°. Best body text is #FFFFFF at 6.08:1 contrast (WCAG AA passes).
Color values
| HEX | #AB307E |
|---|---|
| RGB | rgb(171, 48, 126) |
| HSL | hsl(322, 56%, 43%) |
| HSV | hsv(322, 72%, 67%) |
| CMYK | cmyk(0%, 71.9%, 26.3%, 32.9%) |
| CIE-LAB | lab(41.66, 56.68, -16.08) |
| CIE-LCH | lch(41.66, 58.92, 344.16°) |
| OKLab | oklab(52.05% 0.1718 -0.0426) |
| OKLCH | oklch(52.05% 0.177 346.1) |
| XYZ | xyz(21.6184, 12.2805, 20.9665) |
| Luminance | 0.1228 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Magenta (survey)
#C20078
ΔE00 4.77
Mediumvioletred
#C71585
ΔE00 4.83
Red Violet
#9E0168
ΔE00 6.38
Warm Purple
#952E8F
ΔE00 7.44
Deep Magenta
#A0025C
ΔE00 7.78
Ugly Purple
#A442A0
ΔE00 7.78
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB307E #30AB5D
analogous
#9A30AB #AB307E #AB3041
triadic
#AB307E #7EAB30 #307EAB
tetradic
#AB307E #AB9A30 #30AB5D #3041AB
square
#AB307E #AB9A30 #30AB5D #3041AB
split-complementary
#AB307E #41AB30 #30AB9A
monochromatic
#4B1538 #7B235B #AB307E #CD4C9D #DA7BB7
Accessibility & contrast
On white
6.08
#AB307E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.46
#AB307E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AB307E
6.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB307E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AB307E | 1.00 | 6.08 | 3.46 | 6.08 |
| #FFFFFF | 6.08 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.46 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.08 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3F5580
Deuteranopia (green-blind)
#646A7B
Tritanopia (blue-blind)
#B72D53
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #ab307e; /* rgb */ color: rgb(171, 48, 126); /* oklch */ color: oklch(52.0% 0.177 346.1);
Tailwind
colors: {
custom: {
50: '#c873a3',
500: '#ab307e',
950: '#000000',
},
}SCSS
$custom: #ab307e; $custom-light: #c873a3; $custom-dark: #000000;
JSON
{
"hex": "#ab307e",
"rgb": {
"r": 171,
"g": 48,
"b": 126
},
"hsl": {
"h": 321.951,
"s": 56.164,
"l": 42.941
},
"oklch": {
"l": 0.52046,
"c": 0.177,
"h": 346.1
},
"luminance": 0.12278
}Semantic roles & 50–950 ramp
primary
#AB307E
secondary
#74C391
accent
#DF8048
background
#FCF7FA
surface
#F9EDF3
border
#D2C8CD
text
#14090F
muted
#827B7F