#AF2E50#AF2E50
#AF2E50 is a mid, vivid pink. Relative luminance 0.116; OKLCH L 51.0% C 0.166 H 10.0°. Best body text is #FFFFFF at 6.31:1 contrast (WCAG AA passes).
Color values
| HEX | #AF2E50 |
|---|---|
| RGB | rgb(175, 46, 80) |
| HSL | hsl(344, 58%, 43%) |
| HSV | hsv(344, 74%, 69%) |
| CMYK | cmyk(0%, 73.7%, 54.3%, 31.4%) |
| CIE-LAB | lab(40.65, 53.72, 11.28) |
| CIE-LCH | lch(40.65, 54.89, 11.86°) |
| OKLab | oklab(50.96% 0.163 0.0286) |
| OKLCH | oklch(50.96% 0.166 10) |
| XYZ | xyz(20.1060, 11.6499, 8.7778) |
| Luminance | 0.1165 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Light Burgundy
#A8415B
ΔE00 3.74
Purplish Red
#B0054B
ΔE00 3.80
Raspberry (survey)
#B00149
ΔE00 3.88
Light Maroon
#A24857
ΔE00 5.25
Dark Rose
#B5485D
ΔE00 5.47
Ruby
#CA0147
ΔE00 5.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF2E50 #2EAF8D
analogous
#AF2E90 #AF2E50 #AF4C2E
triadic
#AF2E50 #50AF2E #2E50AF
tetradic
#AF2E50 #90AF2E #2EAF8D #4C2EAF
square
#AF2E50 #90AF2E #2EAF8D #4C2EAF
split-complementary
#AF2E50 #2EAF4C #2E90AF
monochromatic
#4E1524 #7F213A #AF2E50 #D04B6E #DC7B95
Accessibility & contrast
On white
6.31
#AF2E50 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.33
#AF2E50 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF2E50
6.31:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF2E50 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF2E50 | 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)
#4F4F51
Deuteranopia (green-blind)
#70694D
Tritanopia (blue-blind)
#BF0C3C
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #af2e50; /* rgb */ color: rgb(175, 46, 80); /* oklch */ color: oklch(51.0% 0.166 10.0);
Tailwind
colors: {
custom: {
50: '#cd7180',
500: '#af2e50',
950: '#000000',
},
}SCSS
$custom: #af2e50; $custom-light: #cd7180; $custom-dark: #000000;
JSON
{
"hex": "#af2e50",
"rgb": {
"r": 175,
"g": 46,
"b": 80
},
"hsl": {
"h": 344.186,
"s": 58.371,
"l": 43.333
},
"oklch": {
"l": 0.5096,
"c": 0.1655,
"h": 10
},
"luminance": 0.11647
}Semantic roles & 50–950 ramp
primary
#AF2E50
secondary
#74C5AF
accent
#E2B946
background
#FDF7F7
surface
#FAEDEE
border
#D3C8C9
text
#15080A
muted
#837B7C