#AB315A#AB315A
#AB315A is a mid, vivid pink. Relative luminance 0.116; OKLCH L 50.8% C 0.160 H 4.5°. Best body text is #FFFFFF at 6.33:1 contrast (WCAG AA passes).
Color values
| HEX | #AB315A |
|---|---|
| RGB | rgb(171, 49, 90) |
| HSL | hsl(340, 55%, 43%) |
| HSV | hsv(340, 71%, 67%) |
| CMYK | cmyk(0%, 71.3%, 47.4%, 32.9%) |
| CIE-LAB | lab(40.57, 52.28, 4.75) |
| CIE-LCH | lch(40.57, 52.50, 5.19°) |
| OKLab | oklab(50.84% 0.1598 0.0127) |
| OKLCH | oklch(50.84% 0.16 4.5) |
| XYZ | xyz(19.7399, 11.5953, 10.8695) |
| Luminance | 0.1159 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Light Burgundy
#A8415B
ΔE00 3.33
Purplish Red
#B0054B
ΔE00 4.48
Raspberry (survey)
#B00149
ΔE00 4.87
Violet Red
#A50055
ΔE00 5.65
Deep Pink
#CB0162
ΔE00 5.69
Light Maroon
#A24857
ΔE00 5.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB315A #31AB82
analogous
#AB3197 #AB315A #AB4531
triadic
#AB315A #5AAB31 #315AAB
tetradic
#AB315A #97AB31 #31AB82 #4531AB
square
#AB315A #97AB31 #31AB82 #4531AB
split-complementary
#AB315A #31AB45 #3197AB
monochromatic
#4C1628 #7B2341 #AB315A #CC4D78 #DA7D9C
Accessibility & contrast
On white
6.33
#AB315A on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.32
#AB315A on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AB315A
6.33:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB315A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AB315A | 1.00 | 6.33 | 3.32 | 6.33 |
| #FFFFFF | 6.33 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.32 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.33 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4D505B
Deuteranopia (green-blind)
#6D6857
Tritanopia (blue-blind)
#BA1C42
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #ab315a; /* rgb */ color: rgb(171, 49, 90); /* oklch */ color: oklch(50.8% 0.160 4.5);
Tailwind
colors: {
custom: {
50: '#c97288',
500: '#ab315a',
950: '#000000',
},
}SCSS
$custom: #ab315a; $custom-light: #c97288; $custom-dark: #000000;
JSON
{
"hex": "#ab315a",
"rgb": {
"r": 171,
"g": 49,
"b": 90
},
"hsl": {
"h": 339.836,
"s": 55.455,
"l": 43.137
},
"oklch": {
"l": 0.50842,
"c": 0.16029,
"h": 4.5
},
"luminance": 0.11593
}Semantic roles & 50–950 ramp
primary
#AB315A
secondary
#75C2A9
accent
#DFAC49
background
#FDF7F8
surface
#FAEDEF
border
#D3C8CA
text
#14090B
muted
#837B7C