#AF499D#AF499D
#AF499D is a mid, vivid pink. Relative luminance 0.163; OKLCH L 56.8% C 0.166 H 334.9°. Best body text is #FFFFFF at 4.93:1 contrast (WCAG AA passes).
Color values
| HEX | #AF499D |
|---|---|
| RGB | rgb(175, 73, 157) |
| HSL | hsl(311, 41%, 49%) |
| HSV | hsv(311, 58%, 69%) |
| CMYK | cmyk(0%, 58.3%, 10.3%, 31.4%) |
| CIE-LAB | lab(47.39, 51.98, -25.95) |
| CIE-LCH | lch(47.39, 58.09, 333.47°) |
| OKLab | oklab(56.8% 0.1508 -0.0705) |
| OKLCH | oklch(56.8% 0.166 334.9) |
| XYZ | xyz(26.1477, 16.3153, 33.6638) |
| Luminance | 0.1631 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Ugly Purple
#A442A0
ΔE00 3.61
Medium Purple
#9E43A2
ΔE00 4.90
Purpleish
#98568D
ΔE00 5.77
Purpley Pink
#C83CB9
ΔE00 5.90
Purplish
#94568C
ΔE00 6.40
Pinky Purple
#C94CBE
ΔE00 7.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF499D #49AF5B
analogous
#8E49AF #AF499D #AF496A
triadic
#AF499D #9DAF49 #499DAF
tetradic
#AF499D #AF8E49 #49AF5B #496AAF
square
#AF499D #AF8E49 #49AF5B #496AAF
split-complementary
#AF499D #6AAF49 #49AF8E
monochromatic
#592550 #843776 #AF499D #C471B5 #D69CCC
Accessibility & contrast
On white
4.93
#AF499D on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.26
#AF499D on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF499D
4.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF499D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF499D | 1.00 | 4.93 | 4.26 | 4.93 |
| #FFFFFF | 4.93 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.26 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.93 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4967A0
Deuteranopia (green-blind)
#68769A
Tritanopia (blue-blind)
#B74F6C
Achromatopsia (no color)
#707070
Design tokens & code
CSS
--color: #af499d; /* rgb */ color: rgb(175, 73, 157); /* oklch */ color: oklch(56.8% 0.166 334.9);
Tailwind
colors: {
custom: {
50: '#c981ba',
500: '#af499d',
950: '#000000',
},
}SCSS
$custom: #af499d; $custom-light: #c981ba; $custom-dark: #000000;
JSON
{
"hex": "#af499d",
"rgb": {
"r": 175,
"g": 73,
"b": 157
},
"hsl": {
"h": 310.588,
"s": 41.129,
"l": 48.627
},
"oklch": {
"l": 0.56798,
"c": 0.16644,
"h": 334.9
},
"luminance": 0.16313
}Semantic roles & 50–950 ramp
primary
#AF499D
secondary
#91C29A
accent
#D16C57
background
#FCF8FB
surface
#F9EFF6
border
#D2CAD0
text
#140B11
muted
#827C80