#AF5079#AF5079
#AF5079 is a mid, vivid pink. Relative luminance 0.162; OKLCH L 56.3% C 0.132 H 355.1°. Best body text is #FFFFFF at 4.95:1 contrast (WCAG AA passes).
Color values
| HEX | #AF5079 |
|---|---|
| RGB | rgb(175, 80, 121) |
| HSL | hsl(334, 37%, 50%) |
| HSV | hsv(334, 54%, 69%) |
| CMYK | cmyk(0%, 54.3%, 30.9%, 31.4%) |
| CIE-LAB | lab(47.28, 43.27, -4.50) |
| CIE-LCH | lch(47.28, 43.50, 354.06°) |
| OKLab | oklab(56.27% 0.1313 -0.0113) |
| OKLCH | oklch(56.27% 0.132 355.1) |
| XYZ | xyz(24.0001, 16.2340, 19.9550) |
| Luminance | 0.1623 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Light Plum
#9D5783
ΔE00 5.45
Dark Pink
#CB416B
ΔE00 7.30
Light Burgundy
#A8415B
ΔE00 7.57
Deep Rose
#C74767
ΔE00 7.90
Dark Rose
#B5485D
ΔE00 8.29
Darkish Pink
#DA467D
ΔE00 8.34
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF5079 #50AF86
analogous
#AF50A9 #AF5079 #AF5650
triadic
#AF5079 #79AF50 #5079AF
tetradic
#AF5079 #A9AF50 #50AF86 #5650AF
square
#AF5079 #A9AF50 #50AF86 #5650AF
split-complementary
#AF5079 #50AF56 #50A9AF
monochromatic
#5B2A3F #853D5C #AF5079 #C27A99 #D5A4B9
Accessibility & contrast
On white
4.95
#AF5079 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.25
#AF5079 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF5079
4.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF5079 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF5079 | 1.00 | 4.95 | 4.25 | 4.95 |
| #FFFFFF | 4.95 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.25 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.95 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5D657A
Deuteranopia (green-blind)
#777777
Tritanopia (blue-blind)
#BB4A5F
Achromatopsia (no color)
#707070
Design tokens & code
CSS
--color: #af5079; /* rgb */ color: rgb(175, 80, 121); /* oklch */ color: oklch(56.3% 0.132 355.1);
Tailwind
colors: {
custom: {
50: '#ca859f',
500: '#af5079',
950: '#000000',
},
}SCSS
$custom: #af5079; $custom-light: #ca859f; $custom-dark: #000000;
JSON
{
"hex": "#af5079",
"rgb": {
"r": 175,
"g": 80,
"b": 121
},
"hsl": {
"h": 334.105,
"s": 37.255,
"l": 50
},
"oklch": {
"l": 0.56271,
"c": 0.13182,
"h": 355.1
},
"luminance": 0.16232
}Semantic roles & 50–950 ramp
primary
#AF5079
secondary
#98C3B0
accent
#CD9C5B
background
#FCF8F9
surface
#F9EFF2
border
#D2CACC
text
#140B0E
muted
#827C7E