#CB797F#CB797F
#CB797F is a light, moderate red. Relative luminance 0.279; OKLCH L 66.6% C 0.103 H 15.5°. Best body text is #000000 at 6.58:1 contrast (WCAG AA passes).
Color values
| HEX | #CB797F |
|---|---|
| RGB | rgb(203, 121, 127) |
| HSL | hsl(356, 44%, 64%) |
| HSV | hsv(356, 40%, 80%) |
| CMYK | cmyk(0%, 40.4%, 37.4%, 20.4%) |
| CIE-LAB | lab(59.80, 32.66, 10.56) |
| CIE-LCH | lch(59.80, 34.32, 17.91°) |
| OKLab | oklab(66.6% 0.0989 0.0275) |
| OKLCH | oklch(66.6% 0.103 15.5) |
| XYZ | xyz(35.2983, 27.9065, 23.6020) |
| Luminance | 0.2790 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Dirty Pink
#CA7B80
ΔE00 0.64
Dusty Rose
#C0737A
ΔE00 2.73
Old Rose
#C87F89
ΔE00 2.83
Old Pink
#C77986
ΔE00 2.86
Ugly Pink
#CD7584
ΔE00 2.93
Dusky Pink
#CC7A8B
ΔE00 3.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CB797F #79CBC5
analogous
#CB79A8 #CB797F #CB9C79
triadic
#CB797F #7FCB79 #797FCB
tetradic
#CB797F #A8CB79 #79CBC5 #9C79CB
square
#CB797F #A8CB79 #79CBC5 #9C79CB
split-complementary
#CB797F #79CB9C #79A8CB
monochromatic
#91383F #BA4D55 #CB797F #DCA5A9 #EDD1D3
Accessibility & contrast
On white
3.19
#CB797F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.58
#CB797F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #CB797F
6.58:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CB797F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CB797F | 1.00 | 3.19 | 6.58 | 6.58 |
| #FFFFFF | 3.19 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.58 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.58 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#89867F
Deuteranopia (green-blind)
#9D967D
Tritanopia (blue-blind)
#D9707B
Achromatopsia (no color)
#909090
Design tokens & code
CSS
--color: #cb797f; /* rgb */ color: rgb(203, 121, 127); /* oklch */ color: oklch(66.6% 0.103 15.5);
Tailwind
colors: {
custom: {
50: '#dda1a4',
500: '#cb797f',
950: '#000000',
},
}SCSS
$custom: #cb797f; $custom-light: #dda1a4; $custom-dark: #000000;
JSON
{
"hex": "#cb797f",
"rgb": {
"r": 203,
"g": 121,
"b": 127
},
"hsl": {
"h": 355.61,
"s": 44.086,
"l": 63.529
},
"oklch": {
"l": 0.66601,
"c": 0.10266,
"h": 15.5
},
"luminance": 0.27904
}Semantic roles & 50–950 ramp
primary
#CB797F
secondary
#C1DEDC
accent
#B7AD2E
background
#FDFAFA
surface
#FBF3F4
border
#D4CDCE
text
#150F0F
muted
#837F7F