#AF486E#AF486E
#AF486E is a mid, vivid pink. Relative luminance 0.149; OKLCH L 54.8% C 0.140 H 359.7°. Best body text is #FFFFFF at 5.28:1 contrast (WCAG AA passes).
Color values
| HEX | #AF486E |
|---|---|
| RGB | rgb(175, 72, 110) |
| HSL | hsl(338, 42%, 48%) |
| HSV | hsv(338, 59%, 69%) |
| CMYK | cmyk(0%, 58.9%, 37.1%, 31.4%) |
| CIE-LAB | lab(45.47, 45.79, -0.48) |
| CIE-LCH | lch(45.47, 45.79, 359.40°) |
| OKLab | oklab(54.8% 0.1396 -0.0007) |
| OKLCH | oklch(54.8% 0.14 359.7) |
| XYZ | xyz(22.8123, 14.8769, 16.4190) |
| Luminance | 0.1487 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Light Burgundy
#A8415B
ΔE00 4.84
Dark Pink
#CB416B
ΔE00 6.00
Dark Rose
#B5485D
ΔE00 6.08
Deep Rose
#C74767
ΔE00 6.47
Light Maroon
#A24857
ΔE00 6.85
Deep Pink
#CB0162
ΔE00 7.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF486E #48AF89
analogous
#AF48A1 #AF486E #AF5548
triadic
#AF486E #6EAF48 #486EAF
tetradic
#AF486E #A1AF48 #48AF89 #5548AF
square
#AF486E #A1AF48 #48AF89 #5548AF
split-complementary
#AF486E #48AF55 #48A1AF
monochromatic
#582437 #843653 #AF486E #C4708F #D69BB1
Accessibility & contrast
On white
5.28
#AF486E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.97
#AF486E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF486E
5.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF486E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF486E | 1.00 | 5.28 | 3.97 | 5.28 |
| #FFFFFF | 5.28 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.97 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.28 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5A5F6F
Deuteranopia (green-blind)
#75736C
Tritanopia (blue-blind)
#BC3F57
Achromatopsia (no color)
#6C6C6C
Design tokens & code
CSS
--color: #af486e; /* rgb */ color: rgb(175, 72, 110); /* oklch */ color: oklch(54.8% 0.140 359.7);
Tailwind
colors: {
custom: {
50: '#ca8097',
500: '#af486e',
950: '#000000',
},
}SCSS
$custom: #af486e; $custom-light: #ca8097; $custom-dark: #000000;
JSON
{
"hex": "#af486e",
"rgb": {
"r": 175,
"g": 72,
"b": 110
},
"hsl": {
"h": 337.864,
"s": 41.7,
"l": 48.431
},
"oklch": {
"l": 0.54802,
"c": 0.13963,
"h": 359.7
},
"luminance": 0.14874
}Semantic roles & 50–950 ramp
primary
#AF486E
secondary
#90C2B0
accent
#D2A456
background
#FCF8F9
surface
#F9EFF2
border
#D2CACC
text
#140A0D
muted
#827C7E