#AF4491#AF4491
#AF4491 is a mid, vivid pink. Relative luminance 0.153; OKLCH L 55.6% C 0.165 H 340.1°. Best body text is #FFFFFF at 5.17:1 contrast (WCAG AA passes).
Color values
| HEX | #AF4491 |
|---|---|
| RGB | rgb(175, 68, 145) |
| HSL | hsl(317, 44%, 48%) |
| HSV | hsv(317, 61%, 69%) |
| CMYK | cmyk(0%, 61.1%, 17.1%, 31.4%) |
| CIE-LAB | lab(46.04, 52.36, -20.87) |
| CIE-LCH | lch(46.04, 56.36, 338.27°) |
| OKLab | oklab(55.64% 0.1552 -0.0561) |
| OKLCH | oklch(55.64% 0.165 340.1) |
| XYZ | xyz(24.8577, 15.2947, 28.4256) |
| Luminance | 0.1529 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Ugly Purple
#A442A0
ΔE00 4.92
Purpleish
#98568D
ΔE00 5.71
Medium Purple
#9E43A2
ΔE00 6.24
Mediumvioletred
#C71585
ΔE00 6.25
Purplish
#94568C
ΔE00 6.39
Light Plum
#9D5783
ΔE00 6.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF4491 #44AF62
analogous
#9744AF #AF4491 #AF445C
triadic
#AF4491 #91AF44 #4491AF
tetradic
#AF4491 #AF9744 #44AF62 #445CAF
square
#AF4491 #AF9744 #44AF62 #445CAF
split-complementary
#AF4491 #5CAF44 #44AF97
monochromatic
#572248 #83336C #AF4491 #C56BAC #D797C5
Accessibility & contrast
On white
5.17
#AF4491 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.06
#AF4491 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF4491
5.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF4491 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF4491 | 1.00 | 5.17 | 4.06 | 5.17 |
| #FFFFFF | 5.17 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.06 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.17 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4A6293
Deuteranopia (green-blind)
#69738E
Tritanopia (blue-blind)
#B94664
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #af4491; /* rgb */ color: rgb(175, 68, 145); /* oklch */ color: oklch(55.6% 0.165 340.1);
Tailwind
colors: {
custom: {
50: '#ca7eb1',
500: '#af4491',
950: '#000000',
},
}SCSS
$custom: #af4491; $custom-light: #ca7eb1; $custom-dark: #000000;
JSON
{
"hex": "#af4491",
"rgb": {
"r": 175,
"g": 68,
"b": 145
},
"hsl": {
"h": 316.822,
"s": 44.033,
"l": 47.647
},
"oklch": {
"l": 0.55636,
"c": 0.16502,
"h": 340.1
},
"luminance": 0.15293
}Semantic roles & 50–950 ramp
primary
#AF4491
secondary
#8CC29C
accent
#D47854
background
#FCF8FA
surface
#F9EFF5
border
#D2CACF
text
#140A10
muted
#827C7F