#CD7FB1#CD7FB1
#CD7FB1 is a light, moderate pink. Relative luminance 0.313; OKLCH L 69.4% C 0.115 H 341.6°. Best body text is #000000 at 7.27:1 contrast (WCAG AA passes).
Color values
| HEX | #CD7FB1 |
|---|---|
| RGB | rgb(205, 127, 177) |
| HSL | hsl(322, 44%, 65%) |
| HSV | hsv(322, 38%, 80%) |
| CMYK | cmyk(0%, 38%, 13.7%, 19.6%) |
| CIE-LAB | lab(62.79, 37.27, -13.67) |
| CIE-LCH | lch(62.79, 39.70, 339.85°) |
| OKLab | oklab(69.4% 0.1093 -0.0363) |
| OKLCH | oklch(69.4% 0.115 341.6) |
| XYZ | xyz(40.7022, 31.3345, 45.4907) |
| Luminance | 0.3133 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Pale Magenta
#D767AD
ΔE00 5.86
Orchid (survey)
#C875C4
ΔE00 6.56
Lavender Pink
#DD85D7
ΔE00 7.47
Dusty Lavender
#AC86A8
ΔE00 7.83
Dull Pink
#D5869D
ΔE00 7.97
Palevioletred
#DB7093
ΔE00 8.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CD7FB1 #7FCD9B
analogous
#C27FCD #CD7FB1 #CD7F8A
triadic
#CD7FB1 #B1CD7F #7FB1CD
tetradic
#CD7FB1 #CDC27F #7FCD9B #7F8ACD
square
#CD7FB1 #CDC27F #7FCD9B #7F8ACD
split-complementary
#CD7FB1 #8ACD7F #7FCDC2
monochromatic
#973B76 #BC5396 #CD7FB1 #DEABCC #EFD7E7
Accessibility & contrast
On white
2.89
#CD7FB1 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.27
#CD7FB1 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CD7FB1
7.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CD7FB1 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CD7FB1 | 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)
#8390B3
Deuteranopia (green-blind)
#969CAF
Tritanopia (blue-blind)
#D68091
Achromatopsia (no color)
#989898
Design tokens & code
CSS
--color: #cd7fb1; /* rgb */ color: rgb(205, 127, 177); /* oklch */ color: oklch(69.4% 0.115 341.6);
Tailwind
colors: {
custom: {
50: '#dda5c8',
500: '#cd7fb1',
950: '#000000',
},
}SCSS
$custom: #cd7fb1; $custom-light: #dda5c8; $custom-dark: #000000;
JSON
{
"hex": "#cd7fb1",
"rgb": {
"r": 205,
"g": 127,
"b": 177
},
"hsl": {
"h": 321.538,
"s": 43.82,
"l": 65.098
},
"oklch": {
"l": 0.69395,
"c": 0.11513,
"h": 341.6
},
"luminance": 0.31332
}Semantic roles & 50–950 ramp
primary
#CD7FB1
secondary
#C7E1D0
accent
#B7602F
background
#FDFAFC
surface
#FBF4F8
border
#D4CED1
text
#150F13
muted
#837F82