#AF526E#AF526E
#AF526E is a mid, vivid pink. Relative luminance 0.163; OKLCH L 56.2% C 0.124 H 2.9°. Best body text is #FFFFFF at 4.94:1 contrast (WCAG AA passes).
Color values
| HEX | #AF526E |
|---|---|
| RGB | rgb(175, 82, 110) |
| HSL | hsl(342, 37%, 50%) |
| HSV | hsv(342, 53%, 69%) |
| CMYK | cmyk(0%, 53.1%, 37.1%, 31.4%) |
| CIE-LAB | lab(47.34, 40.88, 2.24) |
| CIE-LCH | lch(47.34, 40.94, 3.14°) |
| OKLab | oklab(56.2% 0.1243 0.0063) |
| OKLCH | oklch(56.2% 0.125 2.9) |
| XYZ | xyz(23.5122, 16.2767, 16.6523) |
| Luminance | 0.1627 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Dark Rose
#B5485D
ΔE00 4.99
Light Burgundy
#A8415B
ΔE00 5.30
Deep Rose
#C74767
ΔE00 5.47
Dark Pink
#CB416B
ΔE00 5.72
Light Maroon
#A24857
ΔE00 6.18
Dusky Rose
#BA6873
ΔE00 7.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF526E #52AF93
analogous
#AF529D #AF526E #AF6452
triadic
#AF526E #6EAF52 #526EAF
tetradic
#AF526E #9DAF52 #52AF93 #6452AF
square
#AF526E #9DAF52 #52AF93 #6452AF
split-complementary
#AF526E #52AF64 #529DAF
monochromatic
#5C2B39 #863E54 #AF526E #C27C91 #D6A6B4
Accessibility & contrast
On white
4.94
#AF526E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.25
#AF526E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF526E
4.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF526E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF526E | 1.00 | 4.94 | 4.25 | 4.94 |
| #FFFFFF | 4.94 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.25 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.94 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#62656F
Deuteranopia (green-blind)
#7A776C
Tritanopia (blue-blind)
#BC4A5C
Achromatopsia (no color)
#707070
Design tokens & code
CSS
--color: #af526e; /* rgb */ color: rgb(175, 82, 110); /* oklch */ color: oklch(56.2% 0.124 2.9);
Tailwind
colors: {
custom: {
50: '#ca8697',
500: '#af526e',
950: '#000000',
},
}SCSS
$custom: #af526e; $custom-light: #ca8697; $custom-dark: #000000;
JSON
{
"hex": "#af526e",
"rgb": {
"r": 175,
"g": 82,
"b": 110
},
"hsl": {
"h": 341.935,
"s": 36.759,
"l": 50.392
},
"oklch": {
"l": 0.56204,
"c": 0.1245,
"h": 2.9
},
"luminance": 0.16274
}Semantic roles & 50–950 ramp
primary
#AF526E
secondary
#9AC3B7
accent
#CDAB5B
background
#FCF8F9
surface
#F9EFF2
border
#D2CACC
text
#140B0D
muted
#827C7E