#CD798C#CD798C

#CD798C is a light, moderate red. Relative luminance 0.285; OKLCH L 67.2% C 0.107 H 5.8°. Best body text is #000000 at 6.71:1 contrast (WCAG AA passes).

Color values

HEX#CD798C
RGBrgb(205, 121, 140)
HSLhsl(346, 46%, 64%)
HSVhsv(346, 41%, 80%)
CMYKcmyk(0%, 41%, 31.7%, 19.6%)
CIE-LABlab(60.38, 35.02, 3.94)
CIE-LCHlch(60.38, 35.24, 6.41°)
OKLaboklab(67.2% 0.1062 0.0107)
OKLCHoklch(67.2% 0.107 5.8)
XYZxyz(36.7492, 28.5502, 28.3811)
Luminance0.2855 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD798C #79CDBA
analogous
#CD79B6 #CD798C #CD9079
triadic
#CD798C #8CCD79 #798CCD
tetradic
#CD798C #B6CD79 #79CDBA #9079CD
square
#CD798C #B6CD79 #79CDBA #9079CD
split-complementary
#CD798C #79CD90 #79B6CD
monochromatic
#94374C #BC4C66 #CD798C #DEA6B2 #EED2D9

Accessibility & contrast

On white

3.13
#CD798C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.71
#CD798C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD798C
6.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD798C#FFFFFF#000000##000000
##CD798C1.003.136.716.71
#FFFFFF3.131.0021.0021.00
#0000006.7121.001.001.00
##0000006.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#87888D
Deuteranopia (green-blind)
#9B988A
Tritanopia (blue-blind)
#DB7280
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #cd798c;
/* rgb */ color: rgb(205, 121, 140);
/* oklch */ color: oklch(67.2% 0.107 5.8);
Tailwind
colors: {
  custom: {
    50: '#dea1ad',
    500: '#cd798c',
    950: '#000000',
  },
}
SCSS
$custom: #cd798c;
$custom-light: #dea1ad;
$custom-dark: #000000;
JSON
{
  "hex": "#cd798c",
  "rgb": {
    "r": 205,
    "g": 121,
    "b": 140
  },
  "hsl": {
    "h": 346.429,
    "s": 45.652,
    "l": 63.922
  },
  "oklch": {
    "l": 0.67203,
    "c": 0.10669,
    "h": 5.8
  },
  "luminance": 0.28547
}

Semantic roles & 50–950 ramp

primary
#CD798C
secondary
#C2E0D9
accent
#B9992D
background
#FDFAFA
surface
#FBF3F4
border
#D4CDCE
text
#150F10
muted
#837F7F

Preview Lab

Preview with #CD798C

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

Preview Lab → · Contrast checker → · Palette generator →

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