#AF4F73#AF4F73
#AF4F73 is a mid, vivid pink. Relative luminance 0.159; OKLCH L 55.9% C 0.131 H 358.6°. Best body text is #FFFFFF at 5.01:1 contrast (WCAG AA passes).
Color values
| HEX | #AF4F73 |
|---|---|
| RGB | rgb(175, 79, 115) |
| HSL | hsl(338, 38%, 50%) |
| HSV | hsv(338, 55%, 69%) |
| CMYK | cmyk(0%, 54.9%, 34.3%, 31.4%) |
| CIE-LAB | lab(46.90, 43.00, -1.42) |
| CIE-LCH | lch(46.90, 43.02, 358.11°) |
| OKLab | oklab(55.93% 0.1308 -0.0032) |
| OKLCH | oklch(55.93% 0.131 358.6) |
| XYZ | xyz(23.5708, 15.9461, 18.0529) |
| Luminance | 0.1594 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Light Burgundy
#A8415B
ΔE00 6.10
Dark Pink
#CB416B
ΔE00 6.29
Deep Rose
#C74767
ΔE00 6.65
Dark Rose
#B5485D
ΔE00 6.67
Light Plum
#9D5783
ΔE00 6.72
Light Maroon
#A24857
ΔE00 7.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF4F73 #4FAF8B
analogous
#AF4FA3 #AF4F73 #AF5B4F
triadic
#AF4F73 #73AF4F #4F73AF
tetradic
#AF4F73 #A3AF4F #4FAF8B #5B4FAF
square
#AF4F73 #A3AF4F #4FAF8B #5B4FAF
split-complementary
#AF4F73 #4FAF5B #4FA3AF
monochromatic
#5B293C #853C57 #AF4F73 #C27994 #D5A3B6
Accessibility & contrast
On white
5.01
#AF4F73 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.19
#AF4F73 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF4F73
5.01:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF4F73 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF4F73 | 1.00 | 5.01 | 4.19 | 5.01 |
| #FFFFFF | 5.01 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.19 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.01 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5E6474
Deuteranopia (green-blind)
#777671
Tritanopia (blue-blind)
#BC485C
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #af4f73; /* rgb */ color: rgb(175, 79, 115); /* oklch */ color: oklch(55.9% 0.131 358.6);
Tailwind
colors: {
custom: {
50: '#ca849b',
500: '#af4f73',
950: '#000000',
},
}SCSS
$custom: #af4f73; $custom-light: #ca849b; $custom-dark: #000000;
JSON
{
"hex": "#af4f73",
"rgb": {
"r": 175,
"g": 79,
"b": 115
},
"hsl": {
"h": 337.5,
"s": 37.795,
"l": 49.804
},
"oklch": {
"l": 0.55928,
"c": 0.13085,
"h": 358.6
},
"luminance": 0.15944
}Semantic roles & 50–950 ramp
primary
#AF4F73
secondary
#97C3B2
accent
#CEA25A
background
#FCF8F9
surface
#F9EFF2
border
#D2CACC
text
#140B0E
muted
#827C7E