#AF4E6C#AF4E6C
#AF4E6C is a mid, vivid pink. Relative luminance 0.156; OKLCH L 55.6% C 0.130 H 2.8°. Best body text is #FFFFFF at 5.09:1 contrast (WCAG AA passes).
Color values
| HEX | #AF4E6C |
|---|---|
| RGB | rgb(175, 78, 108) |
| HSL | hsl(341, 38%, 50%) |
| HSV | hsv(341, 55%, 69%) |
| CMYK | cmyk(0%, 55.4%, 38.3%, 31.4%) |
| CIE-LAB | lab(46.51, 42.65, 2.26) |
| CIE-LCH | lch(46.51, 42.71, 3.04°) |
| OKLab | oklab(55.56% 0.1298 0.0064) |
| OKLCH | oklch(55.56% 0.13 2.8) |
| XYZ | xyz(23.1117, 15.6478, 15.9876) |
| Luminance | 0.1565 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Light Burgundy
#A8415B
ΔE00 4.52
Dark Rose
#B5485D
ΔE00 4.70
Deep Rose
#C74767
ΔE00 5.39
Dark Pink
#CB416B
ΔE00 5.49
Light Maroon
#A24857
ΔE00 5.79
Darkish Pink
#DA467D
ΔE00 8.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF4E6C #4EAF91
analogous
#AF4E9D #AF4E6C #AF604E
triadic
#AF4E6C #6CAF4E #4E6CAF
tetradic
#AF4E6C #9DAF4E #4EAF91 #604EAF
square
#AF4E6C #9DAF4E #4EAF91 #604EAF
split-complementary
#AF4E6C #4EAF60 #4E9DAF
monochromatic
#5A2838 #853B52 #AF4E6C #C3788F #D6A2B2
Accessibility & contrast
On white
5.09
#AF4E6C on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.13
#AF4E6C on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF4E6C
5.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF4E6C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF4E6C | 1.00 | 5.09 | 4.13 | 5.09 |
| #FFFFFF | 5.09 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.13 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.09 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5F636D
Deuteranopia (green-blind)
#78756A
Tritanopia (blue-blind)
#BC4559
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #af4e6c; /* rgb */ color: rgb(175, 78, 108); /* oklch */ color: oklch(55.6% 0.130 2.8);
Tailwind
colors: {
custom: {
50: '#ca8396',
500: '#af4e6c',
950: '#000000',
},
}SCSS
$custom: #af4e6c; $custom-light: #ca8396; $custom-dark: #000000;
JSON
{
"hex": "#af4e6c",
"rgb": {
"r": 175,
"g": 78,
"b": 108
},
"hsl": {
"h": 341.443,
"s": 38.34,
"l": 49.608
},
"oklch": {
"l": 0.55564,
"c": 0.13,
"h": 2.8
},
"luminance": 0.15645
}Semantic roles & 50–950 ramp
primary
#AF4E6C
secondary
#96C3B5
accent
#CEAA5A
background
#FCF8F9
surface
#F9EFF1
border
#D2CACB
text
#140B0D
muted
#827C7E