#CD798A#CD798A

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

Color values

HEX#CD798A
RGBrgb(205, 121, 138)
HSLhsl(348, 46%, 64%)
HSVhsv(348, 41%, 80%)
CMYKcmyk(0%, 41%, 32.7%, 19.6%)
CIE-LABlab(60.33, 34.76, 5.01)
CIE-LCHlch(60.33, 35.12, 8.20°)
OKLaboklab(67.15% 0.1054 0.0135)
OKLCHoklch(67.15% 0.106 7.3)
XYZxyz(36.6031, 28.4918, 27.6115)
Luminance0.2849 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD798A #79CDBC
analogous
#CD79B4 #CD798A #CD9279
triadic
#CD798A #8ACD79 #798ACD
tetradic
#CD798A #B4CD79 #79CDBC #9279CD
square
#CD798A #B4CD79 #79CDBC #9279CD
split-complementary
#CD798A #79CD92 #79B4CD
monochromatic
#94374A #BC4C63 #CD798A #DEA6B1 #EED2D8

Accessibility & contrast

On white

3.14
#CD798A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##CD798A#FFFFFF#000000##000000
##CD798A1.003.146.706.70
#FFFFFF3.141.0021.0021.00
#0000006.7021.001.001.00
##0000006.7021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cd798a;
/* rgb */ color: rgb(205, 121, 138);
/* oklch */ color: oklch(67.1% 0.106 7.3);
Tailwind
colors: {
  custom: {
    50: '#dea1ac',
    500: '#cd798a',
    950: '#000000',
  },
}
SCSS
$custom: #cd798a;
$custom-light: #dea1ac;
$custom-dark: #000000;
JSON
{
  "hex": "#cd798a",
  "rgb": {
    "r": 205,
    "g": 121,
    "b": 138
  },
  "hsl": {
    "h": 347.857,
    "s": 45.652,
    "l": 63.922
  },
  "oklch": {
    "l": 0.67146,
    "c": 0.10626,
    "h": 7.3
  },
  "luminance": 0.28489
}

Semantic roles & 50–950 ramp

primary
#CD798A
secondary
#C2E0DA
accent
#B99C2D
background
#FDFAFA
surface
#FBF3F4
border
#D4CDCE
text
#150F10
muted
#837F7F

Preview Lab

Preview with #CD798A

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

Preview Lab → · Contrast checker → · Palette generator →

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