#CD797C#CD797C

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

Color values

HEX#CD797C
RGBrgb(205, 121, 124)
HSLhsl(358, 46%, 64%)
HSVhsv(358, 41%, 80%)
CMYKcmyk(0%, 41%, 39.5%, 19.6%)
CIE-LABlab(59.99, 33.06, 12.58)
CIE-LCHlch(59.99, 35.37, 20.83°)
OKLaboklab(66.77% 0.1 0.0325)
OKLCHoklch(66.77% 0.105 18)
XYZxyz(35.6540, 28.1121, 22.6133)
Luminance0.2811 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD797C #79CDCA
analogous
#CD79A6 #CD797C #CDA079
triadic
#CD797C #7CCD79 #797CCD
tetradic
#CD797C #A6CD79 #79CDCA #A079CD
square
#CD797C #A6CD79 #79CDCA #A079CD
split-complementary
#CD797C #79CDA0 #79A6CD
monochromatic
#94373B #BC4C50 #CD797C #DEA6A8 #EED2D3

Accessibility & contrast

On white

3.17
#CD797C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.62
#CD797C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD797C
6.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD797C#FFFFFF#000000##000000
##CD797C1.003.176.626.62
#FFFFFF3.171.0021.0021.00
#0000006.6221.001.001.00
##0000006.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A867C
Deuteranopia (green-blind)
#9E977A
Tritanopia (blue-blind)
#DC6F7A
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #cd797c;
/* rgb */ color: rgb(205, 121, 124);
/* oklch */ color: oklch(66.8% 0.105 18.0);
Tailwind
colors: {
  custom: {
    50: '#dfa1a1',
    500: '#cd797c',
    950: '#000000',
  },
}
SCSS
$custom: #cd797c;
$custom-light: #dfa1a1;
$custom-dark: #000000;
JSON
{
  "hex": "#cd797c",
  "rgb": {
    "r": 205,
    "g": 121,
    "b": 124
  },
  "hsl": {
    "h": 357.857,
    "s": 45.652,
    "l": 63.922
  },
  "oklch": {
    "l": 0.66775,
    "c": 0.10513,
    "h": 18
  },
  "luminance": 0.28109
}

Semantic roles & 50–950 ramp

primary
#CD797C
secondary
#C2E0DF
accent
#B9B42D
background
#FEFAF9
surface
#FCF3F2
border
#D5CDCC
text
#150F0F
muted
#847F7E

Preview Lab

Preview with #CD797C

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

Preview Lab → · Contrast checker → · Palette generator →

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