#CD797E#CD797E

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

Color values

HEX#CD797E
RGBrgb(205, 121, 126)
HSLhsl(356, 46%, 64%)
HSVhsv(356, 41%, 80%)
CMYKcmyk(0%, 41%, 38.5%, 19.6%)
CIE-LABlab(60.04, 33.29, 11.49)
CIE-LCHlch(60.04, 35.22, 19.05°)
OKLaboklab(66.83% 0.1008 0.0298)
OKLCHoklch(66.83% 0.105 16.5)
XYZxyz(35.7818, 28.1633, 23.2861)
Luminance0.2816 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD797E #79CDC8
analogous
#CD79A8 #CD797E #CD9E79
triadic
#CD797E #7ECD79 #797ECD
tetradic
#CD797E #A8CD79 #79CDC8 #9E79CD
square
#CD797E #A8CD79 #79CDC8 #9E79CD
split-complementary
#CD797E #79CD9E #79A8CD
monochromatic
#94373D #BC4C53 #CD797E #DEA6A9 #EED2D4

Accessibility & contrast

On white

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

On black

6.63
#CD797E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD797E
6.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD797E#FFFFFF#000000##000000
##CD797E1.003.176.636.63
#FFFFFF3.171.0021.0021.00
#0000006.6321.001.001.00
##0000006.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#89877E
Deuteranopia (green-blind)
#9E977C
Tritanopia (blue-blind)
#DC707B
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #cd797e;
/* rgb */ color: rgb(205, 121, 126);
/* oklch */ color: oklch(66.8% 0.105 16.5);
Tailwind
colors: {
  custom: {
    50: '#dfa1a3',
    500: '#cd797e',
    950: '#000000',
  },
}
SCSS
$custom: #cd797e;
$custom-light: #dfa1a3;
$custom-dark: #000000;
JSON
{
  "hex": "#cd797e",
  "rgb": {
    "r": 205,
    "g": 121,
    "b": 126
  },
  "hsl": {
    "h": 356.429,
    "s": 45.652,
    "l": 63.922
  },
  "oklch": {
    "l": 0.66825,
    "c": 0.10509,
    "h": 16.5
  },
  "luminance": 0.2816
}

Semantic roles & 50–950 ramp

primary
#CD797E
secondary
#C2E0DE
accent
#B9B12D
background
#FEFAFA
surface
#FCF3F3
border
#D5CDCD
text
#150F0F
muted
#847F7F

Preview Lab

Preview with #CD797E

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

Preview Lab → · Contrast checker → · Palette generator →

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