#CA7CB2#CA7CB2
#CA7CB2 is a light, moderate pink. Relative luminance 0.302; OKLCH L 68.6% C 0.118 H 339.2°. Best body text is #000000 at 7.04:1 contrast (WCAG AA passes).
Color values
| HEX | #CA7CB2 |
|---|---|
| RGB | rgb(202, 124, 178) |
| HSL | hsl(318, 42%, 64%) |
| HSV | hsv(318, 39%, 79%) |
| CMYK | cmyk(0%, 38.6%, 11.9%, 20.8%) |
| CIE-LAB | lab(61.82, 38.03, -15.74) |
| CIE-LCH | lch(61.82, 41.16, 337.51°) |
| OKLab | oklab(68.59% 0.1108 -0.042) |
| OKLCH | oklch(68.59% 0.119 339.2) |
| XYZ | xyz(39.6007, 30.1884, 45.8519) |
| Luminance | 0.3019 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Pale Magenta
#D767AD
ΔE00 5.27
Orchid (survey)
#C875C4
ΔE00 5.40
Lavender Pink
#DD85D7
ΔE00 7.12
Purplish Pink
#CE5DAE
ΔE00 7.43
Dusty Lavender
#AC86A8
ΔE00 7.79
Orchid
#DA70D6
ΔE00 8.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CA7CB2 #7CCA94
analogous
#BB7CCA #CA7CB2 #CA7C8B
triadic
#CA7CB2 #B2CA7C #7CB2CA
tetradic
#CA7CB2 #CABB7C #7CCA94 #7C8BCA
square
#CA7CB2 #CABB7C #7CCA94 #7C8BCA
split-complementary
#CA7CB2 #8BCA7C #7CCABB
monochromatic
#913B76 #B85098 #CA7CB2 #DCA8CC #EDD3E5
Accessibility & contrast
On white
2.98
#CA7CB2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.04
#CA7CB2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CA7CB2
7.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CA7CB2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CA7CB2 | 1.00 | 2.98 | 7.04 | 7.04 |
| #FFFFFF | 2.98 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.04 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.04 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7F8EB4
Deuteranopia (green-blind)
#929AB0
Tritanopia (blue-blind)
#D27E90
Achromatopsia (no color)
#959595
Design tokens & code
CSS
--color: #ca7cb2; /* rgb */ color: rgb(202, 124, 178); /* oklch */ color: oklch(68.6% 0.118 339.2);
Tailwind
colors: {
custom: {
50: '#dba3c9',
500: '#ca7cb2',
950: '#000000',
},
}SCSS
$custom: #ca7cb2; $custom-light: #dba3c9; $custom-dark: #000000;
JSON
{
"hex": "#ca7cb2",
"rgb": {
"r": 202,
"g": 124,
"b": 178
},
"hsl": {
"h": 318.462,
"s": 42.391,
"l": 63.922
},
"oklch": {
"l": 0.68593,
"c": 0.1185,
"h": 339.2
},
"luminance": 0.30186
}Semantic roles & 50–950 ramp
primary
#CA7CB2
secondary
#C3DFCC
accent
#B55930
background
#FDFAFC
surface
#FBF4F8
border
#D4CED1
text
#150F13
muted
#837F82