#AF4971#AF4971
#AF4971 is a mid, vivid pink. Relative luminance 0.151; OKLCH L 55.0% C 0.139 H 358.2°. Best body text is #FFFFFF at 5.23:1 contrast (WCAG AA passes).
Color values
| HEX | #AF4971 |
|---|---|
| RGB | rgb(175, 73, 113) |
| HSL | hsl(336, 41%, 49%) |
| HSV | hsv(336, 58%, 69%) |
| CMYK | cmyk(0%, 58.3%, 35.4%, 31.4%) |
| CIE-LAB | lab(45.73, 45.68, -1.92) |
| CIE-LCH | lch(45.73, 45.72, 357.60°) |
| OKLab | oklab(55.03% 0.1392 -0.0044) |
| OKLCH | oklch(55.03% 0.139 358.2) |
| XYZ | xyz(23.0436, 15.0737, 17.3155) |
| Luminance | 0.1507 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Light Burgundy
#A8415B
ΔE00 5.60
Dark Pink
#CB416B
ΔE00 6.36
Dark Rose
#B5485D
ΔE00 6.81
Deep Rose
#C74767
ΔE00 6.94
Light Plum
#9D5783
ΔE00 7.00
Light Maroon
#A24857
ΔE00 7.56
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF4971 #49AF87
analogous
#AF49A4 #AF4971 #AF5449
triadic
#AF4971 #71AF49 #4971AF
tetradic
#AF4971 #A4AF49 #49AF87 #5449AF
square
#AF4971 #A4AF49 #49AF87 #5449AF
split-complementary
#AF4971 #49AF54 #49A4AF
monochromatic
#592539 #843755 #AF4971 #C47192 #D69CB3
Accessibility & contrast
On white
5.23
#AF4971 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.01
#AF4971 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF4971
5.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF4971 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF4971 | 1.00 | 5.23 | 4.01 | 5.23 |
| #FFFFFF | 5.23 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.01 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.23 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5A6072
Deuteranopia (green-blind)
#75736F
Tritanopia (blue-blind)
#BC4158
Achromatopsia (no color)
#6C6C6C
Design tokens & code
CSS
--color: #af4971; /* rgb */ color: rgb(175, 73, 113); /* oklch */ color: oklch(55.0% 0.139 358.2);
Tailwind
colors: {
custom: {
50: '#ca8099',
500: '#af4971',
950: '#000000',
},
}SCSS
$custom: #af4971; $custom-light: #ca8099; $custom-dark: #000000;
JSON
{
"hex": "#af4971",
"rgb": {
"r": 175,
"g": 73,
"b": 113
},
"hsl": {
"h": 336.471,
"s": 41.129,
"l": 48.627
},
"oklch": {
"l": 0.55034,
"c": 0.13926,
"h": 358.2
},
"luminance": 0.15071
}Semantic roles & 50–950 ramp
primary
#AF4971
secondary
#91C2AF
accent
#D1A157
background
#FCF8F9
surface
#F9EFF2
border
#D2CACC
text
#140B0E
muted
#827C7E