#CD7FAA#CD7FAA
#CD7FAA is a light, moderate pink. Relative luminance 0.311; OKLCH L 69.1% C 0.110 H 346.2°. Best body text is #000000 at 7.21:1 contrast (WCAG AA passes).
Color values
| HEX | #CD7FAA |
|---|---|
| RGB | rgb(205, 127, 170) |
| HSL | hsl(327, 44%, 65%) |
| HSV | hsv(327, 38%, 80%) |
| CMYK | cmyk(0%, 38%, 17.1%, 19.6%) |
| CIE-LAB | lab(62.56, 36.14, -10.04) |
| CIE-LCH | lch(62.56, 37.51, 344.48°) |
| OKLab | oklab(69.15% 0.1071 -0.0263) |
| OKLCH | oklch(69.15% 0.11 346.2) |
| XYZ | xyz(40.0223, 31.0626, 41.9101) |
| Luminance | 0.3106 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Dull Pink
#D5869D
ΔE00 6.23
Pale Magenta
#D767AD
ΔE00 6.43
Palevioletred
#DB7093
ΔE00 6.94
Muted Pink
#D1768F
ΔE00 7.14
Dusty Lavender
#AC86A8
ΔE00 7.94
Orchid (survey)
#C875C4
ΔE00 8.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CD7FAA #7FCDA2
analogous
#C97FCD #CD7FAA #CD7F83
triadic
#CD7FAA #AACD7F #7FAACD
tetradic
#CD7FAA #CDC97F #7FCDA2 #7F83CD
square
#CD7FAA #CDC97F #7FCDA2 #7F83CD
split-complementary
#CD7FAA #83CD7F #7FCDC9
monochromatic
#973B6E #BC538D #CD7FAA #DEABC7 #EFD7E4
Accessibility & contrast
On white
2.91
#CD7FAA on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.21
#CD7FAA on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CD7FAA
7.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CD7FAA | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CD7FAA | 1.00 | 2.91 | 7.21 | 7.21 |
| #FFFFFF | 2.91 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.21 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.21 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#858FAC
Deuteranopia (green-blind)
#989CA8
Tritanopia (blue-blind)
#D77E8E
Achromatopsia (no color)
#979797
Design tokens & code
CSS
--color: #cd7faa; /* rgb */ color: rgb(205, 127, 170); /* oklch */ color: oklch(69.1% 0.110 346.2);
Tailwind
colors: {
custom: {
50: '#dea5c3',
500: '#cd7faa',
950: '#000000',
},
}SCSS
$custom: #cd7faa; $custom-light: #dea5c3; $custom-dark: #000000;
JSON
{
"hex": "#cd7faa",
"rgb": {
"r": 205,
"g": 127,
"b": 170
},
"hsl": {
"h": 326.923,
"s": 43.82,
"l": 65.098
},
"oklch": {
"l": 0.69147,
"c": 0.11026,
"h": 346.2
},
"luminance": 0.3106
}Semantic roles & 50–950 ramp
primary
#CD7FAA
secondary
#C7E1D3
accent
#B76C2F
background
#FDFAFB
surface
#FBF4F7
border
#D4CED0
text
#150F12
muted
#837F81