#CB798F#CB798F

#CB798F is a light, moderate pink. Relative luminance 0.284; OKLCH L 67.0% C 0.105 H 3.0°. Best body text is #000000 at 6.67:1 contrast (WCAG AA passes).

Color values

HEX#CB798F
RGBrgb(203, 121, 143)
HSLhsl(344, 44%, 64%)
HSVhsv(344, 40%, 80%)
CMYKcmyk(0%, 40.4%, 29.6%, 20.4%)
CIE-LABlab(60.21, 34.69, 1.93)
CIE-LCHlch(60.21, 34.74, 3.18°)
OKLaboklab(67.04% 0.105 0.0055)
OKLCHoklch(67.04% 0.105 3)
XYZxyz(36.4251, 28.3572, 29.5363)
Luminance0.2835 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB798F #79CBB5
analogous
#CB79B8 #CB798F #CB8C79
triadic
#CB798F #8FCB79 #798FCB
tetradic
#CB798F #B8CB79 #79CBB5 #8C79CB
square
#CB798F #B8CB79 #79CBB5 #8C79CB
split-complementary
#CB798F #79CB8C #79B8CB
monochromatic
#913850 #BA4D6A #CB798F #DCA5B4 #EDD1D9

Accessibility & contrast

On white

3.15
#CB798F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.67
#CB798F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB798F
6.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB798F#FFFFFF#000000##000000
##CB798F1.003.156.676.67
#FFFFFF3.151.0021.0021.00
#0000006.6721.001.001.00
##0000006.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#858890
Deuteranopia (green-blind)
#9A978D
Tritanopia (blue-blind)
#D87381
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #cb798f;
/* rgb */ color: rgb(203, 121, 143);
/* oklch */ color: oklch(67.0% 0.105 3.0);
Tailwind
colors: {
  custom: {
    50: '#dda1af',
    500: '#cb798f',
    950: '#000000',
  },
}
SCSS
$custom: #cb798f;
$custom-light: #dda1af;
$custom-dark: #000000;
JSON
{
  "hex": "#cb798f",
  "rgb": {
    "r": 203,
    "g": 121,
    "b": 143
  },
  "hsl": {
    "h": 343.902,
    "s": 44.086,
    "l": 63.529
  },
  "oklch": {
    "l": 0.67044,
    "c": 0.10516,
    "h": 3
  },
  "luminance": 0.28354
}

Semantic roles & 50–950 ramp

primary
#CB798F
secondary
#C1DED7
accent
#B7922E
background
#FDFAFA
surface
#FBF3F4
border
#D4CDCE
text
#150F10
muted
#837F7F

Preview Lab

Preview with #CB798F

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

Preview Lab → · Contrast checker → · Palette generator →

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