#CB798E#CB798E

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

Color values

HEX#CB798E
RGBrgb(203, 121, 142)
HSLhsl(345, 44%, 64%)
HSVhsv(345, 40%, 80%)
CMYKcmyk(0%, 40.4%, 30%, 20.4%)
CIE-LABlab(60.18, 34.56, 2.47)
CIE-LCHlch(60.18, 34.64, 4.08°)
OKLaboklab(67.02% 0.1047 0.0069)
OKLCHoklch(67.02% 0.105 3.8)
XYZxyz(36.3497, 28.3270, 29.1391)
Luminance0.2832 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB798E #79CBB6
analogous
#CB79B7 #CB798E #CB8D79
triadic
#CB798E #8ECB79 #798ECB
tetradic
#CB798E #B7CB79 #79CBB6 #8D79CB
square
#CB798E #B7CB79 #79CBB6 #8D79CB
split-complementary
#CB798E #79CB8D #79B7CB
monochromatic
#91384F #BA4D69 #CB798E #DCA5B3 #EDD1D8

Accessibility & contrast

On white

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

On black

6.66
#CB798E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB798E
6.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB798E#FFFFFF#000000##000000
##CB798E1.003.156.666.66
#FFFFFF3.151.0021.0021.00
#0000006.6621.001.001.00
##0000006.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#86888F
Deuteranopia (green-blind)
#9A978C
Tritanopia (blue-blind)
#D87380
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #cb798e;
/* rgb */ color: rgb(203, 121, 142);
/* oklch */ color: oklch(67.0% 0.105 3.8);
Tailwind
colors: {
  custom: {
    50: '#dda1af',
    500: '#cb798e',
    950: '#000000',
  },
}
SCSS
$custom: #cb798e;
$custom-light: #dda1af;
$custom-dark: #000000;
JSON
{
  "hex": "#cb798e",
  "rgb": {
    "r": 203,
    "g": 121,
    "b": 142
  },
  "hsl": {
    "h": 344.634,
    "s": 44.086,
    "l": 63.529
  },
  "oklch": {
    "l": 0.67015,
    "c": 0.10488,
    "h": 3.8
  },
  "luminance": 0.28324
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CB798E

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

Preview Lab → · Contrast checker → · Palette generator →

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