#AF5491#AF5491
#AF5491 is a mid, vivid pink. Relative luminance 0.175; OKLCH L 57.7% C 0.140 H 341.6°. Best body text is #FFFFFF at 4.67:1 contrast (WCAG AA passes).
Color values
| HEX | #AF5491 |
|---|---|
| RGB | rgb(175, 84, 145) |
| HSL | hsl(320, 36%, 51%) |
| HSV | hsv(320, 52%, 69%) |
| CMYK | cmyk(0%, 52%, 17.1%, 31.4%) |
| CIE-LAB | lab(48.89, 44.73, -16.50) |
| CIE-LCH | lch(48.89, 47.68, 339.75°) |
| OKLab | oklab(57.75% 0.1324 -0.044) |
| OKLCH | oklch(57.75% 0.14 341.6) |
| XYZ | xyz(25.9608, 17.5009, 28.7933) |
| Luminance | 0.1750 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Light Plum
#9D5783
ΔE00 4.43
Purpleish
#98568D
ΔE00 4.89
Purplish
#94568C
ΔE00 5.77
Ugly Purple
#A442A0
ΔE00 7.59
Purplish Pink
#CE5DAE
ΔE00 7.83
Mediumvioletred
#C71585
ΔE00 8.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF5491 #54AF72
analogous
#9F54AF #AF5491 #AF5463
triadic
#AF5491 #91AF54 #5491AF
tetradic
#AF5491 #AF9F54 #54AF72 #5463AF
square
#AF5491 #AF9F54 #54AF72 #5463AF
split-complementary
#AF5491 #63AF54 #54AF9F
monochromatic
#5D2C4D #873F6F #AF5491 #C37EAC #D6A7C7
Accessibility & contrast
On white
4.67
#AF5491 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.50
#AF5491 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#FFFFFF on #AF5491
4.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF5491 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF5491 | 1.00 | 4.67 | 4.50 | 4.67 |
| #FFFFFF | 4.67 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.50 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.67 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#596B93
Deuteranopia (green-blind)
#727A8F
Tritanopia (blue-blind)
#B8556C
Achromatopsia (no color)
#747474
Design tokens & code
CSS
--color: #af5491; /* rgb */ color: rgb(175, 84, 145); /* oklch */ color: oklch(57.7% 0.140 341.6);
Tailwind
colors: {
custom: {
50: '#c988b1',
500: '#af5491',
950: '#000000',
},
}SCSS
$custom: #af5491; $custom-light: #c988b1; $custom-dark: #000000;
JSON
{
"hex": "#af5491",
"rgb": {
"r": 175,
"g": 84,
"b": 145
},
"hsl": {
"h": 319.78,
"s": 36.255,
"l": 50.784
},
"oklch": {
"l": 0.57745,
"c": 0.13956,
"h": 341.6
},
"luminance": 0.17499
}Semantic roles & 50–950 ramp
primary
#AF5491
secondary
#9BC4A9
accent
#CC815C
background
#FCF8FA
surface
#F9F0F5
border
#D2CBCF
text
#130C10
muted
#827D7F