#AF5078#AF5078
#AF5078 is a mid, vivid pink. Relative luminance 0.162; OKLCH L 56.2% C 0.131 H 355.7°. Best body text is #FFFFFF at 4.95:1 contrast (WCAG AA passes).
Color values
| HEX | #AF5078 |
|---|---|
| RGB | rgb(175, 80, 120) |
| HSL | hsl(335, 37%, 50%) |
| HSV | hsv(335, 54%, 69%) |
| CMYK | cmyk(0%, 54.3%, 31.4%, 31.4%) |
| CIE-LAB | lab(47.25, 43.14, -3.94) |
| CIE-LCH | lch(47.25, 43.32, 354.78°) |
| OKLab | oklab(56.24% 0.131 -0.0098) |
| OKLCH | oklch(56.24% 0.131 355.7) |
| XYZ | xyz(23.9391, 16.2096, 19.6337) |
| Luminance | 0.1621 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Light Plum
#9D5783
ΔE00 5.65
Dark Pink
#CB416B
ΔE00 7.11
Light Burgundy
#A8415B
ΔE00 7.32
Deep Rose
#C74767
ΔE00 7.67
Dark Rose
#B5485D
ΔE00 8.01
Darkish Pink
#DA467D
ΔE00 8.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF5078 #50AF87
analogous
#AF50A7 #AF5078 #AF5850
triadic
#AF5078 #78AF50 #5078AF
tetradic
#AF5078 #A7AF50 #50AF87 #5850AF
square
#AF5078 #A7AF50 #50AF87 #5850AF
split-complementary
#AF5078 #50AF58 #50A7AF
monochromatic
#5B2A3E #853D5B #AF5078 #C27A98 #D5A4B9
Accessibility & contrast
On white
4.95
#AF5078 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.24
#AF5078 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF5078
4.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF5078 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF5078 | 1.00 | 4.95 | 4.24 | 4.95 |
| #FFFFFF | 4.95 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.24 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.95 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5E6579
Deuteranopia (green-blind)
#777776
Tritanopia (blue-blind)
#BB4A5F
Achromatopsia (no color)
#707070
Design tokens & code
CSS
--color: #af5078; /* rgb */ color: rgb(175, 80, 120); /* oklch */ color: oklch(56.2% 0.131 355.7);
Tailwind
colors: {
custom: {
50: '#ca859e',
500: '#af5078',
950: '#000000',
},
}SCSS
$custom: #af5078; $custom-light: #ca859e; $custom-dark: #000000;
JSON
{
"hex": "#af5078",
"rgb": {
"r": 175,
"g": 80,
"b": 120
},
"hsl": {
"h": 334.737,
"s": 37.255,
"l": 50
},
"oklch": {
"l": 0.56236,
"c": 0.13137,
"h": 355.7
},
"luminance": 0.16207
}Semantic roles & 50–950 ramp
primary
#AF5078
secondary
#98C3B1
accent
#CD9D5B
background
#FCF8F9
surface
#F9EFF2
border
#D2CACC
text
#140B0E
muted
#827C7E