#AF4B71#AF4B71
#AF4B71 is a mid, vivid pink. Relative luminance 0.153; OKLCH L 55.3% C 0.136 H 358.7°. Best body text is #FFFFFF at 5.16:1 contrast (WCAG AA passes).
Color values
| HEX | #AF4B71 |
|---|---|
| RGB | rgb(175, 75, 113) |
| HSL | hsl(337, 40%, 49%) |
| HSV | hsv(337, 57%, 69%) |
| CMYK | cmyk(0%, 57.1%, 35.4%, 31.4%) |
| CIE-LAB | lab(46.10, 44.71, -1.38) |
| CIE-LCH | lch(46.10, 44.74, 358.23°) |
| OKLab | oklab(55.3% 0.1362 -0.0031) |
| OKLCH | oklch(55.3% 0.136 358.7) |
| XYZ | xyz(23.1771, 15.3407, 17.3600) |
| Luminance | 0.1534 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Light Burgundy
#A8415B
ΔE00 5.56
Dark Pink
#CB416B
ΔE00 6.20
Dark Rose
#B5485D
ΔE00 6.54
Deep Rose
#C74767
ΔE00 6.67
Light Plum
#9D5783
ΔE00 7.03
Light Maroon
#A24857
ΔE00 7.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF4B71 #4BAF89
analogous
#AF4BA3 #AF4B71 #AF574B
triadic
#AF4B71 #71AF4B #4B71AF
tetradic
#AF4B71 #A3AF4B #4BAF89 #574BAF
square
#AF4B71 #A3AF4B #4BAF89 #574BAF
split-complementary
#AF4B71 #4BAF57 #4BA3AF
monochromatic
#59263A #843955 #AF4B71 #C37492 #D69FB4
Accessibility & contrast
On white
5.16
#AF4B71 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.07
#AF4B71 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF4B71
5.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF4B71 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF4B71 | 1.00 | 5.16 | 4.07 | 5.16 |
| #FFFFFF | 5.16 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.07 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.16 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5B6172
Deuteranopia (green-blind)
#76746F
Tritanopia (blue-blind)
#BC4359
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #af4b71; /* rgb */ color: rgb(175, 75, 113); /* oklch */ color: oklch(55.3% 0.136 358.7);
Tailwind
colors: {
custom: {
50: '#ca8199',
500: '#af4b71',
950: '#000000',
},
}SCSS
$custom: #af4b71; $custom-light: #ca8199; $custom-dark: #000000;
JSON
{
"hex": "#af4b71",
"rgb": {
"r": 175,
"g": 75,
"b": 113
},
"hsl": {
"h": 337.2,
"s": 40,
"l": 49.02
},
"oklch": {
"l": 0.55304,
"c": 0.13623,
"h": 358.7
},
"luminance": 0.15338
}Semantic roles & 50–950 ramp
primary
#AF4B71
secondary
#93C2B1
accent
#D0A258
background
#FCF8F9
surface
#F9EFF2
border
#D2CACC
text
#140B0E
muted
#827C7E