#CD797F#CD797F

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

Color values

HEX#CD797F
RGBrgb(205, 121, 127)
HSLhsl(356, 46%, 64%)
HSVhsv(356, 41%, 80%)
CMYKcmyk(0%, 41%, 38%, 19.6%)
CIE-LABlab(60.06, 33.41, 10.95)
CIE-LCHlch(60.06, 35.16, 18.15°)
OKLaboklab(66.85% 0.1012 0.0284)
OKLCHoklch(66.85% 0.105 15.7)
XYZxyz(35.8466, 28.1892, 23.6277)
Luminance0.2819 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD797F #79CDC7
analogous
#CD79A9 #CD797F #CD9D79
triadic
#CD797F #7FCD79 #797FCD
tetradic
#CD797F #A9CD79 #79CDC7 #9D79CD
square
#CD797F #A9CD79 #79CDC7 #9D79CD
split-complementary
#CD797F #79CD9D #79A9CD
monochromatic
#94373E #BC4C54 #CD797F #DEA6AA #EED2D4

Accessibility & contrast

On white

3.16
#CD797F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.64
#CD797F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD797F
6.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD797F#FFFFFF#000000##000000
##CD797F1.003.166.646.64
#FFFFFF3.161.0021.0021.00
#0000006.6421.001.001.00
##0000006.6421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cd797f;
/* rgb */ color: rgb(205, 121, 127);
/* oklch */ color: oklch(66.8% 0.105 15.7);
Tailwind
colors: {
  custom: {
    50: '#dfa1a4',
    500: '#cd797f',
    950: '#000000',
  },
}
SCSS
$custom: #cd797f;
$custom-light: #dfa1a4;
$custom-dark: #000000;
JSON
{
  "hex": "#cd797f",
  "rgb": {
    "r": 205,
    "g": 121,
    "b": 127
  },
  "hsl": {
    "h": 355.714,
    "s": 45.652,
    "l": 63.922
  },
  "oklch": {
    "l": 0.6685,
    "c": 0.10509,
    "h": 15.7
  },
  "luminance": 0.28186
}

Semantic roles & 50–950 ramp

primary
#CD797F
secondary
#C2E0DE
accent
#B9AF2D
background
#FEFAFA
surface
#FCF3F4
border
#D5CDCE
text
#150F0F
muted
#847F7F

Preview Lab

Preview with #CD797F

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

Preview Lab → · Contrast checker → · Palette generator →

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