#AF3057#AF3057
#AF3057 is a mid, vivid pink. Relative luminance 0.119; OKLCH L 51.3% C 0.165 H 6.8°. Best body text is #FFFFFF at 6.21:1 contrast (WCAG AA passes).
Color values
| HEX | #AF3057 |
|---|---|
| RGB | rgb(175, 48, 87) |
| HSL | hsl(342, 57%, 44%) |
| HSV | hsv(342, 73%, 69%) |
| CMYK | cmyk(0%, 72.6%, 50.3%, 31.4%) |
| CIE-LAB | lab(41.09, 53.59, 7.48) |
| CIE-LCH | lch(41.09, 54.11, 7.95°) |
| OKLab | oklab(51.34% 0.1634 0.0195) |
| OKLCH | oklch(51.34% 0.165 6.8) |
| XYZ | xyz(20.4582, 11.9187, 10.2382) |
| Luminance | 0.1192 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Light Burgundy
#A8415B
ΔE00 3.09
Purplish Red
#B0054B
ΔE00 4.05
Raspberry (survey)
#B00149
ΔE00 4.35
Deep Pink
#CB0162
ΔE00 5.40
Light Maroon
#A24857
ΔE00 5.51
Dark Rose
#B5485D
ΔE00 5.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF3057 #30AF88
analogous
#AF3096 #AF3057 #AF4830
triadic
#AF3057 #57AF30 #3057AF
tetradic
#AF3057 #96AF30 #30AF88 #4830AF
square
#AF3057 #96AF30 #30AF88 #4830AF
split-complementary
#AF3057 #30AF48 #3096AF
monochromatic
#4F1627 #7F233F #AF3057 #CE4E75 #DC7E9B
Accessibility & contrast
On white
6.21
#AF3057 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.38
#AF3057 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF3057
6.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF3057 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF3057 | 1.00 | 6.21 | 3.38 | 6.21 |
| #FFFFFF | 6.21 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.38 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.21 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4E5158
Deuteranopia (green-blind)
#706A54
Tritanopia (blue-blind)
#BF1640
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #af3057; /* rgb */ color: rgb(175, 48, 87); /* oklch */ color: oklch(51.3% 0.165 6.8);
Tailwind
colors: {
custom: {
50: '#cd7286',
500: '#af3057',
950: '#000000',
},
}SCSS
$custom: #af3057; $custom-light: #cd7286; $custom-dark: #000000;
JSON
{
"hex": "#af3057",
"rgb": {
"r": 175,
"g": 48,
"b": 87
},
"hsl": {
"h": 341.575,
"s": 56.951,
"l": 43.725
},
"oklch": {
"l": 0.51337,
"c": 0.16455,
"h": 6.8
},
"luminance": 0.11916
}Semantic roles & 50–950 ramp
primary
#AF3057
secondary
#76C4AC
accent
#E0B148
background
#FDF7F8
surface
#FAEDEF
border
#D3C8CA
text
#14090B
muted
#837B7C