#AF357E#AF357E
#AF357E is a mid, vivid pink. Relative luminance 0.132; OKLCH L 53.2% C 0.174 H 347.8°. Best body text is #FFFFFF at 5.78:1 contrast (WCAG AA passes).
Color values
| HEX | #AF357E |
|---|---|
| RGB | rgb(175, 53, 126) |
| HSL | hsl(324, 54%, 45%) |
| HSV | hsv(324, 70%, 69%) |
| CMYK | cmyk(0%, 69.7%, 28%, 31.4%) |
| CIE-LAB | lab(43.02, 55.92, -13.95) |
| CIE-LCH | lch(43.02, 57.63, 346.00°) |
| OKLab | oklab(53.17% 0.1699 -0.0367) |
| OKLCH | oklch(53.17% 0.174 347.8) |
| XYZ | xyz(22.7192, 13.1690, 21.0800) |
| Luminance | 0.1317 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Mediumvioletred
#C71585
ΔE00 4.24
Magenta (survey)
#C20078
ΔE00 4.43
Red Violet
#9E0168
ΔE00 7.48
Light Plum
#9D5783
ΔE00 7.65
Ugly Purple
#A442A0
ΔE00 8.21
Deep Magenta
#A0025C
ΔE00 8.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF357E #35AF66
analogous
#A335AF #AF357E #AF3541
triadic
#AF357E #7EAF35 #357EAF
tetradic
#AF357E #AFA335 #35AF66 #3541AF
square
#AF357E #AFA335 #35AF66 #3541AF
split-complementary
#AF357E #41AF35 #35AFA3
monochromatic
#51193A #80275C #AF357E #CC569C #DA85B8
Accessibility & contrast
On white
5.78
#AF357E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.63
#AF357E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF357E
5.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF357E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF357E | 1.00 | 5.78 | 3.63 | 5.78 |
| #FFFFFF | 5.78 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.63 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.78 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#455880
Deuteranopia (green-blind)
#696D7B
Tritanopia (blue-blind)
#BB3155
Achromatopsia (no color)
#666666
Design tokens & code
CSS
--color: #af357e; /* rgb */ color: rgb(175, 53, 126); /* oklch */ color: oklch(53.2% 0.174 347.8);
Tailwind
colors: {
custom: {
50: '#cb76a3',
500: '#af357e',
950: '#000000',
},
}SCSS
$custom: #af357e; $custom-light: #cb76a3; $custom-dark: #000000;
JSON
{
"hex": "#af357e",
"rgb": {
"r": 175,
"g": 53,
"b": 126
},
"hsl": {
"h": 324.098,
"s": 53.509,
"l": 44.706
},
"oklch": {
"l": 0.53171,
"c": 0.1738,
"h": 347.8
},
"luminance": 0.13167
}Semantic roles & 50–950 ramp
primary
#AF357E
secondary
#7CC499
accent
#DD864B
background
#FCF7FA
surface
#F9EEF3
border
#D2C9CD
text
#14090F
muted
#827B7F