#AF526A#AF526A
#AF526A is a mid, vivid pink. Relative luminance 0.162; OKLCH L 56.1% C 0.123 H 5.6°. Best body text is #FFFFFF at 4.96:1 contrast (WCAG AA passes).
Color values
| HEX | #AF526A |
|---|---|
| RGB | rgb(175, 82, 106) |
| HSL | hsl(345, 37%, 50%) |
| HSV | hsv(345, 53%, 69%) |
| CMYK | cmyk(0%, 53.1%, 39.4%, 31.4%) |
| CIE-LAB | lab(47.22, 40.40, 4.51) |
| CIE-LCH | lch(47.22, 40.65, 6.37°) |
| OKLab | oklab(56.08% 0.1228 0.0121) |
| OKLCH | oklch(56.08% 0.123 5.6) |
| XYZ | xyz(23.2993, 16.1915, 15.5311) |
| Luminance | 0.1619 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Dark Rose
#B5485D
ΔE00 3.90
Light Burgundy
#A8415B
ΔE00 4.79
Deep Rose
#C74767
ΔE00 4.95
Light Maroon
#A24857
ΔE00 5.24
Dark Pink
#CB416B
ΔE00 5.60
Dusky Rose
#BA6873
ΔE00 7.34
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF526A #52AF97
analogous
#AF5298 #AF526A #AF6852
triadic
#AF526A #6AAF52 #526AAF
tetradic
#AF526A #98AF52 #52AF97 #6852AF
square
#AF526A #98AF52 #52AF97 #6852AF
split-complementary
#AF526A #52AF68 #5298AF
monochromatic
#5C2B37 #863E50 #AF526A #C27C8E #D6A6B2
Accessibility & contrast
On white
4.96
#AF526A on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.24
#AF526A on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF526A
4.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF526A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF526A | 1.00 | 4.96 | 4.24 | 4.96 |
| #FFFFFF | 4.96 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.24 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.96 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#63656B
Deuteranopia (green-blind)
#7B7768
Tritanopia (blue-blind)
#BD495B
Achromatopsia (no color)
#707070
Design tokens & code
CSS
--color: #af526a; /* rgb */ color: rgb(175, 82, 106); /* oklch */ color: oklch(56.1% 0.123 5.6);
Tailwind
colors: {
custom: {
50: '#ca8694',
500: '#af526a',
950: '#000000',
},
}SCSS
$custom: #af526a; $custom-light: #ca8694; $custom-dark: #000000;
JSON
{
"hex": "#af526a",
"rgb": {
"r": 175,
"g": 82,
"b": 106
},
"hsl": {
"h": 344.516,
"s": 36.759,
"l": 50.392
},
"oklch": {
"l": 0.56084,
"c": 0.12344,
"h": 5.6
},
"luminance": 0.16189
}Semantic roles & 50–950 ramp
primary
#AF526A
secondary
#9AC3B8
accent
#CDAF5B
background
#FCF8F9
surface
#F9EFF1
border
#D2CACB
text
#140B0D
muted
#827C7E