#AB315B#AB315B
#AB315B is a mid, vivid pink. Relative luminance 0.116; OKLCH L 50.9% C 0.161 H 4.0°. Best body text is #FFFFFF at 6.32:1 contrast (WCAG AA passes).
Color values
| HEX | #AB315B |
|---|---|
| RGB | rgb(171, 49, 91) |
| HSL | hsl(339, 55%, 43%) |
| HSV | hsv(339, 71%, 67%) |
| CMYK | cmyk(0%, 71.3%, 46.8%, 32.9%) |
| CIE-LAB | lab(40.59, 52.38, 4.16) |
| CIE-LCH | lch(40.59, 52.54, 4.54°) |
| OKLab | oklab(50.87% 0.1602 0.0112) |
| OKLCH | oklch(50.87% 0.161 4) |
| XYZ | xyz(19.7828, 11.6124, 11.0952) |
| Luminance | 0.1161 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Light Burgundy
#A8415B
ΔE00 3.48
Purplish Red
#B0054B
ΔE00 4.63
Raspberry (survey)
#B00149
ΔE00 5.04
Violet Red
#A50055
ΔE00 5.55
Deep Pink
#CB0162
ΔE00 5.64
Light Maroon
#A24857
ΔE00 6.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB315B #31AB81
analogous
#AB3198 #AB315B #AB4431
triadic
#AB315B #5BAB31 #315BAB
tetradic
#AB315B #98AB31 #31AB81 #4431AB
square
#AB315B #98AB31 #31AB81 #4431AB
split-complementary
#AB315B #31AB44 #3198AB
monochromatic
#4C1628 #7B2342 #AB315B #CC4D79 #DA7D9D
Accessibility & contrast
On white
6.32
#AB315B on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.32
#AB315B on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AB315B
6.32:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB315B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AB315B | 1.00 | 6.32 | 3.32 | 6.32 |
| #FFFFFF | 6.32 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.32 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.32 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4C505C
Deuteranopia (green-blind)
#6D6858
Tritanopia (blue-blind)
#BA1D42
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #ab315b; /* rgb */ color: rgb(171, 49, 91); /* oklch */ color: oklch(50.9% 0.161 4.0);
Tailwind
colors: {
custom: {
50: '#c97389',
500: '#ab315b',
950: '#000000',
},
}SCSS
$custom: #ab315b; $custom-light: #c97389; $custom-dark: #000000;
JSON
{
"hex": "#ab315b",
"rgb": {
"r": 171,
"g": 49,
"b": 91
},
"hsl": {
"h": 339.344,
"s": 55.455,
"l": 43.137
},
"oklch": {
"l": 0.50872,
"c": 0.16055,
"h": 4
},
"luminance": 0.1161
}Semantic roles & 50–950 ramp
primary
#AB315B
secondary
#75C2A8
accent
#DFAB49
background
#FDF7F8
surface
#FAEDF0
border
#D3C8CB
text
#14090B
muted
#837B7C