#AF476D#AF476D
#AF476D is a mid, vivid pink. Relative luminance 0.147; OKLCH L 54.6% C 0.141 H 0.1°. Best body text is #FFFFFF at 5.32:1 contrast (WCAG AA passes).
Color values
| HEX | #AF476D |
|---|---|
| RGB | rgb(175, 71, 109) |
| HSL | hsl(338, 42%, 48%) |
| HSV | hsv(338, 59%, 69%) |
| CMYK | cmyk(0%, 59.4%, 37.7%, 31.4%) |
| CIE-LAB | lab(45.26, 46.15, -0.17) |
| CIE-LCH | lch(45.26, 46.15, 359.79°) |
| OKLab | oklab(54.64% 0.1407 0.0001) |
| OKLCH | oklch(54.64% 0.141 0.1) |
| XYZ | xyz(22.6941, 14.7270, 16.1125) |
| Luminance | 0.1472 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Light Burgundy
#A8415B
ΔE00 4.61
Dark Rose
#B5485D
ΔE00 5.95
Dark Pink
#CB416B
ΔE00 5.96
Deep Rose
#C74767
ΔE00 6.42
Light Maroon
#A24857
ΔE00 6.69
Deep Pink
#CB0162
ΔE00 7.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF476D #47AF89
analogous
#AF47A1 #AF476D #AF5547
triadic
#AF476D #6DAF47 #476DAF
tetradic
#AF476D #A1AF47 #47AF89 #5547AF
square
#AF476D #A1AF47 #47AF89 #5547AF
split-complementary
#AF476D #47AF55 #47A1AF
monochromatic
#582437 #833552 #AF476D #C46F8E #D69AB0
Accessibility & contrast
On white
5.32
#AF476D on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.94
#AF476D on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF476D
5.32:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF476D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF476D | 1.00 | 5.32 | 3.94 | 5.32 |
| #FFFFFF | 5.32 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.94 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.32 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#595F6E
Deuteranopia (green-blind)
#75726B
Tritanopia (blue-blind)
#BD3E56
Achromatopsia (no color)
#6B6B6B
Design tokens & code
CSS
--color: #af476d; /* rgb */ color: rgb(175, 71, 109); /* oklch */ color: oklch(54.6% 0.141 0.1);
Tailwind
colors: {
custom: {
50: '#cb7f96',
500: '#af476d',
950: '#000000',
},
}SCSS
$custom: #af476d; $custom-light: #cb7f96; $custom-dark: #000000;
JSON
{
"hex": "#af476d",
"rgb": {
"r": 175,
"g": 71,
"b": 109
},
"hsl": {
"h": 338.077,
"s": 42.276,
"l": 48.235
},
"oklch": {
"l": 0.54638,
"c": 0.14075,
"h": 0.1
},
"luminance": 0.14725
}Semantic roles & 50–950 ramp
primary
#AF476D
secondary
#8FC2B0
accent
#D2A556
background
#FCF8F9
surface
#F9EFF2
border
#D2CACC
text
#140A0D
muted
#827C7E