#AC2851#AC2851
#AC2851 is a mid, vivid pink. Relative luminance 0.109; OKLCH L 49.9% C 0.169 H 7.7°. Best body text is #FFFFFF at 6.61:1 contrast (WCAG AA passes).
Color values
| HEX | #AC2851 |
|---|---|
| RGB | rgb(172, 40, 81) |
| HSL | hsl(341, 62%, 42%) |
| HSV | hsv(341, 77%, 67%) |
| CMYK | cmyk(0%, 76.7%, 52.9%, 32.5%) |
| CIE-LAB | lab(39.39, 54.94, 8.79) |
| CIE-LCH | lch(39.39, 55.64, 9.09°) |
| OKLab | oklab(49.93% 0.1674 0.0226) |
| OKLCH | oklch(49.93% 0.169 7.7) |
| XYZ | xyz(19.2590, 10.8850, 8.8699) |
| Luminance | 0.1088 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purplish Red
#B0054B
ΔE00 2.64
Raspberry (survey)
#B00149
ΔE00 2.89
Light Burgundy
#A8415B
ΔE00 4.28
Violet Red
#A50055
ΔE00 5.77
Berry
#990F4B
ΔE00 5.86
Cranberry
#9E003A
ΔE00 5.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AC2851 #28AC83
analogous
#AC2893 #AC2851 #AC4128
triadic
#AC2851 #51AC28 #2851AC
tetradic
#AC2851 #93AC28 #28AC83 #4128AC
square
#AC2851 #93AC28 #28AC83 #4128AC
split-complementary
#AC2851 #28AC41 #2893AC
monochromatic
#491122 #7A1C3A #AC2851 #D23F6D #DE7192
Accessibility & contrast
On white
6.61
#AC2851 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.18
#AC2851 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AC2851
6.61:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AC2851 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AC2851 | 1.00 | 6.61 | 3.18 | 6.61 |
| #FFFFFF | 6.61 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.18 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.61 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4A4C52
Deuteranopia (green-blind)
#6C664E
Tritanopia (blue-blind)
#BC003A
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #ac2851; /* rgb */ color: rgb(172, 40, 81); /* oklch */ color: oklch(49.9% 0.169 7.7);
Tailwind
colors: {
custom: {
50: '#cb6e81',
500: '#ac2851',
950: '#000000',
},
}SCSS
$custom: #ac2851; $custom-light: #cb6e81; $custom-dark: #000000;
JSON
{
"hex": "#ac2851",
"rgb": {
"r": 172,
"g": 40,
"b": 81
},
"hsl": {
"h": 341.364,
"s": 62.264,
"l": 41.569
},
"oklch": {
"l": 0.49927,
"c": 0.1689,
"h": 7.7
},
"luminance": 0.10882
}Semantic roles & 50–950 ramp
primary
#AC2851
secondary
#6BC5A9
accent
#E5B342
background
#FDF7F7
surface
#FAEDEE
border
#D3C8C9
text
#14080A
muted
#837B7C