#A51F6F#A51F6F
#A51F6F is a mid, vivid pink. Relative luminance 0.101; OKLCH L 49.0% C 0.183 H 349.9°. Best body text is #FFFFFF at 6.94:1 contrast (WCAG AA passes).
Color values
| HEX | #A51F6F |
|---|---|
| RGB | rgb(165, 31, 111) |
| HSL | hsl(324, 68%, 38%) |
| HSV | hsv(324, 81%, 65%) |
| CMYK | cmyk(0%, 81.2%, 32.7%, 35.3%) |
| CIE-LAB | lab(38.07, 58.65, -12.30) |
| CIE-LCH | lch(38.07, 59.92, 348.15°) |
| OKLab | oklab(49.04% 0.1797 -0.0321) |
| OKLCH | oklch(49.04% 0.183 349.9) |
| XYZ | xyz(18.8774, 10.1293, 15.9969) |
| Luminance | 0.1013 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 3.03
Deep Magenta
#A0025C
ΔE00 4.23
Dark Fuchsia
#9D0759
ΔE00 4.82
Magenta (survey)
#C20078
ΔE00 5.15
Dark Magenta
#960056
ΔE00 5.71
Violet Red
#A50055
ΔE00 6.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A51F6F #1FA555
analogous
#981FA5 #A51F6F #A51F2C
triadic
#A51F6F #6FA51F #1F6FA5
tetradic
#A51F6F #A5981F #1FA555 #1F2CA5
square
#A51F6F #A5981F #1FA555 #1F2CA5
split-complementary
#A51F6F #2CA51F #1FA598
monochromatic
#3E0C2A #71154C #A51F6F #D72A91 #E15EAC
Accessibility & contrast
On white
6.94
#A51F6F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.03
#A51F6F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A51F6F
6.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A51F6F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A51F6F | 1.00 | 6.94 | 3.03 | 6.94 |
| #FFFFFF | 6.94 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.03 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.94 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#384B71
Deuteranopia (green-blind)
#5F626C
Tritanopia (blue-blind)
#B21345
Achromatopsia (no color)
#5A5A5A
Design tokens & code
CSS
--color: #a51f6f; /* rgb */ color: rgb(165, 31, 111); /* oklch */ color: oklch(49.0% 0.183 349.9);
Tailwind
colors: {
custom: {
50: '#c46b98',
500: '#a51f6f',
950: '#000000',
},
}SCSS
$custom: #a51f6f; $custom-light: #c46b98; $custom-dark: #000000;
JSON
{
"hex": "#a51f6f",
"rgb": {
"r": 165,
"g": 31,
"b": 111
},
"hsl": {
"h": 324.179,
"s": 68.367,
"l": 38.431
},
"oklch": {
"l": 0.49037,
"c": 0.18253,
"h": 349.9
},
"luminance": 0.10127
}Semantic roles & 50–950 ramp
primary
#A51F6F
secondary
#5BC586
accent
#EB833D
background
#FCF6F9
surface
#F9ECF2
border
#D2C7CC
text
#13080D
muted
#827A7E