#AF2F58#AF2F58
#AF2F58 is a mid, vivid pink. Relative luminance 0.119; OKLCH L 51.3% C 0.166 H 6.1°. Best body text is #FFFFFF at 6.23:1 contrast (WCAG AA passes).
Color values
| HEX | #AF2F58 |
|---|---|
| RGB | rgb(175, 47, 88) |
| HSL | hsl(341, 58%, 44%) |
| HSV | hsv(341, 73%, 69%) |
| CMYK | cmyk(0%, 73.1%, 49.7%, 31.4%) |
| CIE-LAB | lab(40.98, 54.03, 6.70) |
| CIE-LCH | lch(40.98, 54.45, 7.07°) |
| OKLab | oklab(51.27% 0.1649 0.0176) |
| OKLCH | oklch(51.27% 0.166 6.1) |
| XYZ | xyz(20.4589, 11.8543, 10.4414) |
| Luminance | 0.1185 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Light Burgundy
#A8415B
ΔE00 3.29
Purplish Red
#B0054B
ΔE00 4.02
Raspberry (survey)
#B00149
ΔE00 4.36
Deep Pink
#CB0162
ΔE00 5.22
Light Maroon
#A24857
ΔE00 5.81
Dark Rose
#B5485D
ΔE00 5.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF2F58 #2FAF86
analogous
#AF2F98 #AF2F58 #AF462F
triadic
#AF2F58 #58AF2F #2F58AF
tetradic
#AF2F58 #98AF2F #2FAF86 #462FAF
square
#AF2F58 #98AF2F #2FAF86 #462FAF
split-complementary
#AF2F58 #2FAF46 #2F98AF
monochromatic
#4F1527 #7F2240 #AF2F58 #CF4C76 #DC7C9B
Accessibility & contrast
On white
6.23
#AF2F58 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.37
#AF2F58 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF2F58
6.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF2F58 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF2F58 | 1.00 | 6.23 | 3.37 | 6.23 |
| #FFFFFF | 6.23 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.37 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.23 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4E5059
Deuteranopia (green-blind)
#6F6A55
Tritanopia (blue-blind)
#BF1540
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #af2f58; /* rgb */ color: rgb(175, 47, 88); /* oklch */ color: oklch(51.3% 0.166 6.1);
Tailwind
colors: {
custom: {
50: '#cd7286',
500: '#af2f58',
950: '#000000',
},
}SCSS
$custom: #af2f58; $custom-light: #cd7286; $custom-dark: #000000;
JSON
{
"hex": "#af2f58",
"rgb": {
"r": 175,
"g": 47,
"b": 88
},
"hsl": {
"h": 340.781,
"s": 57.658,
"l": 43.529
},
"oklch": {
"l": 0.51269,
"c": 0.16585,
"h": 6.1
},
"luminance": 0.11852
}Semantic roles & 50–950 ramp
primary
#AF2F58
secondary
#75C4AB
accent
#E1B047
background
#FDF7F8
surface
#FAEDEF
border
#D3C8CA
text
#14090B
muted
#837B7C