#CD798B#CD798B

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

Color values

HEX#CD798B
RGBrgb(205, 121, 139)
HSLhsl(347, 46%, 64%)
HSVhsv(347, 41%, 80%)
CMYKcmyk(0%, 41%, 32.2%, 19.6%)
CIE-LABlab(60.36, 34.89, 4.47)
CIE-LCHlch(60.36, 35.18, 7.31°)
OKLaboklab(67.18% 0.1058 0.0121)
OKLCHoklch(67.18% 0.106 6.5)
XYZxyz(36.6758, 28.5209, 27.9945)
Luminance0.2852 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD798B #79CDBB
analogous
#CD79B5 #CD798B #CD9179
triadic
#CD798B #8BCD79 #798BCD
tetradic
#CD798B #B5CD79 #79CDBB #9179CD
square
#CD798B #B5CD79 #79CDBB #9179CD
split-complementary
#CD798B #79CD91 #79B5CD
monochromatic
#94374B #BC4C64 #CD798B #DEA6B2 #EED2D8

Accessibility & contrast

On white

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

On black

6.70
#CD798B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD798B
6.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD798B#FFFFFF#000000##000000
##CD798B1.003.136.706.70
#FFFFFF3.131.0021.0021.00
#0000006.7021.001.001.00
##0000006.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#87888B
Deuteranopia (green-blind)
#9B9889
Tritanopia (blue-blind)
#DB727F
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #cd798b;
/* rgb */ color: rgb(205, 121, 139);
/* oklch */ color: oklch(67.2% 0.106 6.5);
Tailwind
colors: {
  custom: {
    50: '#dea1ac',
    500: '#cd798b',
    950: '#000000',
  },
}
SCSS
$custom: #cd798b;
$custom-light: #dea1ac;
$custom-dark: #000000;
JSON
{
  "hex": "#cd798b",
  "rgb": {
    "r": 205,
    "g": 121,
    "b": 139
  },
  "hsl": {
    "h": 347.143,
    "s": 45.652,
    "l": 63.922
  },
  "oklch": {
    "l": 0.67175,
    "c": 0.10647,
    "h": 6.5
  },
  "luminance": 0.28518
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CD798B

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

Preview Lab → · Contrast checker → · Palette generator →

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