#CD548A#CD548A
#CD548A is a mid, vivid pink. Relative luminance 0.212; OKLCH L 61.7% C 0.163 H 355.1°. Best body text is #000000 at 5.23:1 contrast (WCAG AA passes).
Color values
| HEX | #CD548A |
|---|---|
| RGB | rgb(205, 84, 138) |
| HSL | hsl(333, 55%, 57%) |
| HSV | hsv(333, 59%, 80%) |
| CMYK | cmyk(0%, 59%, 32.7%, 19.6%) |
| CIE-LAB | lab(53.12, 53.25, -5.52) |
| CIE-LCH | lch(53.12, 53.54, 354.08°) |
| OKLab | oklab(61.72% 0.1622 -0.0139) |
| OKLCH | oklch(61.72% 0.163 355.1) |
| XYZ | xyz(32.9362, 21.1582, 26.3892) |
| Luminance | 0.2115 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Darkish Pink
#DA467D
ΔE00 4.21
Blush
#DE5D83
ΔE00 6.19
Dark Pink
#CB416B
ΔE00 7.35
Pale Magenta
#D767AD
ΔE00 7.63
Palevioletred
#DB7093
ΔE00 7.79
Purplish Pink
#CE5DAE
ΔE00 7.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CD548A #54CD97
analogous
#CD54C7 #CD548A #CD5B54
triadic
#CD548A #8ACD54 #548ACD
tetradic
#CD548A #C7CD54 #54CD97 #5B54CD
square
#CD548A #C7CD54 #54CD97 #5B54CD
split-complementary
#CD548A #54CD5B #54C7CD
monochromatic
#81264E #B0346B #CD548A #DB83AA #E9B3CB
Accessibility & contrast
On white
4.01
#CD548A on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.23
#CD548A on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #CD548A
5.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CD548A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CD548A | 1.00 | 4.01 | 5.23 | 5.23 |
| #FFFFFF | 4.01 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.23 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.23 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#66718C
Deuteranopia (green-blind)
#878787
Tritanopia (blue-blind)
#DC4C69
Achromatopsia (no color)
#7F7F7F
Design tokens & code
CSS
--color: #cd548a; /* rgb */ color: rgb(205, 84, 138); /* oklch */ color: oklch(61.7% 0.163 355.1);
Tailwind
colors: {
custom: {
50: '#e08aac',
500: '#cd548a',
950: '#000000',
},
}SCSS
$custom: #cd548a; $custom-light: #e08aac; $custom-dark: #000000;
JSON
{
"hex": "#cd548a",
"rgb": {
"r": 205,
"g": 84,
"b": 138
},
"hsl": {
"h": 333.223,
"s": 54.751,
"l": 56.667
},
"oklch": {
"l": 0.61717,
"c": 0.16277,
"h": 355.1
},
"luminance": 0.21155
}Semantic roles & 50–950 ramp
primary
#CD548A
secondary
#A6D7C1
accent
#DE9C4A
background
#FEF8FA
surface
#FCF0F4
border
#D5CBCE
text
#160C10
muted
#847D7F