#AF2D54#AF2D54
#AF2D54 is a mid, vivid pink. Relative luminance 0.116; OKLCH L 51.0% C 0.167 H 7.7°. Best body text is #FFFFFF at 6.31:1 contrast (WCAG AA passes).
Color values
| HEX | #AF2D54 |
|---|---|
| RGB | rgb(175, 45, 84) |
| HSL | hsl(342, 59%, 43%) |
| HSV | hsv(342, 74%, 69%) |
| CMYK | cmyk(0%, 74.3%, 52%, 31.4%) |
| CIE-LAB | lab(40.63, 54.39, 8.72) |
| CIE-LCH | lch(40.63, 55.09, 9.11°) |
| OKLab | oklab(50.97% 0.1657 0.0225) |
| OKLCH | oklch(50.97% 0.167 7.7) |
| XYZ | xyz(20.2196, 11.6336, 9.5666) |
| Luminance | 0.1163 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purplish Red
#B0054B
ΔE00 3.50
Light Burgundy
#A8415B
ΔE00 3.51
Raspberry (survey)
#B00149
ΔE00 3.75
Deep Pink
#CB0162
ΔE00 5.63
Light Maroon
#A24857
ΔE00 5.66
Dark Rose
#B5485D
ΔE00 5.82
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF2D54 #2DAF88
analogous
#AF2D95 #AF2D54 #AF472D
triadic
#AF2D54 #54AF2D #2D54AF
tetradic
#AF2D54 #95AF2D #2DAF88 #472DAF
square
#AF2D54 #95AF2D #2DAF88 #472DAF
split-complementary
#AF2D54 #2DAF47 #2D95AF
monochromatic
#4E1425 #7E203D #AF2D54 #D04972 #DD7A97
Accessibility & contrast
On white
6.31
#AF2D54 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.33
#AF2D54 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF2D54
6.31:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF2D54 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF2D54 | 1.00 | 6.31 | 3.33 | 6.31 |
| #FFFFFF | 6.31 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.33 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.31 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4D4F55
Deuteranopia (green-blind)
#6F6951
Tritanopia (blue-blind)
#BF0D3D
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #af2d54; /* rgb */ color: rgb(175, 45, 84); /* oklch */ color: oklch(51.0% 0.167 7.7);
Tailwind
colors: {
custom: {
50: '#cd7183',
500: '#af2d54',
950: '#000000',
},
}SCSS
$custom: #af2d54; $custom-light: #cd7183; $custom-dark: #000000;
JSON
{
"hex": "#af2d54",
"rgb": {
"r": 175,
"g": 45,
"b": 84
},
"hsl": {
"h": 342,
"s": 59.091,
"l": 43.137
},
"oklch": {
"l": 0.50972,
"c": 0.16719,
"h": 7.7
},
"luminance": 0.11631
}Semantic roles & 50–950 ramp
primary
#AF2D54
secondary
#73C5AC
accent
#E2B346
background
#FDF7F8
surface
#FAEDEF
border
#D3C8CA
text
#15080A
muted
#837B7C