#CD797D#CD797D

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

Color values

HEX#CD797D
RGBrgb(205, 121, 125)
HSLhsl(357, 46%, 64%)
HSVhsv(357, 41%, 80%)
CMYKcmyk(0%, 41%, 39%, 19.6%)
CIE-LABlab(60.01, 33.17, 12.04)
CIE-LCHlch(60.01, 35.29, 19.94°)
OKLaboklab(66.8% 0.1004 0.0311)
OKLCHoklch(66.8% 0.105 17.2)
XYZxyz(35.7176, 28.1376, 22.9480)
Luminance0.2813 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD797D #79CDC9
analogous
#CD79A7 #CD797D #CD9F79
triadic
#CD797D #7DCD79 #797DCD
tetradic
#CD797D #A7CD79 #79CDC9 #9F79CD
square
#CD797D #A7CD79 #79CDC9 #9F79CD
split-complementary
#CD797D #79CD9F #79A7CD
monochromatic
#94373C #BC4C52 #CD797D #DEA6A8 #EED2D3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CD797D#FFFFFF#000000##000000
##CD797D1.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)
#8A877D
Deuteranopia (green-blind)
#9E977B
Tritanopia (blue-blind)
#DC6F7B
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #cd797d;
/* rgb */ color: rgb(205, 121, 125);
/* oklch */ color: oklch(66.8% 0.105 17.2);
Tailwind
colors: {
  custom: {
    50: '#dfa1a2',
    500: '#cd797d',
    950: '#000000',
  },
}
SCSS
$custom: #cd797d;
$custom-light: #dfa1a2;
$custom-dark: #000000;
JSON
{
  "hex": "#cd797d",
  "rgb": {
    "r": 205,
    "g": 121,
    "b": 125
  },
  "hsl": {
    "h": 357.143,
    "s": 45.652,
    "l": 63.922
  },
  "oklch": {
    "l": 0.668,
    "c": 0.10509,
    "h": 17.2
  },
  "luminance": 0.28135
}

Semantic roles & 50–950 ramp

primary
#CD797D
secondary
#C2E0DE
accent
#B9B22D
background
#FEFAF9
surface
#FCF3F2
border
#D5CDCC
text
#150F0F
muted
#847F7E

Preview Lab

Preview with #CD797D

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

Preview Lab → · Contrast checker → · Palette generator →

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