#CA798F#CA798F
#CA798F is a light, moderate pink. Relative luminance 0.282; OKLCH L 66.9% C 0.104 H 2.7°. Best body text is #000000 at 6.64:1 contrast (WCAG AA passes).
Color values
| HEX | #CA798F |
|---|---|
| RGB | rgb(202, 121, 143) |
| HSL | hsl(344, 43%, 63%) |
| HSV | hsv(344, 40%, 79%) |
| CMYK | cmyk(0%, 40.1%, 29.2%, 20.8%) |
| CIE-LAB | lab(60.08, 34.33, 1.73) |
| CIE-LCH | lch(60.08, 34.37, 2.89°) |
| OKLab | oklab(66.92% 0.1039 0.005) |
| OKLCH | oklch(66.92% 0.104 2.7) |
| XYZ | xyz(36.1536, 28.2172, 29.5236) |
| Luminance | 0.2821 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Muted Pink
#D1768F
ΔE00 1.60
Dusky Pink
#CC7A8B
ΔE00 1.77
Old Pink
#C77986
ΔE00 2.91
Ugly Pink
#CD7584
ΔE00 3.25
Old Rose
#C87F89
ΔE00 3.85
Dull Pink
#D5869D
ΔE00 3.99
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CA798F #79CAB4
analogous
#CA79B7 #CA798F #CA8B79
triadic
#CA798F #8FCA79 #798FCA
tetradic
#CA798F #B7CA79 #79CAB4 #8B79CA
square
#CA798F #B7CA79 #79CAB4 #8B79CA
split-complementary
#CA798F #79CA8B #79B7CA
monochromatic
#903950 #B94D6A #CA798F #DBA5B4 #EDD1D8
Accessibility & contrast
On white
3.16
#CA798F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.64
#CA798F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #CA798F
6.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CA798F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CA798F | 1.00 | 3.16 | 6.64 | 6.64 |
| #FFFFFF | 3.16 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.64 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.64 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#858890
Deuteranopia (green-blind)
#99968D
Tritanopia (blue-blind)
#D77381
Achromatopsia (no color)
#919191
Design tokens & code
CSS
--color: #ca798f; /* rgb */ color: rgb(202, 121, 143); /* oklch */ color: oklch(66.9% 0.104 2.7);
Tailwind
colors: {
custom: {
50: '#dca1af',
500: '#ca798f',
950: '#000000',
},
}SCSS
$custom: #ca798f; $custom-light: #dca1af; $custom-dark: #000000;
JSON
{
"hex": "#ca798f",
"rgb": {
"r": 202,
"g": 121,
"b": 143
},
"hsl": {
"h": 343.704,
"s": 43.316,
"l": 63.333
},
"oklch": {
"l": 0.66922,
"c": 0.10401,
"h": 2.7
},
"luminance": 0.28214
}Semantic roles & 50–950 ramp
primary
#CA798F
secondary
#C1DED6
accent
#B6922F
background
#FDFAFA
surface
#FBF3F4
border
#D4CDCE
text
#150F10
muted
#837F7F