#AF5074#AF5074
#AF5074 is a mid, vivid pink. Relative luminance 0.161; OKLCH L 56.1% C 0.130 H 358.3°. Best body text is #FFFFFF at 4.97:1 contrast (WCAG AA passes).
Color values
| HEX | #AF5074 |
|---|---|
| RGB | rgb(175, 80, 116) |
| HSL | hsl(337, 37%, 50%) |
| HSV | hsv(337, 54%, 69%) |
| CMYK | cmyk(0%, 54.3%, 33.7%, 31.4%) |
| CIE-LAB | lab(47.12, 42.63, -1.70) |
| CIE-LCH | lch(47.12, 42.66, 357.71°) |
| OKLab | oklab(56.1% 0.1296 -0.0039) |
| OKLCH | oklch(56.1% 0.13 358.3) |
| XYZ | xyz(23.7014, 16.1145, 18.3818) |
| Luminance | 0.1611 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Light Burgundy
#A8415B
ΔE00 6.37
Dark Pink
#CB416B
ΔE00 6.42
Light Plum
#9D5783
ΔE00 6.55
Deep Rose
#C74767
ΔE00 6.77
Dark Rose
#B5485D
ΔE00 6.87
Light Maroon
#A24857
ΔE00 7.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF5074 #50AF8B
analogous
#AF50A4 #AF5074 #AF5B50
triadic
#AF5074 #74AF50 #5074AF
tetradic
#AF5074 #A4AF50 #50AF8B #5B50AF
square
#AF5074 #A4AF50 #50AF8B #5B50AF
split-complementary
#AF5074 #50AF5B #50A4AF
monochromatic
#5B2A3C #853D58 #AF5074 #C27A95 #D5A4B7
Accessibility & contrast
On white
4.97
#AF5074 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.22
#AF5074 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF5074
4.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF5074 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF5074 | 1.00 | 4.97 | 4.22 | 4.97 |
| #FFFFFF | 4.97 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.22 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.97 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5F6575
Deuteranopia (green-blind)
#787672
Tritanopia (blue-blind)
#BC495D
Achromatopsia (no color)
#707070
Design tokens & code
CSS
--color: #af5074; /* rgb */ color: rgb(175, 80, 116); /* oklch */ color: oklch(56.1% 0.130 358.3);
Tailwind
colors: {
custom: {
50: '#ca859c',
500: '#af5074',
950: '#000000',
},
}SCSS
$custom: #af5074; $custom-light: #ca859c; $custom-dark: #000000;
JSON
{
"hex": "#af5074",
"rgb": {
"r": 175,
"g": 80,
"b": 116
},
"hsl": {
"h": 337.263,
"s": 37.255,
"l": 50
},
"oklch": {
"l": 0.56103,
"c": 0.12968,
"h": 358.3
},
"luminance": 0.16112
}Semantic roles & 50–950 ramp
primary
#AF5074
secondary
#98C3B3
accent
#CDA25B
background
#FCF8F9
surface
#F9EFF2
border
#D2CACC
text
#140B0E
muted
#827C7E