#CD7FB2#CD7FB2
#CD7FB2 is a light, moderate pink. Relative luminance 0.314; OKLCH L 69.4% C 0.116 H 341.0°. Best body text is #000000 at 7.27:1 contrast (WCAG AA passes).
Color values
| HEX | #CD7FB2 |
|---|---|
| RGB | rgb(205, 127, 178) |
| HSL | hsl(321, 44%, 65%) |
| HSV | hsv(321, 38%, 80%) |
| CMYK | cmyk(0%, 38%, 13.2%, 19.6%) |
| CIE-LAB | lab(62.82, 37.43, -14.19) |
| CIE-LCH | lch(62.82, 40.03, 339.24°) |
| OKLab | oklab(69.43% 0.1096 -0.0377) |
| OKLCH | oklch(69.43% 0.116 341) |
| XYZ | xyz(40.8022, 31.3746, 46.0176) |
| Luminance | 0.3137 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Pale Magenta
#D767AD
ΔE00 5.82
Orchid (survey)
#C875C4
ΔE00 6.33
Lavender Pink
#DD85D7
ΔE00 7.24
Dusty Lavender
#AC86A8
ΔE00 7.85
Dull Pink
#D5869D
ΔE00 8.22
Purplish Pink
#CE5DAE
ΔE00 8.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CD7FB2 #7FCD9A
analogous
#C17FCD #CD7FB2 #CD7F8B
triadic
#CD7FB2 #B2CD7F #7FB2CD
tetradic
#CD7FB2 #CDC17F #7FCD9A #7F8BCD
square
#CD7FB2 #CDC17F #7FCD9A #7F8BCD
split-complementary
#CD7FB2 #8BCD7F #7FCDC1
monochromatic
#973B77 #BC5398 #CD7FB2 #DEABCC #EFD7E7
Accessibility & contrast
On white
2.89
#CD7FB2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.27
#CD7FB2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CD7FB2
7.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CD7FB2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CD7FB2 | 1.00 | 2.89 | 7.27 | 7.27 |
| #FFFFFF | 2.89 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.27 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.27 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8390B4
Deuteranopia (green-blind)
#969DB0
Tritanopia (blue-blind)
#D68091
Achromatopsia (no color)
#989898
Design tokens & code
CSS
--color: #cd7fb2; /* rgb */ color: rgb(205, 127, 178); /* oklch */ color: oklch(69.4% 0.116 341.0);
Tailwind
colors: {
custom: {
50: '#dda5c9',
500: '#cd7fb2',
950: '#000000',
},
}SCSS
$custom: #cd7fb2; $custom-light: #dda5c9; $custom-dark: #000000;
JSON
{
"hex": "#cd7fb2",
"rgb": {
"r": 205,
"g": 127,
"b": 178
},
"hsl": {
"h": 320.769,
"s": 43.82,
"l": 65.098
},
"oklch": {
"l": 0.69432,
"c": 0.11587,
"h": 341
},
"luminance": 0.31372
}Semantic roles & 50–950 ramp
primary
#CD7FB2
secondary
#C7E1D0
accent
#B75E2F
background
#FDFAFC
surface
#FBF4F8
border
#D4CED1
text
#150F13
muted
#837F82