#A51B4B#A51B4B
#A51B4B is a mid, vivid pink. Relative luminance 0.093; OKLCH L 47.5% C 0.173 H 7.2°. Best body text is #FFFFFF at 7.35:1 contrast (WCAG AA passes).
Color values
| HEX | #A51B4B |
|---|---|
| RGB | rgb(165, 27, 75) |
| HSL | hsl(339, 72%, 38%) |
| HSV | hsv(339, 84%, 65%) |
| CMYK | cmyk(0%, 83.6%, 54.5%, 35.3%) |
| CIE-LAB | lab(36.54, 56.23, 8.45) |
| CIE-LCH | lch(36.54, 56.86, 8.54°) |
| OKLab | oklab(47.54% 0.1715 0.0217) |
| OKLCH | oklch(47.54% 0.173 7.2) |
| XYZ | xyz(17.1806, 9.2937, 7.5444) |
| Luminance | 0.0929 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purplish Red
#B0054B
ΔE00 2.01
Raspberry (survey)
#B00149
ΔE00 2.18
Berry
#990F4B
ΔE00 3.72
Purple Red
#990147
ΔE00 3.88
Cranberry
#9E003A
ΔE00 4.11
Violet Red
#A50055
ΔE00 4.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A51B4B #1BA575
analogous
#A51B90 #A51B4B #A5301B
triadic
#A51B4B #4BA51B #1B4BA5
tetradic
#A51B4B #90A51B #1BA575 #301BA5
square
#A51B4B #90A51B #1BA575 #301BA5
split-complementary
#A51B4B #1BA530 #1B90A5
monochromatic
#3C0A1B #701233 #A51B4B #DA2463 #E35788
Accessibility & contrast
On white
7.35
#A51B4B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.86
#A51B4B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #A51B4B
7.35:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A51B4B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A51B4B | 1.00 | 7.35 | 2.86 | 7.35 |
| #FFFFFF | 7.35 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.86 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.35 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#42454C
Deuteranopia (green-blind)
#666048
Tritanopia (blue-blind)
#B40031
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #a51b4b; /* rgb */ color: rgb(165, 27, 75); /* oklch */ color: oklch(47.5% 0.173 7.2);
Tailwind
colors: {
custom: {
50: '#c6687d',
500: '#a51b4b',
950: '#000000',
},
}SCSS
$custom: #a51b4b; $custom-light: #c6687d; $custom-dark: #000000;
JSON
{
"hex": "#a51b4b",
"rgb": {
"r": 165,
"g": 27,
"b": 75
},
"hsl": {
"h": 339.13,
"s": 71.875,
"l": 37.647
},
"oklch": {
"l": 0.47538,
"c": 0.17289,
"h": 7.2
},
"luminance": 0.09291
}Semantic roles & 50–950 ramp
primary
#A51B4B
secondary
#55C79F
accent
#EFB039
background
#FDF6F7
surface
#FAECEE
border
#D3C7C9
text
#140709
muted
#837A7B