#CD7AB5#CD7AB5
#CD7AB5 is a light, vivid pink. Relative luminance 0.302; OKLCH L 68.7% C 0.127 H 338.6°. Best body text is #000000 at 7.05:1 contrast (WCAG AA passes).
Color values
| HEX | #CD7AB5 |
|---|---|
| RGB | rgb(205, 122, 181) |
| HSL | hsl(317, 45%, 64%) |
| HSV | hsv(317, 40%, 80%) |
| CMYK | cmyk(0%, 40.5%, 11.7%, 19.6%) |
| CIE-LAB | lab(61.86, 40.58, -17.35) |
| CIE-LCH | lch(61.86, 44.14, 336.85°) |
| OKLab | oklab(68.74% 0.1182 -0.0464) |
| OKLCH | oklch(68.74% 0.127 338.6) |
| XYZ | xyz(40.4770, 30.2368, 47.4114) |
| Luminance | 0.3023 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Pale Magenta
#D767AD
ΔE00 4.64
Orchid (survey)
#C875C4
ΔE00 4.64
Lavender Pink
#DD85D7
ΔE00 6.47
Purplish Pink
#CE5DAE
ΔE00 6.77
Orchid
#DA70D6
ΔE00 7.29
Dusty Lavender
#AC86A8
ΔE00 8.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CD7AB5 #7ACD92
analogous
#BC7ACD #CD7AB5 #CD7A8C
triadic
#CD7AB5 #B5CD7A #7AB5CD
tetradic
#CD7AB5 #CDBC7A #7ACD92 #7A8CCD
square
#CD7AB5 #CDBC7A #7ACD92 #7A8CCD
split-complementary
#CD7AB5 #8CCD7A #7ACDBC
monochromatic
#95387A #BC4E9C #CD7AB5 #DEA6CE #EED3E6
Accessibility & contrast
On white
2.98
#CD7AB5 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.05
#CD7AB5 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CD7AB5
7.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CD7AB5 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CD7AB5 | 1.00 | 2.98 | 7.05 | 7.05 |
| #FFFFFF | 2.98 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.05 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.05 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7C8EB7
Deuteranopia (green-blind)
#929AB3
Tritanopia (blue-blind)
#D67C90
Achromatopsia (no color)
#959595
Design tokens & code
CSS
--color: #cd7ab5; /* rgb */ color: rgb(205, 122, 181); /* oklch */ color: oklch(68.7% 0.127 338.6);
Tailwind
colors: {
custom: {
50: '#dea2cb',
500: '#cd7ab5',
950: '#000000',
},
}SCSS
$custom: #cd7ab5; $custom-light: #dea2cb; $custom-dark: #000000;
JSON
{
"hex": "#cd7ab5",
"rgb": {
"r": 205,
"g": 122,
"b": 181
},
"hsl": {
"h": 317.349,
"s": 45.355,
"l": 64.118
},
"oklch": {
"l": 0.68737,
"c": 0.12696,
"h": 338.6
},
"luminance": 0.30234
}Semantic roles & 50–950 ramp
primary
#CD7AB5
secondary
#C3E0CB
accent
#B9552D
background
#FDFAFC
surface
#FBF4F8
border
#D4CED1
text
#150F13
muted
#837F82