#AB315F#AB315F
#AB315F is a mid, vivid pink. Relative luminance 0.117; OKLCH L 51.0% C 0.162 H 1.9°. Best body text is #FFFFFF at 6.29:1 contrast (WCAG AA passes).
Color values
| HEX | #AB315F |
|---|---|
| RGB | rgb(171, 49, 95) |
| HSL | hsl(337, 55%, 43%) |
| HSV | hsv(337, 71%, 67%) |
| CMYK | cmyk(0%, 71.3%, 44.4%, 32.9%) |
| CIE-LAB | lab(40.71, 52.76, 1.81) |
| CIE-LCH | lch(40.71, 52.80, 1.96°) |
| OKLab | oklab(50.99% 0.1616 0.0053) |
| OKLCH | oklch(50.99% 0.162 1.9) |
| XYZ | xyz(19.9600, 11.6833, 12.0283) |
| Luminance | 0.1168 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Light Burgundy
#A8415B
ΔE00 4.21
Violet Red
#A50055
ΔE00 5.27
Purplish Red
#B0054B
ΔE00 5.37
Deep Pink
#CB0162
ΔE00 5.61
Raspberry (survey)
#B00149
ΔE00 5.82
Berry
#990F4B
ΔE00 6.44
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB315F #31AB7D
analogous
#AB319C #AB315F #AB4031
triadic
#AB315F #5FAB31 #315FAB
tetradic
#AB315F #9CAB31 #31AB7D #4031AB
square
#AB315F #9CAB31 #31AB7D #4031AB
split-complementary
#AB315F #31AB40 #319CAB
monochromatic
#4C162A #7B2345 #AB315F #CC4D7D #DA7DA0
Accessibility & contrast
On white
6.29
#AB315F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.34
#AB315F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AB315F
6.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB315F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AB315F | 1.00 | 6.29 | 3.34 | 6.29 |
| #FFFFFF | 6.29 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.34 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.29 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4B5160
Deuteranopia (green-blind)
#6C695C
Tritanopia (blue-blind)
#BA1F44
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #ab315f; /* rgb */ color: rgb(171, 49, 95); /* oklch */ color: oklch(51.0% 0.162 1.9);
Tailwind
colors: {
custom: {
50: '#c9738c',
500: '#ab315f',
950: '#000000',
},
}SCSS
$custom: #ab315f; $custom-light: #c9738c; $custom-dark: #000000;
JSON
{
"hex": "#ab315f",
"rgb": {
"r": 171,
"g": 49,
"b": 95
},
"hsl": {
"h": 337.377,
"s": 55.455,
"l": 43.137
},
"oklch": {
"l": 0.50994,
"c": 0.16169,
"h": 1.9
},
"luminance": 0.11681
}Semantic roles & 50–950 ramp
primary
#AB315F
secondary
#75C2A5
accent
#DFA649
background
#FDF7F8
surface
#FAEDF0
border
#D3C8CB
text
#14090C
muted
#837B7D