#AF4E6B#AF4E6B
#AF4E6B is a mid, vivid pink. Relative luminance 0.156; OKLCH L 55.5% C 0.130 H 3.5°. Best body text is #FFFFFF at 5.09:1 contrast (WCAG AA passes).
Color values
| HEX | #AF4E6B |
|---|---|
| RGB | rgb(175, 78, 107) |
| HSL | hsl(342, 38%, 50%) |
| HSV | hsv(342, 55%, 69%) |
| CMYK | cmyk(0%, 55.4%, 38.9%, 31.4%) |
| CIE-LAB | lab(46.48, 42.53, 2.83) |
| CIE-LCH | lch(46.48, 42.62, 3.81°) |
| OKLab | oklab(55.53% 0.1295 0.0079) |
| OKLCH | oklch(55.53% 0.13 3.5) |
| XYZ | xyz(23.0587, 15.6267, 15.7090) |
| Luminance | 0.1562 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Light Burgundy
#A8415B
ΔE00 4.34
Dark Rose
#B5485D
ΔE00 4.40
Deep Rose
#C74767
ΔE00 5.23
Dark Pink
#CB416B
ΔE00 5.43
Light Maroon
#A24857
ΔE00 5.53
Deep Pink
#CB0162
ΔE00 8.44
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF4E6B #4EAF92
analogous
#AF4E9C #AF4E6B #AF624E
triadic
#AF4E6B #6BAF4E #4E6BAF
tetradic
#AF4E6B #9CAF4E #4EAF92 #624EAF
square
#AF4E6B #9CAF4E #4EAF92 #624EAF
split-complementary
#AF4E6B #4EAF62 #4E9CAF
monochromatic
#5A2837 #853B51 #AF4E6B #C3788E #D6A2B1
Accessibility & contrast
On white
5.09
#AF4E6B on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.12
#AF4E6B on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF4E6B
5.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF4E6B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF4E6B | 1.00 | 5.09 | 4.12 | 5.09 |
| #FFFFFF | 5.09 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.12 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.09 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5F636C
Deuteranopia (green-blind)
#797569
Tritanopia (blue-blind)
#BD4559
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #af4e6b; /* rgb */ color: rgb(175, 78, 107); /* oklch */ color: oklch(55.5% 0.130 3.5);
Tailwind
colors: {
custom: {
50: '#ca8395',
500: '#af4e6b',
950: '#000000',
},
}SCSS
$custom: #af4e6b; $custom-light: #ca8395; $custom-dark: #000000;
JSON
{
"hex": "#af4e6b",
"rgb": {
"r": 175,
"g": 78,
"b": 107
},
"hsl": {
"h": 342.062,
"s": 38.34,
"l": 49.608
},
"oklch": {
"l": 0.55534,
"c": 0.12971,
"h": 3.5
},
"luminance": 0.15624
}Semantic roles & 50–950 ramp
primary
#AF4E6B
secondary
#96C3B5
accent
#CEAB5A
background
#FCF8F9
surface
#F9EFF1
border
#D2CACB
text
#140B0D
muted
#827C7E