#CA798E#CA798E
#CA798E is a light, moderate pink. Relative luminance 0.282; OKLCH L 66.9% C 0.104 H 3.5°. Best body text is #000000 at 6.64:1 contrast (WCAG AA passes).
Color values
| HEX | #CA798E |
|---|---|
| RGB | rgb(202, 121, 142) |
| HSL | hsl(344, 43%, 63%) |
| HSV | hsv(344, 40%, 79%) |
| CMYK | cmyk(0%, 40.1%, 29.7%, 20.8%) |
| CIE-LAB | lab(60.06, 34.19, 2.27) |
| CIE-LCH | lch(60.06, 34.27, 3.79°) |
| OKLab | oklab(66.89% 0.1035 0.0064) |
| OKLCH | oklch(66.89% 0.104 3.5) |
| XYZ | xyz(36.0782, 28.1870, 29.1264) |
| Luminance | 0.2818 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Dusky Pink
#CC7A8B
ΔE00 1.46
Muted Pink
#D1768F
ΔE00 1.65
Old Pink
#C77986
ΔE00 2.59
Ugly Pink
#CD7584
ΔE00 2.95
Old Rose
#C87F89
ΔE00 3.57
Dull Pink
#D5869D
ΔE00 4.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CA798E #79CAB5
analogous
#CA79B7 #CA798E #CA8C79
triadic
#CA798E #8ECA79 #798ECA
tetradic
#CA798E #B7CA79 #79CAB5 #8C79CA
square
#CA798E #B7CA79 #79CAB5 #8C79CA
split-complementary
#CA798E #79CA8C #79B7CA
monochromatic
#90394F #B94D69 #CA798E #DBA5B3 #EDD1D8
Accessibility & contrast
On white
3.16
#CA798E on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.64
#CA798E on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #CA798E
6.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CA798E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CA798E | 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)
#85888F
Deuteranopia (green-blind)
#99968C
Tritanopia (blue-blind)
#D77380
Achromatopsia (no color)
#919191
Design tokens & code
CSS
--color: #ca798e; /* rgb */ color: rgb(202, 121, 142); /* oklch */ color: oklch(66.9% 0.104 3.5);
Tailwind
colors: {
custom: {
50: '#dca1af',
500: '#ca798e',
950: '#000000',
},
}SCSS
$custom: #ca798e; $custom-light: #dca1af; $custom-dark: #000000;
JSON
{
"hex": "#ca798e",
"rgb": {
"r": 202,
"g": 121,
"b": 142
},
"hsl": {
"h": 344.444,
"s": 43.316,
"l": 63.333
},
"oklch": {
"l": 0.66892,
"c": 0.10373,
"h": 3.5
},
"luminance": 0.28184
}Semantic roles & 50–950 ramp
primary
#CA798E
secondary
#C1DED6
accent
#B6932F
background
#FDFAFA
surface
#FBF3F4
border
#D4CDCE
text
#150F10
muted
#837F7F