#AF2C54#AF2C54
#AF2C54 is a mid, vivid pink. Relative luminance 0.116; OKLCH L 50.9% C 0.168 H 7.5°. Best body text is #FFFFFF at 6.34:1 contrast (WCAG AA passes).
Color values
| HEX | #AF2C54 |
|---|---|
| RGB | rgb(175, 44, 84) |
| HSL | hsl(342, 60%, 43%) |
| HSV | hsv(342, 75%, 69%) |
| CMYK | cmyk(0%, 74.9%, 52%, 31.4%) |
| CIE-LAB | lab(40.51, 54.74, 8.55) |
| CIE-LCH | lch(40.51, 55.40, 8.88°) |
| OKLab | oklab(50.88% 0.1668 0.0221) |
| OKLCH | oklch(50.88% 0.168 7.5) |
| XYZ | xyz(20.1819, 11.5582, 9.5540) |
| Luminance | 0.1155 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purplish Red
#B0054B
ΔE00 3.37
Raspberry (survey)
#B00149
ΔE00 3.63
Light Burgundy
#A8415B
ΔE00 3.64
Deep Pink
#CB0162
ΔE00 5.56
Light Maroon
#A24857
ΔE00 5.81
Dark Rose
#B5485D
ΔE00 5.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF2C54 #2CAF87
analogous
#AF2C96 #AF2C54 #AF452C
triadic
#AF2C54 #54AF2C #2C54AF
tetradic
#AF2C54 #96AF2C #2CAF87 #452CAF
square
#AF2C54 #96AF2C #2CAF87 #452CAF
split-complementary
#AF2C54 #2CAF45 #2C96AF
monochromatic
#4D1325 #7E203D #AF2C54 #D14771 #DD7897
Accessibility & contrast
On white
6.34
#AF2C54 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.31
#AF2C54 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF2C54
6.34:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF2C54 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF2C54 | 1.00 | 6.34 | 3.31 | 6.34 |
| #FFFFFF | 6.34 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.31 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.34 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4D4F55
Deuteranopia (green-blind)
#6F6951
Tritanopia (blue-blind)
#BF0A3D
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #af2c54; /* rgb */ color: rgb(175, 44, 84); /* oklch */ color: oklch(50.9% 0.168 7.5);
Tailwind
colors: {
custom: {
50: '#cd7183',
500: '#af2c54',
950: '#000000',
},
}SCSS
$custom: #af2c54; $custom-light: #cd7183; $custom-dark: #000000;
JSON
{
"hex": "#af2c54",
"rgb": {
"r": 175,
"g": 44,
"b": 84
},
"hsl": {
"h": 341.679,
"s": 59.817,
"l": 42.941
},
"oklch": {
"l": 0.50882,
"c": 0.16822,
"h": 7.5
},
"luminance": 0.11555
}Semantic roles & 50–950 ramp
primary
#AF2C54
secondary
#72C5AC
accent
#E3B345
background
#FDF7F8
surface
#FAEDEF
border
#D3C8CA
text
#15080A
muted
#837B7C