#AF2F54#AF2F54
#AF2F54 is a mid, vivid pink. Relative luminance 0.118; OKLCH L 51.2% C 0.165 H 8.1°. Best body text is #FFFFFF at 6.25:1 contrast (WCAG AA passes).
Color values
| HEX | #AF2F54 |
|---|---|
| RGB | rgb(175, 47, 84) |
| HSL | hsl(343, 58%, 44%) |
| HSV | hsv(343, 73%, 69%) |
| CMYK | cmyk(0%, 73.1%, 52%, 31.4%) |
| CIE-LAB | lab(40.88, 53.69, 9.08) |
| CIE-LCH | lch(40.88, 54.45, 9.60°) |
| OKLab | oklab(51.16% 0.1634 0.0234) |
| OKLCH | oklch(51.16% 0.165 8.1) |
| XYZ | xyz(20.2977, 11.7899, 9.5926) |
| Luminance | 0.1179 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Light Burgundy
#A8415B
ΔE00 3.26
Purplish Red
#B0054B
ΔE00 3.79
Raspberry (survey)
#B00149
ΔE00 4.01
Light Maroon
#A24857
ΔE00 5.34
Dark Rose
#B5485D
ΔE00 5.47
Deep Pink
#CB0162
ΔE00 5.78
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF2F54 #2FAF8A
analogous
#AF2F94 #AF2F54 #AF4A2F
triadic
#AF2F54 #54AF2F #2F54AF
tetradic
#AF2F54 #94AF2F #2FAF8A #4A2FAF
square
#AF2F54 #94AF2F #2FAF8A #4A2FAF
split-complementary
#AF2F54 #2FAF4A #2F94AF
monochromatic
#4F1526 #7F223D #AF2F54 #CF4C72 #DC7C98
Accessibility & contrast
On white
6.25
#AF2F54 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.36
#AF2F54 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF2F54
6.25:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF2F54 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF2F54 | 1.00 | 6.25 | 3.36 | 6.25 |
| #FFFFFF | 6.25 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.36 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.25 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4E5055
Deuteranopia (green-blind)
#706A51
Tritanopia (blue-blind)
#BF123E
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #af2f54; /* rgb */ color: rgb(175, 47, 84); /* oklch */ color: oklch(51.2% 0.165 8.1);
Tailwind
colors: {
custom: {
50: '#cd7283',
500: '#af2f54',
950: '#000000',
},
}SCSS
$custom: #af2f54; $custom-light: #cd7283; $custom-dark: #000000;
JSON
{
"hex": "#af2f54",
"rgb": {
"r": 175,
"g": 47,
"b": 84
},
"hsl": {
"h": 342.656,
"s": 57.658,
"l": 43.529
},
"oklch": {
"l": 0.51159,
"c": 0.16507,
"h": 8.1
},
"luminance": 0.11787
}Semantic roles & 50–950 ramp
primary
#AF2F54
secondary
#75C4AE
accent
#E1B447
background
#FDF7F8
surface
#FAEDEF
border
#D3C8CA
text
#15090A
muted
#837B7C