#CD797B#CD797B

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

Color values

HEX#CD797B
RGBrgb(205, 121, 123)
HSLhsl(359, 46%, 64%)
HSVhsv(359, 41%, 80%)
CMYKcmyk(0%, 41%, 40%, 19.6%)
CIE-LABlab(59.97, 32.94, 13.12)
CIE-LCHlch(59.97, 35.46, 21.71°)
OKLaboklab(66.75% 0.0996 0.0338)
OKLCHoklch(66.75% 0.105 18.7)
XYZxyz(35.5911, 28.0870, 22.2819)
Luminance0.2808 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD797B #79CDCB
analogous
#CD79A5 #CD797B #CDA179
triadic
#CD797B #7BCD79 #797BCD
tetradic
#CD797B #A5CD79 #79CDCB #A179CD
square
#CD797B #A5CD79 #79CDCB #A179CD
split-complementary
#CD797B #79CDA1 #79A5CD
monochromatic
#94373A #BC4C4F #CD797B #DEA6A7 #EED2D3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CD797B#FFFFFF#000000##000000
##CD797B1.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)
#8A867B
Deuteranopia (green-blind)
#9E9779
Tritanopia (blue-blind)
#DC6F7A
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #cd797b;
/* rgb */ color: rgb(205, 121, 123);
/* oklch */ color: oklch(66.8% 0.105 18.7);
Tailwind
colors: {
  custom: {
    50: '#dfa1a1',
    500: '#cd797b',
    950: '#000000',
  },
}
SCSS
$custom: #cd797b;
$custom-light: #dfa1a1;
$custom-dark: #000000;
JSON
{
  "hex": "#cd797b",
  "rgb": {
    "r": 205,
    "g": 121,
    "b": 123
  },
  "hsl": {
    "h": 358.571,
    "s": 45.652,
    "l": 63.922
  },
  "oklch": {
    "l": 0.6675,
    "c": 0.10518,
    "h": 18.7
  },
  "luminance": 0.28084
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CD797B

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

Preview Lab → · Contrast checker → · Palette generator →

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