#CC796A#CC796A
#CC796A is a light, moderate red. Relative luminance 0.276; OKLCH L 66.2% C 0.107 H 31.1°. Best body text is #000000 at 6.51:1 contrast (WCAG AA passes).
Color values
| HEX | #CC796A |
|---|---|
| RGB | rgb(204, 121, 106) |
| HSL | hsl(9, 49%, 61%) |
| HSV | hsv(9, 48%, 80%) |
| CMYK | cmyk(0%, 40.7%, 48%, 20%) |
| CIE-LAB | lab(59.49, 30.76, 22.15) |
| CIE-LCH | lch(59.49, 37.90, 35.76°) |
| OKLab | oklab(66.24% 0.0917 0.0552) |
| OKLCH | oklch(66.24% 0.107 31.1) |
| XYZ | xyz(34.3428, 27.5558, 17.1430) |
| Luminance | 0.2755 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Brownish Pink
#C27E79
ΔE00 4.75
Pinkish Brown
#B17261
ΔE00 6.09
Dark Peach
#DE7E5D
ΔE00 6.51
Dirty Pink
#CA7B80
ΔE00 7.58
Clay
#B66A50
ΔE00 7.63
Terracotta
#C96F4A
ΔE00 7.80
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CC796A #6ABDCC
analogous
#CC6A8C #CC796A #CCAA6A
triadic
#CC796A #6ACC79 #796ACC
tetradic
#CC796A #8CCC6A #6ABDCC #AA6ACC
square
#CC796A #8CCC6A #6ABDCC #AA6ACC
split-complementary
#CC796A #6ACCAA #6A8CCC
monochromatic
#8C3E30 #B9523F #CC796A #DCA298 #EBCBC5
Accessibility & contrast
On white
3.23
#CC796A on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.51
#CC796A on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #CC796A
6.51:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CC796A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CC796A | 1.00 | 3.23 | 6.51 | 6.51 |
| #FFFFFF | 3.23 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.51 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.51 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8C8569
Deuteranopia (green-blind)
#A09669
Tritanopia (blue-blind)
#DC6D75
Achromatopsia (no color)
#8F8F8F
Design tokens & code
CSS
--color: #cc796a; /* rgb */ color: rgb(204, 121, 106); /* oklch */ color: oklch(66.2% 0.107 31.1);
Tailwind
colors: {
custom: {
50: '#dfa194',
500: '#cc796a',
950: '#000000',
},
}SCSS
$custom: #cc796a; $custom-light: #dfa194; $custom-dark: #000000;
JSON
{
"hex": "#cc796a",
"rgb": {
"r": 204,
"g": 121,
"b": 106
},
"hsl": {
"h": 9.184,
"s": 49,
"l": 60.784
},
"oklch": {
"l": 0.66238,
"c": 0.10703,
"h": 31.1
},
"luminance": 0.27553
}Semantic roles & 50–950 ramp
primary
#CC796A
secondary
#B6D6DB
accent
#A6BC29
background
#FEF9F9
surface
#FCF2F1
border
#D5CCCB
text
#160F0D
muted
#847E7E