#AF548B#AF548B
#AF548B is a mid, vivid pink. Relative luminance 0.173; OKLCH L 57.5% C 0.135 H 345.0°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).
Color values
| HEX | #AF548B |
|---|---|
| RGB | rgb(175, 84, 139) |
| HSL | hsl(324, 36%, 51%) |
| HSV | hsv(324, 52%, 69%) |
| CMYK | cmyk(0%, 52%, 20.6%, 31.4%) |
| CIE-LAB | lab(48.66, 43.81, -13.26) |
| CIE-LCH | lch(48.66, 45.77, 343.16°) |
| OKLab | oklab(57.51% 0.1308 -0.0351) |
| OKLCH | oklch(57.51% 0.135 345) |
| XYZ | xyz(25.5103, 17.3207, 26.4208) |
| Luminance | 0.1732 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Light Plum
#9D5783
ΔE00 3.86
Purpleish
#98568D
ΔE00 5.43
Purplish
#94568C
ΔE00 6.27
Mediumvioletred
#C71585
ΔE00 8.51
Purplish Pink
#CE5DAE
ΔE00 8.57
Ugly Purple
#A442A0
ΔE00 8.77
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF548B #54AF78
analogous
#A554AF #AF548B #AF545D
triadic
#AF548B #8BAF54 #548BAF
tetradic
#AF548B #AFA554 #54AF78 #545DAF
square
#AF548B #AFA554 #54AF78 #545DAF
split-complementary
#AF548B #5DAF54 #54AFA5
monochromatic
#5D2C49 #873F6A #AF548B #C37EA7 #D6A7C4
Accessibility & contrast
On white
4.70
#AF548B on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.46
#AF548B on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF548B
4.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF548B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF548B | 1.00 | 4.70 | 4.46 | 4.70 |
| #FFFFFF | 4.70 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.46 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.70 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5B6A8D
Deuteranopia (green-blind)
#747989
Tritanopia (blue-blind)
#B95369
Achromatopsia (no color)
#747474
Design tokens & code
CSS
--color: #af548b; /* rgb */ color: rgb(175, 84, 139); /* oklch */ color: oklch(57.5% 0.135 345.0);
Tailwind
colors: {
custom: {
50: '#c987ad',
500: '#af548b',
950: '#000000',
},
}SCSS
$custom: #af548b; $custom-light: #c987ad; $custom-dark: #000000;
JSON
{
"hex": "#af548b",
"rgb": {
"r": 175,
"g": 84,
"b": 139
},
"hsl": {
"h": 323.736,
"s": 36.255,
"l": 50.784
},
"oklch": {
"l": 0.57505,
"c": 0.13541,
"h": 345
},
"luminance": 0.17319
}Semantic roles & 50–950 ramp
primary
#AF548B
secondary
#9BC4AB
accent
#CC885C
background
#FCF8FA
surface
#F9F0F4
border
#D2CBCE
text
#130C10
muted
#827D7F