#AF4870#AF4870
#AF4870 is a mid, vivid pink. Relative luminance 0.149; OKLCH L 54.9% C 0.140 H 358.5°. Best body text is #FFFFFF at 5.27:1 contrast (WCAG AA passes).
Color values
| HEX | #AF4870 |
|---|---|
| RGB | rgb(175, 72, 112) |
| HSL | hsl(337, 42%, 48%) |
| HSV | hsv(337, 59%, 69%) |
| CMYK | cmyk(0%, 58.9%, 36%, 31.4%) |
| CIE-LAB | lab(45.53, 46.03, -1.61) |
| CIE-LCH | lch(45.53, 46.06, 357.99°) |
| OKLab | oklab(54.87% 0.1403 -0.0036) |
| OKLCH | oklch(54.87% 0.14 358.5) |
| XYZ | xyz(22.9224, 14.9210, 16.9989) |
| Luminance | 0.1492 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Light Burgundy
#A8415B
ΔE00 5.37
Dark Pink
#CB416B
ΔE00 6.30
Dark Rose
#B5485D
ΔE00 6.66
Deep Rose
#C74767
ΔE00 6.87
Light Plum
#9D5783
ΔE00 7.22
Light Maroon
#A24857
ΔE00 7.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF4870 #48AF87
analogous
#AF48A3 #AF4870 #AF5348
triadic
#AF4870 #70AF48 #4870AF
tetradic
#AF4870 #A3AF48 #48AF87 #5348AF
square
#AF4870 #A3AF48 #48AF87 #5348AF
split-complementary
#AF4870 #48AF53 #48A3AF
monochromatic
#582438 #843654 #AF4870 #C47091 #D69BB2
Accessibility & contrast
On white
5.27
#AF4870 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.98
#AF4870 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF4870
5.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF4870 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF4870 | 1.00 | 5.27 | 3.98 | 5.27 |
| #FFFFFF | 5.27 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.98 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.27 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#596071
Deuteranopia (green-blind)
#75736E
Tritanopia (blue-blind)
#BC4057
Achromatopsia (no color)
#6C6C6C
Design tokens & code
CSS
--color: #af4870; /* rgb */ color: rgb(175, 72, 112); /* oklch */ color: oklch(54.9% 0.140 358.5);
Tailwind
colors: {
custom: {
50: '#ca8099',
500: '#af4870',
950: '#000000',
},
}SCSS
$custom: #af4870; $custom-light: #ca8099; $custom-dark: #000000;
JSON
{
"hex": "#af4870",
"rgb": {
"r": 175,
"g": 72,
"b": 112
},
"hsl": {
"h": 336.699,
"s": 41.7,
"l": 48.431
},
"oklch": {
"l": 0.54867,
"c": 0.14038,
"h": 358.5
},
"luminance": 0.14919
}Semantic roles & 50–950 ramp
primary
#AF4870
secondary
#90C2AF
accent
#D2A256
background
#FCF8F9
surface
#F9EFF2
border
#D2CACC
text
#140A0D
muted
#827C7E