#AF476F#AF476F
#AF476F is a mid, vivid pink. Relative luminance 0.148; OKLCH L 54.7% C 0.141 H 358.9°. Best body text is #FFFFFF at 5.31:1 contrast (WCAG AA passes).
Color values
| HEX | #AF476F |
|---|---|
| RGB | rgb(175, 71, 111) |
| HSL | hsl(337, 42%, 48%) |
| HSV | hsv(337, 59%, 69%) |
| CMYK | cmyk(0%, 59.4%, 36.6%, 31.4%) |
| CIE-LAB | lab(45.32, 46.38, -1.31) |
| CIE-LCH | lch(45.32, 46.40, 358.39°) |
| OKLab | oklab(54.7% 0.1415 -0.0028) |
| OKLCH | oklch(54.7% 0.141 358.9) |
| XYZ | xyz(22.8030, 14.7706, 16.6860) |
| Luminance | 0.1477 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Light Burgundy
#A8415B
ΔE00 5.14
Dark Pink
#CB416B
ΔE00 6.24
Dark Rose
#B5485D
ΔE00 6.52
Deep Rose
#C74767
ΔE00 6.81
Light Maroon
#A24857
ΔE00 7.24
Deep Pink
#CB0162
ΔE00 7.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF476F #47AF87
analogous
#AF47A3 #AF476F #AF5347
triadic
#AF476F #6FAF47 #476FAF
tetradic
#AF476F #A3AF47 #47AF87 #5347AF
square
#AF476F #A3AF47 #47AF87 #5347AF
split-complementary
#AF476F #47AF53 #47A3AF
monochromatic
#582438 #833553 #AF476F #C46F90 #D69AB1
Accessibility & contrast
On white
5.31
#AF476F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.95
#AF476F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF476F
5.31:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF476F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF476F | 1.00 | 5.31 | 3.95 | 5.31 |
| #FFFFFF | 5.31 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.95 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.31 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#595F70
Deuteranopia (green-blind)
#74736D
Tritanopia (blue-blind)
#BC3E56
Achromatopsia (no color)
#6B6B6B
Design tokens & code
CSS
--color: #af476f; /* rgb */ color: rgb(175, 71, 111); /* oklch */ color: oklch(54.7% 0.141 358.9);
Tailwind
colors: {
custom: {
50: '#ca7f98',
500: '#af476f',
950: '#000000',
},
}SCSS
$custom: #af476f; $custom-light: #ca7f98; $custom-dark: #000000;
JSON
{
"hex": "#af476f",
"rgb": {
"r": 175,
"g": 71,
"b": 111
},
"hsl": {
"h": 336.923,
"s": 42.276,
"l": 48.235
},
"oklch": {
"l": 0.54703,
"c": 0.14148,
"h": 358.9
},
"luminance": 0.14768
}Semantic roles & 50–950 ramp
primary
#AF476F
secondary
#8FC2AF
accent
#D2A256
background
#FCF8F9
surface
#F9EFF2
border
#D2CACC
text
#140A0D
muted
#827C7E