#CD798D#CD798D

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

Color values

HEX#CD798D
RGBrgb(205, 121, 141)
HSLhsl(346, 46%, 64%)
HSVhsv(346, 41%, 80%)
CMYKcmyk(0%, 41%, 31.2%, 19.6%)
CIE-LABlab(60.41, 35.15, 3.40)
CIE-LCHlch(60.41, 35.32, 5.52°)
OKLaboklab(67.23% 0.1065 0.0093)
OKLCHoklch(67.23% 0.107 5)
XYZxyz(36.8232, 28.5798, 28.7712)
Luminance0.2858 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD798D #79CDB9
analogous
#CD79B7 #CD798D #CD8F79
triadic
#CD798D #8DCD79 #798DCD
tetradic
#CD798D #B7CD79 #79CDB9 #8F79CD
square
#CD798D #B7CD79 #79CDB9 #8F79CD
split-complementary
#CD798D #79CD8F #79B7CD
monochromatic
#94374D #BC4C67 #CD798D #DEA6B3 #EED2D9

Accessibility & contrast

On white

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

On black

6.72
#CD798D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD798D
6.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD798D#FFFFFF#000000##000000
##CD798D1.003.136.726.72
#FFFFFF3.131.0021.0021.00
#0000006.7221.001.001.00
##0000006.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#86888E
Deuteranopia (green-blind)
#9B988B
Tritanopia (blue-blind)
#DA7280
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #cd798d;
/* rgb */ color: rgb(205, 121, 141);
/* oklch */ color: oklch(67.2% 0.107 5.0);
Tailwind
colors: {
  custom: {
    50: '#dea1ae',
    500: '#cd798d',
    950: '#000000',
  },
}
SCSS
$custom: #cd798d;
$custom-light: #dea1ae;
$custom-dark: #000000;
JSON
{
  "hex": "#cd798d",
  "rgb": {
    "r": 205,
    "g": 121,
    "b": 141
  },
  "hsl": {
    "h": 345.714,
    "s": 45.652,
    "l": 63.922
  },
  "oklch": {
    "l": 0.67232,
    "c": 0.10693,
    "h": 5
  },
  "luminance": 0.28577
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CD798D

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

Preview Lab → · Contrast checker → · Palette generator →

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