#CD7DAF#CD7DAF
#CD7DAF is a light, moderate pink. Relative luminance 0.307; OKLCH L 69.0% C 0.117 H 342.5°. Best body text is #000000 at 7.15:1 contrast (WCAG AA passes).
Color values
| HEX | #CD7DAF |
|---|---|
| RGB | rgb(205, 125, 175) |
| HSL | hsl(323, 44%, 65%) |
| HSV | hsv(323, 39%, 80%) |
| CMYK | cmyk(0%, 39%, 14.6%, 19.6%) |
| CIE-LAB | lab(62.29, 38.01, -13.29) |
| CIE-LCH | lch(62.29, 40.26, 340.73°) |
| OKLab | oklab(69% 0.1118 -0.0352) |
| OKLCH | oklch(69% 0.117 342.5) |
| XYZ | xyz(40.2486, 30.7439, 44.3633) |
| Luminance | 0.3074 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Pale Magenta
#D767AD
ΔE00 5.42
Orchid (survey)
#C875C4
ΔE00 6.62
Lavender Pink
#DD85D7
ΔE00 7.81
Dull Pink
#D5869D
ΔE00 7.88
Palevioletred
#DB7093
ΔE00 7.99
Purplish Pink
#CE5DAE
ΔE00 8.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CD7DAF #7DCD9B
analogous
#C37DCD #CD7DAF #CD7D87
triadic
#CD7DAF #AFCD7D #7DAFCD
tetradic
#CD7DAF #CDC37D #7DCD9B #7D87CD
square
#CD7DAF #CDC37D #7DCD9B #7D87CD
split-complementary
#CD7DAF #87CD7D #7DCDC3
monochromatic
#963A73 #BC5194 #CD7DAF #DEA9CA #EFD5E5
Accessibility & contrast
On white
2.94
#CD7DAF on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.15
#CD7DAF on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CD7DAF
7.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CD7DAF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CD7DAF | 1.00 | 2.94 | 7.15 | 7.15 |
| #FFFFFF | 2.94 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.15 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.15 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#818FB1
Deuteranopia (green-blind)
#969BAD
Tritanopia (blue-blind)
#D67D8F
Achromatopsia (no color)
#979797
Design tokens & code
CSS
--color: #cd7daf; /* rgb */ color: rgb(205, 125, 175); /* oklch */ color: oklch(69.0% 0.117 342.5);
Tailwind
colors: {
custom: {
50: '#dea4c7',
500: '#cd7daf',
950: '#000000',
},
}SCSS
$custom: #cd7daf; $custom-light: #dea4c7; $custom-dark: #000000;
JSON
{
"hex": "#cd7daf",
"rgb": {
"r": 205,
"g": 125,
"b": 175
},
"hsl": {
"h": 322.5,
"s": 44.444,
"l": 64.706
},
"oklch": {
"l": 0.68996,
"c": 0.11718,
"h": 342.5
},
"luminance": 0.30742
}Semantic roles & 50–950 ramp
primary
#CD7DAF
secondary
#C5E1CF
accent
#B8622E
background
#FDFAFC
surface
#FBF4F8
border
#D4CED1
text
#150F13
muted
#837F82