#AF4290#AF4290
#AF4290 is a mid, vivid pink. Relative luminance 0.150; OKLCH L 55.4% C 0.167 H 340.5°. Best body text is #FFFFFF at 5.24:1 contrast (WCAG AA passes).
Color values
| HEX | #AF4290 |
|---|---|
| RGB | rgb(175, 66, 144) |
| HSL | hsl(317, 45%, 47%) |
| HSV | hsv(317, 62%, 69%) |
| CMYK | cmyk(0%, 62.3%, 17.7%, 31.4%) |
| CIE-LAB | lab(45.67, 53.09, -20.83) |
| CIE-LCH | lch(45.67, 57.03, 338.58°) |
| OKLab | oklab(55.35% 0.1576 -0.056) |
| OKLCH | oklch(55.35% 0.167 340.5) |
| XYZ | xyz(24.6620, 15.0262, 27.9816) |
| Luminance | 0.1502 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Ugly Purple
#A442A0
ΔE00 4.93
Purpleish
#98568D
ΔE00 5.95
Mediumvioletred
#C71585
ΔE00 5.97
Medium Purple
#9E43A2
ΔE00 6.26
Light Plum
#9D5783
ΔE00 6.58
Purplish
#94568C
ΔE00 6.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF4290 #42AF61
analogous
#9742AF #AF4290 #AF425A
triadic
#AF4290 #90AF42 #4290AF
tetradic
#AF4290 #AF9742 #42AF61 #425AAF
square
#AF4290 #AF9742 #42AF61 #425AAF
split-complementary
#AF4290 #5AAF42 #42AF97
monochromatic
#562047 #83316B #AF4290 #C668AB #D795C4
Accessibility & contrast
On white
5.24
#AF4290 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.00
#AF4290 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF4290
5.24:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF4290 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF4290 | 1.00 | 5.24 | 4.00 | 5.24 |
| #FFFFFF | 5.24 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.00 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.24 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#486192
Deuteranopia (green-blind)
#69738D
Tritanopia (blue-blind)
#B94463
Achromatopsia (no color)
#6C6C6C
Design tokens & code
CSS
--color: #af4290; /* rgb */ color: rgb(175, 66, 144); /* oklch */ color: oklch(55.4% 0.167 340.5);
Tailwind
colors: {
custom: {
50: '#ca7db0',
500: '#af4290',
950: '#000000',
},
}SCSS
$custom: #af4290; $custom-light: #ca7db0; $custom-dark: #000000;
JSON
{
"hex": "#af4290",
"rgb": {
"r": 175,
"g": 66,
"b": 144
},
"hsl": {
"h": 317.064,
"s": 45.228,
"l": 47.255
},
"oklch": {
"l": 0.55354,
"c": 0.16728,
"h": 340.5
},
"luminance": 0.15024
}Semantic roles & 50–950 ramp
primary
#AF4290
secondary
#8AC29A
accent
#D57853
background
#FCF7FA
surface
#F9EEF5
border
#D2C9CF
text
#140A10
muted
#827C7F