#AF2F50#AF2F50
#AF2F50 is a mid, vivid pink. Relative luminance 0.117; OKLCH L 51.1% C 0.164 H 10.2°. Best body text is #FFFFFF at 6.28:1 contrast (WCAG AA passes).
Color values
| HEX | #AF2F50 |
|---|---|
| RGB | rgb(175, 47, 80) |
| HSL | hsl(345, 58%, 44%) |
| HSV | hsv(345, 73%, 69%) |
| CMYK | cmyk(0%, 73.1%, 54.3%, 31.4%) |
| CIE-LAB | lab(40.78, 53.36, 11.46) |
| CIE-LCH | lch(40.78, 54.58, 12.12°) |
| OKLab | oklab(51.05% 0.1619 0.0291) |
| OKLCH | oklch(51.05% 0.164 10.2) |
| XYZ | xyz(20.1455, 11.7290, 8.7910) |
| Luminance | 0.1173 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Light Burgundy
#A8415B
ΔE00 3.66
Purplish Red
#B0054B
ΔE00 3.98
Raspberry (survey)
#B00149
ΔE00 4.05
Light Maroon
#A24857
ΔE00 5.10
Dark Rose
#B5485D
ΔE00 5.32
Ruby
#CA0147
ΔE00 5.52
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF2F50 #2FAF8E
analogous
#AF2F90 #AF2F50 #AF4E2F
triadic
#AF2F50 #50AF2F #2F50AF
tetradic
#AF2F50 #90AF2F #2FAF8E #4E2FAF
square
#AF2F50 #90AF2F #2FAF8E #4E2FAF
split-complementary
#AF2F50 #2FAF4E #2F90AF
monochromatic
#4F1524 #7F223A #AF2F50 #CF4C6E #DC7C95
Accessibility & contrast
On white
6.28
#AF2F50 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.35
#AF2F50 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF2F50
6.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF2F50 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF2F50 | 1.00 | 6.28 | 3.35 | 6.28 |
| #FFFFFF | 6.28 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.35 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.28 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4F5051
Deuteranopia (green-blind)
#716A4D
Tritanopia (blue-blind)
#BF0F3D
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #af2f50; /* rgb */ color: rgb(175, 47, 80); /* oklch */ color: oklch(51.1% 0.164 10.2);
Tailwind
colors: {
custom: {
50: '#cd7280',
500: '#af2f50',
950: '#000000',
},
}SCSS
$custom: #af2f50; $custom-light: #cd7280; $custom-dark: #000000;
JSON
{
"hex": "#af2f50",
"rgb": {
"r": 175,
"g": 47,
"b": 80
},
"hsl": {
"h": 344.531,
"s": 57.658,
"l": 43.529
},
"oklch": {
"l": 0.51054,
"c": 0.16445,
"h": 10.2
},
"luminance": 0.11726
}Semantic roles & 50–950 ramp
primary
#AF2F50
secondary
#75C4B0
accent
#E1B947
background
#FDF7F7
surface
#FAEDEE
border
#D3C8C9
text
#15080A
muted
#837B7C