#AF4077#AF4077
#AF4077 is a mid, vivid pink. Relative luminance 0.141; OKLCH L 54.1% C 0.155 H 352.8°. Best body text is #FFFFFF at 5.49:1 contrast (WCAG AA passes).
Color values
| HEX | #AF4077 |
|---|---|
| RGB | rgb(175, 64, 119) |
| HSL | hsl(330, 46%, 47%) |
| HSV | hsv(330, 63%, 69%) |
| CMYK | cmyk(0%, 63.4%, 32%, 31.4%) |
| CIE-LAB | lab(44.40, 50.54, -7.57) |
| CIE-LCH | lch(44.40, 51.10, 351.48°) |
| OKLab | oklab(54.1% 0.154 -0.0194) |
| OKLCH | oklch(54.1% 0.155 352.8) |
| XYZ | xyz(22.8435, 14.1151, 18.9707) |
| Luminance | 0.1411 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Magenta (survey)
#C20078
ΔE00 5.75
Mediumvioletred
#C71585
ΔE00 5.92
Light Plum
#9D5783
ΔE00 6.56
Light Burgundy
#A8415B
ΔE00 7.82
Deep Pink
#CB0162
ΔE00 7.96
Dark Pink
#CB416B
ΔE00 8.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF4077 #40AF78
analogous
#AF40AF #AF4077 #AF4040
triadic
#AF4077 #77AF40 #4077AF
tetradic
#AF4077 #AFAF40 #40AF78 #4040AF
square
#AF4077 #AFAF40 #40AF78 #4040AF
split-complementary
#AF4077 #40AF40 #40AFAF
monochromatic
#551F3A #823059 #AF4077 #C76596 #D792B4
Accessibility & contrast
On white
5.49
#AF4077 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.82
#AF4077 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF4077
5.49:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF4077 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF4077 | 1.00 | 5.49 | 3.82 | 5.49 |
| #FFFFFF | 5.49 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.82 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.49 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#515C79
Deuteranopia (green-blind)
#6F7074
Tritanopia (blue-blind)
#BC3956
Achromatopsia (no color)
#696969
Design tokens & code
CSS
--color: #af4077; /* rgb */ color: rgb(175, 64, 119); /* oklch */ color: oklch(54.1% 0.155 352.8);
Tailwind
colors: {
custom: {
50: '#cb7b9e',
500: '#af4077',
950: '#000000',
},
}SCSS
$custom: #af4077; $custom-light: #cb7b9e; $custom-dark: #000000;
JSON
{
"hex": "#af4077",
"rgb": {
"r": 175,
"g": 64,
"b": 119
},
"hsl": {
"h": 330.27,
"s": 46.444,
"l": 46.863
},
"oklch": {
"l": 0.54104,
"c": 0.15518,
"h": 352.8
},
"luminance": 0.14113
}Semantic roles & 50–950 ramp
primary
#AF4077
secondary
#88C3A6
accent
#D69452
background
#FCF7F9
surface
#F9EEF2
border
#D2C9CC
text
#140A0E
muted
#827C7E