#CD798E#CD798E

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

Color values

HEX#CD798E
RGBrgb(205, 121, 142)
HSLhsl(345, 46%, 64%)
HSVhsv(345, 41%, 80%)
CMYKcmyk(0%, 41%, 30.7%, 19.6%)
CIE-LABlab(60.44, 35.28, 2.86)
CIE-LCHlch(60.44, 35.40, 4.64°)
OKLaboklab(67.26% 0.1069 0.0079)
OKLCHoklch(67.26% 0.107 4.2)
XYZxyz(36.8980, 28.6097, 29.1648)
Luminance0.2861 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD798E #79CDB8
analogous
#CD79B8 #CD798E #CD8E79
triadic
#CD798E #8ECD79 #798ECD
tetradic
#CD798E #B8CD79 #79CDB8 #8E79CD
square
#CD798E #B8CD79 #79CDB8 #8E79CD
split-complementary
#CD798E #79CD8E #79B8CD
monochromatic
#94374F #BC4C68 #CD798E #DEA6B4 #EED2D9

Accessibility & contrast

On white

3.12
#CD798E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##CD798E#FFFFFF#000000##000000
##CD798E1.003.126.726.72
#FFFFFF3.121.0021.0021.00
#0000006.7221.001.001.00
##0000006.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#86888F
Deuteranopia (green-blind)
#9B988C
Tritanopia (blue-blind)
#DA7380
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #cd798e;
/* rgb */ color: rgb(205, 121, 142);
/* oklch */ color: oklch(67.3% 0.107 4.2);
Tailwind
colors: {
  custom: {
    50: '#dea1af',
    500: '#cd798e',
    950: '#000000',
  },
}
SCSS
$custom: #cd798e;
$custom-light: #dea1af;
$custom-dark: #000000;
JSON
{
  "hex": "#cd798e",
  "rgb": {
    "r": 205,
    "g": 121,
    "b": 142
  },
  "hsl": {
    "h": 345,
    "s": 45.652,
    "l": 63.922
  },
  "oklch": {
    "l": 0.67261,
    "c": 0.10719,
    "h": 4.2
  },
  "luminance": 0.28607
}

Semantic roles & 50–950 ramp

primary
#CD798E
secondary
#C2E0D8
accent
#B9962D
background
#FDFAFA
surface
#FBF3F4
border
#D4CDCE
text
#150F10
muted
#837F7F

Preview Lab

Preview with #CD798E

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

Preview Lab → · Contrast checker → · Palette generator →

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