#CD7EB3#CD7EB3
#CD7EB3 is a light, moderate pink. Relative luminance 0.312; OKLCH L 69.3% C 0.118 H 340.2°. Best body text is #000000 at 7.23:1 contrast (WCAG AA passes).
Color values
| HEX | #CD7EB3 |
|---|---|
| RGB | rgb(205, 126, 179) |
| HSL | hsl(320, 44%, 65%) |
| HSV | hsv(320, 39%, 80%) |
| CMYK | cmyk(0%, 38.5%, 12.7%, 19.6%) |
| CIE-LAB | lab(62.64, 38.13, -15.03) |
| CIE-LCH | lch(62.64, 40.98, 338.48°) |
| OKLab | oklab(69.31% 0.1114 -0.04) |
| OKLCH | oklch(69.31% 0.118 340.2) |
| XYZ | xyz(40.7745, 31.1578, 46.5055) |
| Luminance | 0.3116 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Pale Magenta
#D767AD
ΔE00 5.54
Orchid (survey)
#C875C4
ΔE00 5.88
Lavender Pink
#DD85D7
ΔE00 6.96
Purplish Pink
#CE5DAE
ΔE00 7.97
Dusty Lavender
#AC86A8
ΔE00 8.00
Orchid
#DA70D6
ΔE00 8.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CD7EB3 #7ECD98
analogous
#C07ECD #CD7EB3 #CD7E8B
triadic
#CD7EB3 #B3CD7E #7EB3CD
tetradic
#CD7EB3 #CDC07E #7ECD98 #7E8BCD
square
#CD7EB3 #CDC07E #7ECD98 #7E8BCD
split-complementary
#CD7EB3 #8BCD7E #7ECDC0
monochromatic
#963A78 #BC5299 #CD7EB3 #DEAACD #EFD6E7
Accessibility & contrast
On white
2.90
#CD7EB3 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.23
#CD7EB3 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CD7EB3
7.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CD7EB3 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CD7EB3 | 1.00 | 2.90 | 7.23 | 7.23 |
| #FFFFFF | 2.90 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.23 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.23 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8190B5
Deuteranopia (green-blind)
#959CB1
Tritanopia (blue-blind)
#D67F91
Achromatopsia (no color)
#979797
Design tokens & code
CSS
--color: #cd7eb3; /* rgb */ color: rgb(205, 126, 179); /* oklch */ color: oklch(69.3% 0.118 340.2);
Tailwind
colors: {
custom: {
50: '#dda5c9',
500: '#cd7eb3',
950: '#000000',
},
}SCSS
$custom: #cd7eb3; $custom-light: #dda5c9; $custom-dark: #000000;
JSON
{
"hex": "#cd7eb3",
"rgb": {
"r": 205,
"g": 126,
"b": 179
},
"hsl": {
"h": 319.747,
"s": 44.134,
"l": 64.902
},
"oklch": {
"l": 0.69305,
"c": 0.11839,
"h": 340.2
},
"luminance": 0.31156
}Semantic roles & 50–950 ramp
primary
#CD7EB3
secondary
#C6E1CF
accent
#B75B2E
background
#FDFAFC
surface
#FBF4F8
border
#D4CED1
text
#150F13
muted
#837F82