#AF4B87#AF4B87
#AF4B87 is a mid, vivid pink. Relative luminance 0.159; OKLCH L 56.1% C 0.148 H 345.9°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).
Color values
| HEX | #AF4B87 |
|---|---|
| RGB | rgb(175, 75, 135) |
| HSL | hsl(324, 40%, 49%) |
| HSV | hsv(324, 57%, 69%) |
| CMYK | cmyk(0%, 57.1%, 22.9%, 31.4%) |
| CIE-LAB | lab(46.84, 47.65, -13.62) |
| CIE-LCH | lch(46.84, 49.55, 344.05°) |
| OKLab | oklab(56.1% 0.1431 -0.036) |
| OKLCH | oklch(56.1% 0.148 345.9) |
| XYZ | xyz(24.5692, 15.8976, 24.6915) |
| Luminance | 0.1590 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Light Plum
#9D5783
ΔE00 4.46
Purpleish
#98568D
ΔE00 5.76
Purplish
#94568C
ΔE00 6.53
Mediumvioletred
#C71585
ΔE00 6.69
Magenta (survey)
#C20078
ΔE00 7.94
Ugly Purple
#A442A0
ΔE00 7.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF4B87 #4BAF73
analogous
#A54BAF #AF4B87 #AF4B55
triadic
#AF4B87 #87AF4B #4B87AF
tetradic
#AF4B87 #AFA54B #4BAF73 #4B55AF
square
#AF4B87 #AFA54B #4BAF73 #4B55AF
split-complementary
#AF4B87 #55AF4B #4BAFA5
monochromatic
#592645 #843966 #AF4B87 #C374A4 #D69FC0
Accessibility & contrast
On white
5.03
#AF4B87 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.18
#AF4B87 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF4B87
5.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF4B87 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF4B87 | 1.00 | 5.03 | 4.18 | 5.03 |
| #FFFFFF | 5.03 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.18 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.03 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#546489
Deuteranopia (green-blind)
#707585
Tritanopia (blue-blind)
#BA4A63
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #af4b87; /* rgb */ color: rgb(175, 75, 135); /* oklch */ color: oklch(56.1% 0.148 345.9);
Tailwind
colors: {
custom: {
50: '#ca82aa',
500: '#af4b87',
950: '#000000',
},
}SCSS
$custom: #af4b87; $custom-light: #ca82aa; $custom-dark: #000000;
JSON
{
"hex": "#af4b87",
"rgb": {
"r": 175,
"g": 75,
"b": 135
},
"hsl": {
"h": 324,
"s": 40,
"l": 49.02
},
"oklch": {
"l": 0.56101,
"c": 0.14751,
"h": 345.9
},
"luminance": 0.15895
}Semantic roles & 50–950 ramp
primary
#AF4B87
secondary
#93C2A6
accent
#D08858
background
#FCF8FA
surface
#F9EFF4
border
#D2CACE
text
#140B10
muted
#827C7F