#CC798F#CC798F

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

Color values

HEX#CC798F
RGBrgb(204, 121, 143)
HSLhsl(344, 45%, 64%)
HSVhsv(344, 41%, 80%)
CMYKcmyk(0%, 40.7%, 29.9%, 20%)
CIE-LABlab(60.34, 35.05, 2.13)
CIE-LCHlch(60.34, 35.12, 3.47°)
OKLaboklab(67.17% 0.1061 0.006)
OKLCHoklch(67.17% 0.106 3.3)
XYZxyz(36.6984, 28.4981, 29.5491)
Luminance0.2849 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC798F #79CCB6
analogous
#CC79B8 #CC798F #CC8C79
triadic
#CC798F #8FCC79 #798FCC
tetradic
#CC798F #B8CC79 #79CCB6 #8C79CC
square
#CC798F #B8CC79 #79CCB6 #8C79CC
split-complementary
#CC798F #79CC8C #79B8CC
monochromatic
#933850 #BB4D6A #CC798F #DDA5B4 #EED2D9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CC798F#FFFFFF#000000##000000
##CC798F1.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)
#868890
Deuteranopia (green-blind)
#9A978D
Tritanopia (blue-blind)
#D97381
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #cc798f;
/* rgb */ color: rgb(204, 121, 143);
/* oklch */ color: oklch(67.2% 0.106 3.3);
Tailwind
colors: {
  custom: {
    50: '#dda1af',
    500: '#cc798f',
    950: '#000000',
  },
}
SCSS
$custom: #cc798f;
$custom-light: #dda1af;
$custom-dark: #000000;
JSON
{
  "hex": "#cc798f",
  "rgb": {
    "r": 204,
    "g": 121,
    "b": 143
  },
  "hsl": {
    "h": 344.096,
    "s": 44.865,
    "l": 63.725
  },
  "oklch": {
    "l": 0.67167,
    "c": 0.10631,
    "h": 3.3
  },
  "luminance": 0.28495
}

Semantic roles & 50–950 ramp

primary
#CC798F
secondary
#C2DFD7
accent
#B8932D
background
#FDFAFA
surface
#FBF3F4
border
#D4CDCE
text
#150F10
muted
#837F7F

Preview Lab

Preview with #CC798F

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

Preview Lab → · Contrast checker → · Palette generator →

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