#AF548D#AF548D
#AF548D is a mid, vivid pink. Relative luminance 0.174; OKLCH L 57.6% C 0.137 H 343.8°. Best body text is #FFFFFF at 4.69:1 contrast (WCAG AA passes).
Color values
| HEX | #AF548D |
|---|---|
| RGB | rgb(175, 84, 141) |
| HSL | hsl(322, 36%, 51%) |
| HSV | hsv(322, 52%, 69%) |
| CMYK | cmyk(0%, 52%, 19.4%, 31.4%) |
| CIE-LAB | lab(48.73, 44.11, -14.34) |
| CIE-LCH | lch(48.73, 46.39, 341.99°) |
| OKLab | oklab(57.58% 0.1314 -0.0381) |
| OKLCH | oklch(57.58% 0.137 343.8) |
| XYZ | xyz(25.6578, 17.3797, 27.1974) |
| Luminance | 0.1738 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Light Plum
#9D5783
ΔE00 3.99
Purpleish
#98568D
ΔE00 5.20
Purplish
#94568C
ΔE00 6.06
Purplish Pink
#CE5DAE
ΔE00 8.30
Ugly Purple
#A442A0
ΔE00 8.36
Mediumvioletred
#C71585
ΔE00 8.52
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF548D #54AF76
analogous
#A454AF #AF548D #AF545F
triadic
#AF548D #8DAF54 #548DAF
tetradic
#AF548D #AFA454 #54AF76 #545FAF
square
#AF548D #AFA454 #54AF76 #545FAF
split-complementary
#AF548D #5FAF54 #54AFA4
monochromatic
#5D2C4B #873F6C #AF548D #C37EA9 #D6A7C5
Accessibility & contrast
On white
4.69
#AF548D on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.48
#AF548D on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF548D
4.69:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF548D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF548D | 1.00 | 4.69 | 4.48 | 4.69 |
| #FFFFFF | 4.69 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.48 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.69 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5B6A8F
Deuteranopia (green-blind)
#74798B
Tritanopia (blue-blind)
#B9546A
Achromatopsia (no color)
#747474
Design tokens & code
CSS
--color: #af548d; /* rgb */ color: rgb(175, 84, 141); /* oklch */ color: oklch(57.6% 0.137 343.8);
Tailwind
colors: {
custom: {
50: '#c987ae',
500: '#af548d',
950: '#000000',
},
}SCSS
$custom: #af548d; $custom-light: #c987ae; $custom-dark: #000000;
JSON
{
"hex": "#af548d",
"rgb": {
"r": 175,
"g": 84,
"b": 141
},
"hsl": {
"h": 322.418,
"s": 36.255,
"l": 50.784
},
"oklch": {
"l": 0.57584,
"c": 0.13676,
"h": 343.8
},
"luminance": 0.17378
}Semantic roles & 50–950 ramp
primary
#AF548D
secondary
#9BC4AA
accent
#CC865C
background
#FCF8FA
surface
#F9F0F4
border
#D2CBCE
text
#130C10
muted
#827D7F