#AF498D#AF498D
#AF498D is a mid, vivid pink. Relative luminance 0.158; OKLCH L 56.1% C 0.155 H 342.5°. Best body text is #FFFFFF at 5.05:1 contrast (WCAG AA passes).
Color values
| HEX | #AF498D |
|---|---|
| RGB | rgb(175, 73, 141) |
| HSL | hsl(320, 41%, 49%) |
| HSV | hsv(320, 58%, 69%) |
| CMYK | cmyk(0%, 58.3%, 19.4%, 31.4%) |
| CIE-LAB | lab(46.72, 49.47, -17.42) |
| CIE-LCH | lch(46.72, 52.45, 340.61°) |
| OKLab | oklab(56.08% 0.1474 -0.0465) |
| OKLCH | oklch(56.08% 0.155 342.5) |
| XYZ | xyz(24.8701, 15.8043, 26.9348) |
| Luminance | 0.1580 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Light Plum
#9D5783
ΔE00 5.17
Purpleish
#98568D
ΔE00 5.33
Purplish
#94568C
ΔE00 6.10
Ugly Purple
#A442A0
ΔE00 6.36
Mediumvioletred
#C71585
ΔE00 6.53
Medium Purple
#9E43A2
ΔE00 7.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF498D #49AF6B
analogous
#9E49AF #AF498D #AF495A
triadic
#AF498D #8DAF49 #498DAF
tetradic
#AF498D #AF9E49 #49AF6B #495AAF
square
#AF498D #AF9E49 #49AF6B #495AAF
split-complementary
#AF498D #5AAF49 #49AF9E
monochromatic
#592547 #84376A #AF498D #C471A8 #D69CC3
Accessibility & contrast
On white
5.05
#AF498D on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.16
#AF498D on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF498D
5.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF498D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF498D | 1.00 | 5.05 | 4.16 | 5.05 |
| #FFFFFF | 5.05 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.16 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.05 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#50648F
Deuteranopia (green-blind)
#6D758A
Tritanopia (blue-blind)
#B94A65
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #af498d; /* rgb */ color: rgb(175, 73, 141); /* oklch */ color: oklch(56.1% 0.155 342.5);
Tailwind
colors: {
custom: {
50: '#ca81ae',
500: '#af498d',
950: '#000000',
},
}SCSS
$custom: #af498d; $custom-light: #ca81ae; $custom-dark: #000000;
JSON
{
"hex": "#af498d",
"rgb": {
"r": 175,
"g": 73,
"b": 141
},
"hsl": {
"h": 320,
"s": 41.129,
"l": 48.627
},
"oklch": {
"l": 0.56085,
"c": 0.1546,
"h": 342.5
},
"luminance": 0.15802
}Semantic roles & 50–950 ramp
primary
#AF498D
secondary
#91C2A2
accent
#D18057
background
#FCF8FA
surface
#F9EFF4
border
#D2CACE
text
#140B10
muted
#827C7F