#AF4091#AF4091
#AF4091 is a mid, vivid pink. Relative luminance 0.148; OKLCH L 55.2% C 0.171 H 339.9°. Best body text is #FFFFFF at 5.30:1 contrast (WCAG AA passes).
Color values
| HEX | #AF4091 |
|---|---|
| RGB | rgb(175, 64, 145) |
| HSL | hsl(316, 46%, 47%) |
| HSV | hsv(316, 63%, 69%) |
| CMYK | cmyk(0%, 63.4%, 17.1%, 31.4%) |
| CIE-LAB | lab(45.40, 54.10, -21.85) |
| CIE-LCH | lch(45.40, 58.35, 338.01°) |
| OKLab | oklab(55.17% 0.1604 -0.0588) |
| OKLCH | oklch(55.17% 0.171 339.9) |
| XYZ | xyz(24.6240, 14.8273, 28.3477) |
| Luminance | 0.1482 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Ugly Purple
#A442A0
ΔE00 4.58
Medium Purple
#9E43A2
ΔE00 5.92
Mediumvioletred
#C71585
ΔE00 5.93
Purpleish
#98568D
ΔE00 6.19
Purplish
#94568C
ΔE00 6.80
Light Plum
#9D5783
ΔE00 7.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF4091 #40AF5E
analogous
#9640AF #AF4091 #AF405A
triadic
#AF4091 #91AF40 #4091AF
tetradic
#AF4091 #AF9640 #40AF5E #405AAF
square
#AF4091 #AF9640 #40AF5E #405AAF
split-complementary
#AF4091 #5AAF40 #40AF96
monochromatic
#551F47 #82306C #AF4091 #C765AC #D792C5
Accessibility & contrast
On white
5.30
#AF4091 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.96
#AF4091 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF4091
5.30:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF4091 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF4091 | 1.00 | 5.30 | 3.96 | 5.30 |
| #FFFFFF | 5.30 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.96 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.30 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#466093
Deuteranopia (green-blind)
#68728E
Tritanopia (blue-blind)
#B94363
Achromatopsia (no color)
#6B6B6B
Design tokens & code
CSS
--color: #af4091; /* rgb */ color: rgb(175, 64, 145); /* oklch */ color: oklch(55.2% 0.171 339.9);
Tailwind
colors: {
custom: {
50: '#ca7cb1',
500: '#af4091',
950: '#000000',
},
}SCSS
$custom: #af4091; $custom-light: #ca7cb1; $custom-dark: #000000;
JSON
{
"hex": "#af4091",
"rgb": {
"r": 175,
"g": 64,
"b": 145
},
"hsl": {
"h": 316.216,
"s": 46.444,
"l": 46.863
},
"oklch": {
"l": 0.55167,
"c": 0.17088,
"h": 339.9
},
"luminance": 0.14825
}Semantic roles & 50–950 ramp
primary
#AF4091
secondary
#88C398
accent
#D67552
background
#FCF7FA
surface
#F9EEF5
border
#D2C9CF
text
#140A10
muted
#827C7F