#AF506A#AF506A
#AF506A is a mid, vivid pink. Relative luminance 0.159; OKLCH L 55.8% C 0.126 H 4.9°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).
Color values
| HEX | #AF506A |
|---|---|
| RGB | rgb(175, 80, 106) |
| HSL | hsl(344, 37%, 50%) |
| HSV | hsv(344, 54%, 69%) |
| CMYK | cmyk(0%, 54.3%, 39.4%, 31.4%) |
| CIE-LAB | lab(46.84, 41.41, 3.95) |
| CIE-LCH | lch(46.84, 41.60, 5.45°) |
| OKLab | oklab(55.79% 0.126 0.0107) |
| OKLCH | oklch(55.79% 0.126 4.9) |
| XYZ | xyz(23.1507, 15.8943, 15.4816) |
| Luminance | 0.1589 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Dark Rose
#B5485D
ΔE00 3.96
Light Burgundy
#A8415B
ΔE00 4.44
Deep Rose
#C74767
ΔE00 4.99
Light Maroon
#A24857
ΔE00 5.22
Dark Pink
#CB416B
ΔE00 5.46
Dusky Rose
#BA6873
ΔE00 7.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF506A #50AF95
analogous
#AF5099 #AF506A #AF6650
triadic
#AF506A #6AAF50 #506AAF
tetradic
#AF506A #99AF50 #50AF95 #6650AF
square
#AF506A #99AF50 #50AF95 #6650AF
split-complementary
#AF506A #50AF66 #5099AF
monochromatic
#5B2A37 #853D51 #AF506A #C27A8E #D5A4B2
Accessibility & contrast
On white
5.03
#AF506A on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.18
#AF506A on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF506A
5.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF506A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF506A | 1.00 | 5.03 | 4.18 | 5.03 |
| #FFFFFF | 5.03 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.18 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.03 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#61646B
Deuteranopia (green-blind)
#7A7668
Tritanopia (blue-blind)
#BD475A
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #af506a; /* rgb */ color: rgb(175, 80, 106); /* oklch */ color: oklch(55.8% 0.126 4.9);
Tailwind
colors: {
custom: {
50: '#ca8494',
500: '#af506a',
950: '#000000',
},
}SCSS
$custom: #af506a; $custom-light: #ca8494; $custom-dark: #000000;
JSON
{
"hex": "#af506a",
"rgb": {
"r": 175,
"g": 80,
"b": 106
},
"hsl": {
"h": 343.579,
"s": 37.255,
"l": 50
},
"oklch": {
"l": 0.55791,
"c": 0.12643,
"h": 4.9
},
"luminance": 0.15892
}Semantic roles & 50–950 ramp
primary
#AF506A
secondary
#98C3B7
accent
#CDAE5B
background
#FCF8F9
surface
#F9EFF1
border
#D2CACB
text
#140B0D
muted
#827C7E