#AC2251#AC2251
#AC2251 is a mid, vivid pink. Relative luminance 0.105; OKLCH L 49.5% C 0.174 H 6.7°. Best body text is #FFFFFF at 6.77:1 contrast (WCAG AA passes).
Color values
| HEX | #AC2251 |
|---|---|
| RGB | rgb(172, 34, 81) |
| HSL | hsl(340, 67%, 40%) |
| HSV | hsv(340, 80%, 67%) |
| CMYK | cmyk(0%, 80.2%, 52.9%, 32.5%) |
| CIE-LAB | lab(38.75, 56.75, 7.89) |
| CIE-LCH | lch(38.75, 57.30, 7.92°) |
| OKLab | oklab(49.46% 0.1732 0.0204) |
| OKLCH | oklch(49.46% 0.174 6.7) |
| XYZ | xyz(19.0723, 10.5115, 8.8076) |
| Luminance | 0.1051 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purplish Red
#B0054B
ΔE00 2.06
Raspberry (survey)
#B00149
ΔE00 2.42
Violet Red
#A50055
ΔE00 4.89
Light Burgundy
#A8415B
ΔE00 5.01
Berry
#990F4B
ΔE00 5.13
Purple Red
#990147
ΔE00 5.50
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AC2251 #22AC7D
analogous
#AC2296 #AC2251 #AC3822
triadic
#AC2251 #51AC22 #2251AC
tetradic
#AC2251 #96AC22 #22AC7D #3822AC
square
#AC2251 #96AC22 #22AC7D #3822AC
split-complementary
#AC2251 #22AC38 #2296AC
monochromatic
#460E21 #791839 #AC2251 #D7346C #E16791
Accessibility & contrast
On white
6.77
#AC2251 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.10
#AC2251 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AC2251
6.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AC2251 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AC2251 | 1.00 | 6.77 | 3.10 | 6.77 |
| #FFFFFF | 6.77 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.10 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.77 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#474A52
Deuteranopia (green-blind)
#6B654E
Tritanopia (blue-blind)
#BC0037
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #ac2251; /* rgb */ color: rgb(172, 34, 81); /* oklch */ color: oklch(49.5% 0.174 6.7);
Tailwind
colors: {
custom: {
50: '#cb6c81',
500: '#ac2251',
950: '#000000',
},
}SCSS
$custom: #ac2251; $custom-light: #cb6c81; $custom-dark: #000000;
JSON
{
"hex": "#ac2251",
"rgb": {
"r": 172,
"g": 34,
"b": 81
},
"hsl": {
"h": 339.565,
"s": 66.99,
"l": 40.392
},
"oklch": {
"l": 0.49455,
"c": 0.17442,
"h": 6.7
},
"luminance": 0.10509
}Semantic roles & 50–950 ramp
primary
#AC2251
secondary
#63C7A5
accent
#EAAF3E
background
#FDF6F7
surface
#FAECEE
border
#D3C7C9
text
#14080A
muted
#837A7C