#AF476E#AF476E
#AF476E is a mid, vivid pink. Relative luminance 0.147; OKLCH L 54.7% C 0.141 H 359.5°. Best body text is #FFFFFF at 5.32:1 contrast (WCAG AA passes).
Color values
| HEX | #AF476E |
|---|---|
| RGB | rgb(175, 71, 110) |
| HSL | hsl(338, 42%, 48%) |
| HSV | hsv(338, 59%, 69%) |
| CMYK | cmyk(0%, 59.4%, 37.1%, 31.4%) |
| CIE-LAB | lab(45.29, 46.26, -0.74) |
| CIE-LCH | lch(45.29, 46.27, 359.09°) |
| OKLab | oklab(54.67% 0.1411 -0.0013) |
| OKLCH | oklch(54.67% 0.141 359.5) |
| XYZ | xyz(22.7482, 14.7487, 16.3976) |
| Luminance | 0.1475 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Light Burgundy
#A8415B
ΔE00 4.88
Dark Pink
#CB416B
ΔE00 6.10
Dark Rose
#B5485D
ΔE00 6.24
Deep Rose
#C74767
ΔE00 6.61
Light Maroon
#A24857
ΔE00 6.96
Deep Pink
#CB0162
ΔE00 7.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF476E #47AF88
analogous
#AF47A2 #AF476E #AF5447
triadic
#AF476E #6EAF47 #476EAF
tetradic
#AF476E #A2AF47 #47AF88 #5447AF
square
#AF476E #A2AF47 #47AF88 #5447AF
split-complementary
#AF476E #47AF54 #47A2AF
monochromatic
#582437 #833553 #AF476E #C46F8F #D69AB1
Accessibility & contrast
On white
5.32
#AF476E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.95
#AF476E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF476E
5.32:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF476E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF476E | 1.00 | 5.32 | 3.95 | 5.32 |
| #FFFFFF | 5.32 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.95 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.32 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#595F6F
Deuteranopia (green-blind)
#74726C
Tritanopia (blue-blind)
#BC3E56
Achromatopsia (no color)
#6B6B6B
Design tokens & code
CSS
--color: #af476e; /* rgb */ color: rgb(175, 71, 110); /* oklch */ color: oklch(54.7% 0.141 359.5);
Tailwind
colors: {
custom: {
50: '#cb7f97',
500: '#af476e',
950: '#000000',
},
}SCSS
$custom: #af476e; $custom-light: #cb7f97; $custom-dark: #000000;
JSON
{
"hex": "#af476e",
"rgb": {
"r": 175,
"g": 71,
"b": 110
},
"hsl": {
"h": 337.5,
"s": 42.276,
"l": 48.235
},
"oklch": {
"l": 0.5467,
"c": 0.14111,
"h": 359.5
},
"luminance": 0.14746
}Semantic roles & 50–950 ramp
primary
#AF476E
secondary
#8FC2AF
accent
#D2A356
background
#FCF8F9
surface
#F9EFF2
border
#D2CACC
text
#140A0D
muted
#827C7E