#AC2257#AC2257
#AC2257 is a mid, vivid pink. Relative luminance 0.106; OKLCH L 49.6% C 0.176 H 3.8°. Best body text is #FFFFFF at 6.73:1 contrast (WCAG AA passes).
Color values
| HEX | #AC2257 |
|---|---|
| RGB | rgb(172, 34, 87) |
| HSL | hsl(337, 67%, 40%) |
| HSV | hsv(337, 80%, 67%) |
| CMYK | cmyk(0%, 80.2%, 49.4%, 32.5%) |
| CIE-LAB | lab(38.91, 57.25, 4.30) |
| CIE-LCH | lch(38.91, 57.41, 4.29°) |
| OKLab | oklab(49.63% 0.1754 0.0116) |
| OKLCH | oklch(49.63% 0.176 3.8) |
| XYZ | xyz(19.3073, 10.6055, 10.0454) |
| Luminance | 0.1060 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purplish Red
#B0054B
ΔE00 3.20
Raspberry (survey)
#B00149
ΔE00 3.67
Violet Red
#A50055
ΔE00 3.78
Berry
#990F4B
ΔE00 4.81
Light Burgundy
#A8415B
ΔE00 5.34
Purple Red
#990147
ΔE00 5.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AC2257 #22AC77
analogous
#AC229C #AC2257 #AC3222
triadic
#AC2257 #57AC22 #2257AC
tetradic
#AC2257 #9CAC22 #22AC77 #3222AC
square
#AC2257 #9CAC22 #22AC77 #3222AC
split-complementary
#AC2257 #22AC32 #229CAC
monochromatic
#460E23 #79183D #AC2257 #D73473 #E16796
Accessibility & contrast
On white
6.73
#AC2257 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.12
#AC2257 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AC2257
6.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AC2257 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AC2257 | 1.00 | 6.73 | 3.12 | 6.73 |
| #FFFFFF | 6.73 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.12 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.73 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#454A58
Deuteranopia (green-blind)
#6A6554
Tritanopia (blue-blind)
#BB003A
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #ac2257; /* rgb */ color: rgb(172, 34, 87); /* oklch */ color: oklch(49.6% 0.176 3.8);
Tailwind
colors: {
custom: {
50: '#cb6c86',
500: '#ac2257',
950: '#000000',
},
}SCSS
$custom: #ac2257; $custom-light: #cb6c86; $custom-dark: #000000;
JSON
{
"hex": "#ac2257",
"rgb": {
"r": 172,
"g": 34,
"b": 87
},
"hsl": {
"h": 336.957,
"s": 66.99,
"l": 40.392
},
"oklch": {
"l": 0.49628,
"c": 0.17582,
"h": 3.8
},
"luminance": 0.10603
}Semantic roles & 50–950 ramp
primary
#AC2257
secondary
#63C7A0
accent
#EAA83E
background
#FDF6F8
surface
#FAECEF
border
#D3C7CA
text
#14080B
muted
#837A7C