#CA7BAF#CA7BAF
#CA7BAF is a light, moderate pink. Relative luminance 0.298; OKLCH L 68.3% C 0.118 H 340.9°. Best body text is #000000 at 6.96:1 contrast (WCAG AA passes).
Color values
| HEX | #CA7BAF |
|---|---|
| RGB | rgb(202, 123, 175) |
| HSL | hsl(321, 43%, 64%) |
| HSV | hsv(321, 39%, 79%) |
| CMYK | cmyk(0%, 39.1%, 13.4%, 20.8%) |
| CIE-LAB | lab(61.50, 38.06, -14.52) |
| CIE-LCH | lch(61.50, 40.74, 339.13°) |
| OKLab | oklab(68.32% 0.1115 -0.0386) |
| OKLCH | oklch(68.32% 0.118 340.9) |
| XYZ | xyz(39.1781, 29.8199, 44.2414) |
| Luminance | 0.2982 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Pale Magenta
#D767AD
ΔE00 5.08
Orchid (survey)
#C875C4
ΔE00 5.93
Purplish Pink
#CE5DAE
ΔE00 7.37
Lavender Pink
#DD85D7
ΔE00 7.73
Dusty Lavender
#AC86A8
ΔE00 7.84
Palevioletred
#DB7093
ΔE00 8.47
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CA7BAF #7BCA96
analogous
#BD7BCA #CA7BAF #CA7B87
triadic
#CA7BAF #AFCA7B #7BAFCA
tetradic
#CA7BAF #CABD7B #7BCA96 #7B87CA
square
#CA7BAF #CABD7B #7BCA96 #7B87CA
split-complementary
#CA7BAF #87CA7B #7BCABD
monochromatic
#913A73 #B84F95 #CA7BAF #DCA7C9 #EDD2E4
Accessibility & contrast
On white
3.02
#CA7BAF on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.96
#CA7BAF on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #CA7BAF
6.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CA7BAF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CA7BAF | 1.00 | 3.02 | 6.96 | 6.96 |
| #FFFFFF | 3.02 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.96 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.96 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7F8DB1
Deuteranopia (green-blind)
#9399AD
Tritanopia (blue-blind)
#D37C8E
Achromatopsia (no color)
#949494
Design tokens & code
CSS
--color: #ca7baf; /* rgb */ color: rgb(202, 123, 175); /* oklch */ color: oklch(68.3% 0.118 340.9);
Tailwind
colors: {
custom: {
50: '#dba2c7',
500: '#ca7baf',
950: '#000000',
},
}SCSS
$custom: #ca7baf; $custom-light: #dba2c7; $custom-dark: #000000;
JSON
{
"hex": "#ca7baf",
"rgb": {
"r": 202,
"g": 123,
"b": 175
},
"hsl": {
"h": 320.506,
"s": 42.703,
"l": 63.725
},
"oklch": {
"l": 0.68318,
"c": 0.11796,
"h": 340.9
},
"luminance": 0.29818
}Semantic roles & 50–950 ramp
primary
#CA7BAF
secondary
#C2DECC
accent
#B65E30
background
#FDFAFC
surface
#FBF4F8
border
#D4CED1
text
#150F13
muted
#837F82