#CA798B#CA798B
#CA798B is a light, moderate red. Relative luminance 0.281; OKLCH L 66.8% C 0.103 H 5.9°. Best body text is #000000 at 6.62:1 contrast (WCAG AA passes).
Color values
| HEX | #CA798B |
|---|---|
| RGB | rgb(202, 121, 139) |
| HSL | hsl(347, 43%, 63%) |
| HSV | hsv(347, 40%, 79%) |
| CMYK | cmyk(0%, 40.1%, 31.2%, 20.8%) |
| CIE-LAB | lab(59.98, 33.79, 3.88) |
| CIE-LCH | lch(59.98, 34.01, 6.55°) |
| OKLab | oklab(66.81% 0.1024 0.0106) |
| OKLCH | oklch(66.81% 0.103 5.9) |
| XYZ | xyz(35.8560, 28.0981, 27.9561) |
| Luminance | 0.2809 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Dusky Pink
#CC7A8B
ΔE00 0.60
Old Pink
#C77986
ΔE00 1.64
Ugly Pink
#CD7584
ΔE00 2.08
Muted Pink
#D1768F
ΔE00 2.13
Old Rose
#C87F89
ΔE00 2.76
Dirty Pink
#CA7B80
ΔE00 4.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CA798B #79CAB8
analogous
#CA79B3 #CA798B #CA8F79
triadic
#CA798B #8BCA79 #798BCA
tetradic
#CA798B #B3CA79 #79CAB8 #8F79CA
square
#CA798B #B3CA79 #79CAB8 #8F79CA
split-complementary
#CA798B #79CA8F #79B3CA
monochromatic
#90394C #B94D65 #CA798B #DBA5B1 #EDD1D7
Accessibility & contrast
On white
3.17
#CA798B on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.62
#CA798B on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #CA798B
6.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CA798B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CA798B | 1.00 | 3.17 | 6.62 | 6.62 |
| #FFFFFF | 3.17 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.62 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.62 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#86878B
Deuteranopia (green-blind)
#9A9689
Tritanopia (blue-blind)
#D7727F
Achromatopsia (no color)
#909090
Design tokens & code
CSS
--color: #ca798b; /* rgb */ color: rgb(202, 121, 139); /* oklch */ color: oklch(66.8% 0.103 5.9);
Tailwind
colors: {
custom: {
50: '#dca1ac',
500: '#ca798b',
950: '#000000',
},
}SCSS
$custom: #ca798b; $custom-light: #dca1ac; $custom-dark: #000000;
JSON
{
"hex": "#ca798b",
"rgb": {
"r": 202,
"g": 121,
"b": 139
},
"hsl": {
"h": 346.667,
"s": 43.316,
"l": 63.333
},
"oklch": {
"l": 0.66805,
"c": 0.10295,
"h": 5.9
},
"luminance": 0.28095
}Semantic roles & 50–950 ramp
primary
#CA798B
secondary
#C1DED7
accent
#B6982F
background
#FDFAFA
surface
#FBF3F4
border
#D4CDCE
text
#150F10
muted
#837F7F