#AF3052#AF3052
#AF3052 is a mid, vivid pink. Relative luminance 0.118; OKLCH L 51.2% C 0.164 H 9.4°. Best body text is #FFFFFF at 6.24:1 contrast (WCAG AA passes).
Color values
| HEX | #AF3052 |
|---|---|
| RGB | rgb(175, 48, 82) |
| HSL | hsl(344, 57%, 44%) |
| HSV | hsv(344, 73%, 69%) |
| CMYK | cmyk(0%, 72.6%, 53.1%, 31.4%) |
| CIE-LAB | lab(40.96, 53.16, 10.45) |
| CIE-LCH | lch(40.96, 54.18, 11.12°) |
| OKLab | oklab(51.2% 0.1615 0.0267) |
| OKLCH | oklch(51.2% 0.164 9.4) |
| XYZ | xyz(20.2610, 11.8398, 9.1994) |
| Luminance | 0.1184 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Light Burgundy
#A8415B
ΔE00 3.32
Purplish Red
#B0054B
ΔE00 4.01
Raspberry (survey)
#B00149
ΔE00 4.14
Light Maroon
#A24857
ΔE00 5.04
Dark Rose
#B5485D
ΔE00 5.20
Ruby
#CA0147
ΔE00 5.82
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF3052 #30AF8D
analogous
#AF3091 #AF3052 #AF4D30
triadic
#AF3052 #52AF30 #3052AF
tetradic
#AF3052 #91AF30 #30AF8D #4D30AF
square
#AF3052 #91AF30 #30AF8D #4D30AF
split-complementary
#AF3052 #30AF4D #3091AF
monochromatic
#4F1625 #7F233B #AF3052 #CE4E70 #DC7E97
Accessibility & contrast
On white
6.24
#AF3052 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.37
#AF3052 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF3052
6.24:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF3052 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF3052 | 1.00 | 6.24 | 3.37 | 6.24 |
| #FFFFFF | 6.24 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.37 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.24 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4F5053
Deuteranopia (green-blind)
#716A4F
Tritanopia (blue-blind)
#BF133E
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #af3052; /* rgb */ color: rgb(175, 48, 82); /* oklch */ color: oklch(51.2% 0.164 9.4);
Tailwind
colors: {
custom: {
50: '#cd7282',
500: '#af3052',
950: '#000000',
},
}SCSS
$custom: #af3052; $custom-light: #cd7282; $custom-dark: #000000;
JSON
{
"hex": "#af3052",
"rgb": {
"r": 175,
"g": 48,
"b": 82
},
"hsl": {
"h": 343.937,
"s": 56.951,
"l": 43.725
},
"oklch": {
"l": 0.51202,
"c": 0.16366,
"h": 9.4
},
"luminance": 0.11837
}Semantic roles & 50–950 ramp
primary
#AF3052
secondary
#76C4AF
accent
#E0B748
background
#FDF7F7
surface
#FAEDEE
border
#D3C8C9
text
#15090A
muted
#837B7C