#AF4592#AF4592
#AF4592 is a mid, vivid pink. Relative luminance 0.154; OKLCH L 55.8% C 0.164 H 339.7°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).
Color values
| HEX | #AF4592 |
|---|---|
| RGB | rgb(175, 69, 146) |
| HSL | hsl(316, 43%, 48%) |
| HSV | hsv(316, 61%, 69%) |
| CMYK | cmyk(0%, 60.6%, 16.6%, 31.4%) |
| CIE-LAB | lab(46.24, 52.06, -21.15) |
| CIE-LCH | lch(46.24, 56.19, 337.89°) |
| OKLab | oklab(55.8% 0.1541 -0.0569) |
| OKLCH | oklch(55.8% 0.164 339.7) |
| XYZ | xyz(24.9961, 15.4476, 28.8538) |
| Luminance | 0.1545 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Ugly Purple
#A442A0
ΔE00 4.83
Purpleish
#98568D
ΔE00 5.61
Medium Purple
#9E43A2
ΔE00 6.16
Purplish
#94568C
ΔE00 6.29
Light Plum
#9D5783
ΔE00 6.36
Mediumvioletred
#C71585
ΔE00 6.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF4592 #45AF62
analogous
#9745AF #AF4592 #AF455D
triadic
#AF4592 #92AF45 #4592AF
tetradic
#AF4592 #AF9745 #45AF62 #455DAF
square
#AF4592 #AF9745 #45AF62 #455DAF
split-complementary
#AF4592 #5DAF45 #45AF97
monochromatic
#572249 #83346D #AF4592 #C56CAD #D698C5
Accessibility & contrast
On white
5.14
#AF4592 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.09
#AF4592 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF4592
5.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF4592 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF4592 | 1.00 | 5.14 | 4.09 | 5.14 |
| #FFFFFF | 5.14 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.09 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.14 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4A6394
Deuteranopia (green-blind)
#6A748F
Tritanopia (blue-blind)
#B94865
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #af4592; /* rgb */ color: rgb(175, 69, 146); /* oklch */ color: oklch(55.8% 0.164 339.7);
Tailwind
colors: {
custom: {
50: '#ca7fb2',
500: '#af4592',
950: '#000000',
},
}SCSS
$custom: #af4592; $custom-light: #ca7fb2; $custom-dark: #000000;
JSON
{
"hex": "#af4592",
"rgb": {
"r": 175,
"g": 69,
"b": 146
},
"hsl": {
"h": 316.415,
"s": 43.443,
"l": 47.843
},
"oklch": {
"l": 0.55801,
"c": 0.16423,
"h": 339.7
},
"luminance": 0.15446
}Semantic roles & 50–950 ramp
primary
#AF4592
secondary
#8DC29C
accent
#D37755
background
#FCF8FA
surface
#F9EFF5
border
#D2CACF
text
#140A11
muted
#827C80