#CD798F#CD798F

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

Color values

HEX#CD798F
RGBrgb(205, 121, 143)
HSLhsl(344, 46%, 64%)
HSVhsv(344, 41%, 80%)
CMYKcmyk(0%, 41%, 30.2%, 19.6%)
CIE-LABlab(60.46, 35.42, 2.33)
CIE-LCHlch(60.46, 35.49, 3.76°)
OKLaboklab(67.29% 0.1073 0.0066)
OKLCHoklch(67.29% 0.107 3.5)
XYZxyz(36.9734, 28.6399, 29.5620)
Luminance0.2864 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD798F #79CDB7
analogous
#CD79B9 #CD798F #CD8D79
triadic
#CD798F #8FCD79 #798FCD
tetradic
#CD798F #B9CD79 #79CDB7 #8D79CD
square
#CD798F #B9CD79 #79CDB7 #8D79CD
split-complementary
#CD798F #79CD8D #79B9CD
monochromatic
#943750 #BC4C6A #CD798F #DEA6B4 #EED2DA

Accessibility & contrast

On white

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

On black

6.73
#CD798F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD798F
6.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD798F#FFFFFF#000000##000000
##CD798F1.003.126.736.73
#FFFFFF3.121.0021.0021.00
#0000006.7321.001.001.00
##0000006.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#868890
Deuteranopia (green-blind)
#9B988D
Tritanopia (blue-blind)
#DA7381
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #cd798f;
/* rgb */ color: rgb(205, 121, 143);
/* oklch */ color: oklch(67.3% 0.107 3.5);
Tailwind
colors: {
  custom: {
    50: '#dea1af',
    500: '#cd798f',
    950: '#000000',
  },
}
SCSS
$custom: #cd798f;
$custom-light: #dea1af;
$custom-dark: #000000;
JSON
{
  "hex": "#cd798f",
  "rgb": {
    "r": 205,
    "g": 121,
    "b": 143
  },
  "hsl": {
    "h": 344.286,
    "s": 45.652,
    "l": 63.922
  },
  "oklch": {
    "l": 0.6729,
    "c": 0.10746,
    "h": 3.5
  },
  "luminance": 0.28637
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CD798F

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

Preview Lab → · Contrast checker → · Palette generator →

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