#AF4F81#AF4F81
#AF4F81 is a mid, vivid pink. Relative luminance 0.163; OKLCH L 56.4% C 0.138 H 350.0°. Best body text is #FFFFFF at 4.93:1 contrast (WCAG AA passes).
Color values
| HEX | #AF4F81 |
|---|---|
| RGB | rgb(175, 79, 129) |
| HSL | hsl(329, 38%, 50%) |
| HSV | hsv(329, 55%, 69%) |
| CMYK | cmyk(0%, 54.9%, 26.3%, 31.4%) |
| CIE-LAB | lab(47.36, 44.85, -9.22) |
| CIE-LCH | lch(47.36, 45.79, 348.38°) |
| OKLab | oklab(56.42% 0.1354 -0.024) |
| OKLCH | oklch(56.42% 0.138 350) |
| XYZ | xyz(24.4385, 16.2931, 22.6224) |
| Luminance | 0.1629 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Light Plum
#9D5783
ΔE00 4.25
Purpleish
#98568D
ΔE00 6.75
Purplish
#94568C
ΔE00 7.47
Mediumvioletred
#C71585
ΔE00 7.73
Magenta (survey)
#C20078
ΔE00 8.57
Dusky Purple
#895B7B
ΔE00 8.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF4F81 #4FAF7D
analogous
#AD4FAF #AF4F81 #AF4F51
triadic
#AF4F81 #81AF4F #4F81AF
tetradic
#AF4F81 #AFAD4F #4FAF7D #4F51AF
square
#AF4F81 #AFAD4F #4FAF7D #4F51AF
split-complementary
#AF4F81 #51AF4F #4FAFAD
monochromatic
#5B2943 #853C62 #AF4F81 #C2799F #D5A3BD
Accessibility & contrast
On white
4.93
#AF4F81 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.26
#AF4F81 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF4F81
4.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF4F81 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF4F81 | 1.00 | 4.93 | 4.26 | 4.93 |
| #FFFFFF | 4.93 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.26 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.93 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5A6683
Deuteranopia (green-blind)
#74777F
Tritanopia (blue-blind)
#BA4C62
Achromatopsia (no color)
#707070
Design tokens & code
CSS
--color: #af4f81; /* rgb */ color: rgb(175, 79, 129); /* oklch */ color: oklch(56.4% 0.138 350.0);
Tailwind
colors: {
custom: {
50: '#ca84a5',
500: '#af4f81',
950: '#000000',
},
}SCSS
$custom: #af4f81; $custom-light: #ca84a5; $custom-dark: #000000;
JSON
{
"hex": "#af4f81",
"rgb": {
"r": 175,
"g": 79,
"b": 129
},
"hsl": {
"h": 328.75,
"s": 37.795,
"l": 49.804
},
"oklch": {
"l": 0.56415,
"c": 0.13752,
"h": 350
},
"luminance": 0.16291
}Semantic roles & 50–950 ramp
primary
#AF4F81
secondary
#97C3AC
accent
#CE915A
background
#FCF8FA
surface
#F9EFF4
border
#D2CACE
text
#140B0F
muted
#827C7F