#AF476B#AF476B
#AF476B is a mid, vivid pink. Relative luminance 0.147; OKLCH L 54.6% C 0.140 H 1.3°. Best body text is #FFFFFF at 5.33:1 contrast (WCAG AA passes).
Color values
| HEX | #AF476B |
|---|---|
| RGB | rgb(175, 71, 107) |
| HSL | hsl(339, 42%, 48%) |
| HSV | hsv(339, 59%, 69%) |
| CMYK | cmyk(0%, 59.4%, 38.9%, 31.4%) |
| CIE-LAB | lab(45.20, 45.92, 0.97) |
| CIE-LCH | lch(45.20, 45.93, 1.21°) |
| OKLab | oklab(54.57% 0.14 0.0031) |
| OKLCH | oklch(54.57% 0.14 1.3) |
| XYZ | xyz(22.5876, 14.6844, 15.5519) |
| Luminance | 0.1468 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Light Burgundy
#A8415B
ΔE00 4.09
Dark Rose
#B5485D
ΔE00 5.36
Dark Pink
#CB416B
ΔE00 5.72
Deep Rose
#C74767
ΔE00 6.05
Light Maroon
#A24857
ΔE00 6.14
Deep Pink
#CB0162
ΔE00 7.20
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF476B #47AF8B
analogous
#AF479F #AF476B #AF5747
triadic
#AF476B #6BAF47 #476BAF
tetradic
#AF476B #9FAF47 #47AF8B #5747AF
square
#AF476B #9FAF47 #47AF8B #5747AF
split-complementary
#AF476B #47AF57 #479FAF
monochromatic
#582436 #833550 #AF476B #C46F8C #D69AAF
Accessibility & contrast
On white
5.33
#AF476B on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.94
#AF476B on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF476B
5.33:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF476B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF476B | 1.00 | 5.33 | 3.94 | 5.33 |
| #FFFFFF | 5.33 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.94 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.33 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5A5F6C
Deuteranopia (green-blind)
#757269
Tritanopia (blue-blind)
#BD3D55
Achromatopsia (no color)
#6B6B6B
Design tokens & code
CSS
--color: #af476b; /* rgb */ color: rgb(175, 71, 107); /* oklch */ color: oklch(54.6% 0.140 1.3);
Tailwind
colors: {
custom: {
50: '#cb7f95',
500: '#af476b',
950: '#000000',
},
}SCSS
$custom: #af476b; $custom-light: #cb7f95; $custom-dark: #000000;
JSON
{
"hex": "#af476b",
"rgb": {
"r": 175,
"g": 71,
"b": 107
},
"hsl": {
"h": 339.231,
"s": 42.276,
"l": 48.235
},
"oklch": {
"l": 0.54574,
"c": 0.14007,
"h": 1.3
},
"luminance": 0.14682
}Semantic roles & 50–950 ramp
primary
#AF476B
secondary
#8FC2B1
accent
#D2A756
background
#FCF8F9
surface
#F9EFF1
border
#D2CACB
text
#140A0D
muted
#827C7E