#AB315E#AB315E
#AB315E is a mid, vivid pink. Relative luminance 0.117; OKLCH L 51.0% C 0.161 H 2.4°. Best body text is #FFFFFF at 6.30:1 contrast (WCAG AA passes).
Color values
| HEX | #AB315E |
|---|---|
| RGB | rgb(171, 49, 94) |
| HSL | hsl(338, 55%, 43%) |
| HSV | hsv(338, 71%, 67%) |
| CMYK | cmyk(0%, 71.3%, 45%, 32.9%) |
| CIE-LAB | lab(40.68, 52.67, 2.39) |
| CIE-LCH | lch(40.68, 52.72, 2.60°) |
| OKLab | oklab(50.96% 0.1613 0.0068) |
| OKLCH | oklch(50.96% 0.161 2.4) |
| XYZ | xyz(19.9148, 11.6652, 11.7904) |
| Luminance | 0.1166 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Light Burgundy
#A8415B
ΔE00 4.01
Purplish Red
#B0054B
ΔE00 5.17
Violet Red
#A50055
ΔE00 5.31
Deep Pink
#CB0162
ΔE00 5.60
Raspberry (survey)
#B00149
ΔE00 5.61
Berry
#990F4B
ΔE00 6.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB315E #31AB7E
analogous
#AB319B #AB315E #AB4131
triadic
#AB315E #5EAB31 #315EAB
tetradic
#AB315E #9BAB31 #31AB7E #4131AB
square
#AB315E #9BAB31 #31AB7E #4131AB
split-complementary
#AB315E #31AB41 #319BAB
monochromatic
#4C162A #7B2344 #AB315E #CC4D7C #DA7D9F
Accessibility & contrast
On white
6.30
#AB315E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.33
#AB315E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AB315E
6.30:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB315E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AB315E | 1.00 | 6.30 | 3.33 | 6.30 |
| #FFFFFF | 6.30 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.33 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.30 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4C515F
Deuteranopia (green-blind)
#6C695B
Tritanopia (blue-blind)
#BA1E44
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #ab315e; /* rgb */ color: rgb(171, 49, 94); /* oklch */ color: oklch(51.0% 0.161 2.4);
Tailwind
colors: {
custom: {
50: '#c9738b',
500: '#ab315e',
950: '#000000',
},
}SCSS
$custom: #ab315e; $custom-light: #c9738b; $custom-dark: #000000;
JSON
{
"hex": "#ab315e",
"rgb": {
"r": 171,
"g": 49,
"b": 94
},
"hsl": {
"h": 337.869,
"s": 55.455,
"l": 43.137
},
"oklch": {
"l": 0.50963,
"c": 0.16139,
"h": 2.4
},
"luminance": 0.11663
}Semantic roles & 50–950 ramp
primary
#AB315E
secondary
#75C2A6
accent
#DFA849
background
#FDF7F8
surface
#FAEDF0
border
#D3C8CB
text
#14090C
muted
#837B7D