#CA787F#CA787F
#CA787F is a light, moderate red. Relative luminance 0.275; OKLCH L 66.3% C 0.103 H 14.8°. Best body text is #000000 at 6.50:1 contrast (WCAG AA passes).
Color values
| HEX | #CA787F |
|---|---|
| RGB | rgb(202, 120, 127) |
| HSL | hsl(355, 44%, 63%) |
| HSV | hsv(355, 41%, 79%) |
| CMYK | cmyk(0%, 40.6%, 37.1%, 20.8%) |
| CIE-LAB | lab(59.46, 32.82, 10.05) |
| CIE-LCH | lch(59.46, 34.32, 17.02°) |
| OKLab | oklab(66.31% 0.0994 0.0262) |
| OKLCH | oklch(66.31% 0.103 14.8) |
| XYZ | xyz(34.9059, 27.5247, 23.5489) |
| Luminance | 0.2752 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Dirty Pink
#CA7B80
ΔE00 0.97
Dusty Rose
#C0737A
ΔE00 2.39
Old Pink
#C77986
ΔE00 2.52
Ugly Pink
#CD7584
ΔE00 2.57
Old Rose
#C87F89
ΔE00 2.75
Dusky Pink
#CC7A8B
ΔE00 3.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CA787F #78CAC3
analogous
#CA78A8 #CA787F #CA9A78
triadic
#CA787F #7FCA78 #787FCA
tetradic
#CA787F #A8CA78 #78CAC3 #9A78CA
square
#CA787F #A8CA78 #78CAC3 #9A78CA
split-complementary
#CA787F #78CA9A #78A8CA
monochromatic
#8F3840 #B94C55 #CA787F #DBA4A9 #EDD0D2
Accessibility & contrast
On white
3.23
#CA787F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.50
#CA787F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #CA787F
6.50:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CA787F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CA787F | 1.00 | 3.23 | 6.50 | 6.50 |
| #FFFFFF | 3.23 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.50 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.50 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#87857F
Deuteranopia (green-blind)
#9C957D
Tritanopia (blue-blind)
#D86F7B
Achromatopsia (no color)
#8F8F8F
Design tokens & code
CSS
--color: #ca787f; /* rgb */ color: rgb(202, 120, 127); /* oklch */ color: oklch(66.3% 0.103 14.8);
Tailwind
colors: {
custom: {
50: '#dca0a4',
500: '#ca787f',
950: '#000000',
},
}SCSS
$custom: #ca787f; $custom-light: #dca0a4; $custom-dark: #000000;
JSON
{
"hex": "#ca787f",
"rgb": {
"r": 202,
"g": 120,
"b": 127
},
"hsl": {
"h": 354.878,
"s": 43.617,
"l": 63.137
},
"oklch": {
"l": 0.66309,
"c": 0.10282,
"h": 14.8
},
"luminance": 0.27522
}Semantic roles & 50–950 ramp
primary
#CA787F
secondary
#C0DEDB
accent
#B7AB2F
background
#FDF9FA
surface
#FBF2F4
border
#D4CCCE
text
#150F0F
muted
#837E7F