#CD797A#CD797A

#CD797A is a light, moderate red. Relative luminance 0.281; OKLCH L 66.7% C 0.105 H 19.5°. Best body text is #000000 at 6.61:1 contrast (WCAG AA passes).

Color values

HEX#CD797A
RGBrgb(205, 121, 122)
HSLhsl(359, 46%, 64%)
HSVhsv(359, 41%, 80%)
CMYKcmyk(0%, 41%, 40.5%, 19.6%)
CIE-LABlab(59.94, 32.83, 13.66)
CIE-LCHlch(59.94, 35.56, 22.59°)
OKLaboklab(66.72% 0.0992 0.0351)
OKLCHoklch(66.72% 0.105 19.5)
XYZxyz(35.5288, 28.0621, 21.9539)
Luminance0.2806 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD797A #79CDCC
analogous
#CD79A4 #CD797A #CDA279
triadic
#CD797A #7ACD79 #797ACD
tetradic
#CD797A #A4CD79 #79CDCC #A279CD
square
#CD797A #A4CD79 #79CDCC #A279CD
split-complementary
#CD797A #79CDA2 #79A4CD
monochromatic
#943738 #BC4C4E #CD797A #DEA6A6 #EED2D2

Accessibility & contrast

On white

3.18
#CD797A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.61
#CD797A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD797A
6.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD797A#FFFFFF#000000##000000
##CD797A1.003.186.616.61
#FFFFFF3.181.0021.0021.00
#0000006.6121.001.001.00
##0000006.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A867A
Deuteranopia (green-blind)
#9F9779
Tritanopia (blue-blind)
#DC6F7A
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #cd797a;
/* rgb */ color: rgb(205, 121, 122);
/* oklch */ color: oklch(66.7% 0.105 19.5);
Tailwind
colors: {
  custom: {
    50: '#dfa1a0',
    500: '#cd797a',
    950: '#000000',
  },
}
SCSS
$custom: #cd797a;
$custom-light: #dfa1a0;
$custom-dark: #000000;
JSON
{
  "hex": "#cd797a",
  "rgb": {
    "r": 205,
    "g": 121,
    "b": 122
  },
  "hsl": {
    "h": 359.286,
    "s": 45.652,
    "l": 63.922
  },
  "oklch": {
    "l": 0.66725,
    "c": 0.10523,
    "h": 19.5
  },
  "luminance": 0.28059
}

Semantic roles & 50–950 ramp

primary
#CD797A
secondary
#C2E0DF
accent
#B9B72D
background
#FEFAF9
surface
#FCF3F2
border
#D5CDCC
text
#160F0E
muted
#847F7E

Preview Lab

Preview with #CD797A

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#CD797A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva