#CB798A#CB798A

#CB798A is a light, moderate red. Relative luminance 0.282; OKLCH L 66.9% C 0.104 H 6.9°. Best body text is #000000 at 6.64:1 contrast (WCAG AA passes).

Color values

HEX#CB798A
RGBrgb(203, 121, 138)
HSLhsl(348, 44%, 64%)
HSVhsv(348, 40%, 80%)
CMYKcmyk(0%, 40.4%, 32%, 20.4%)
CIE-LABlab(60.08, 34.03, 4.61)
CIE-LCHlch(60.08, 34.34, 7.72°)
OKLaboklab(66.9% 0.1032 0.0124)
OKLCHoklch(66.9% 0.104 6.9)
XYZxyz(36.0547, 28.2090, 27.5858)
Luminance0.2821 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB798A #79CBBA
analogous
#CB79B3 #CB798A #CB9179
triadic
#CB798A #8ACB79 #798ACB
tetradic
#CB798A #B3CB79 #79CBBA #9179CB
square
#CB798A #B3CB79 #79CBBA #9179CB
split-complementary
#CB798A #79CB91 #79B3CB
monochromatic
#91384B #BA4D64 #CB798A #DCA5B0 #EDD1D7

Accessibility & contrast

On white

3.16
#CB798A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.64
#CB798A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB798A
6.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB798A#FFFFFF#000000##000000
##CB798A1.003.166.646.64
#FFFFFF3.161.0021.0021.00
#0000006.6421.001.001.00
##0000006.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#86878A
Deuteranopia (green-blind)
#9B9788
Tritanopia (blue-blind)
#D8727F
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #cb798a;
/* rgb */ color: rgb(203, 121, 138);
/* oklch */ color: oklch(66.9% 0.104 6.9);
Tailwind
colors: {
  custom: {
    50: '#dda1ac',
    500: '#cb798a',
    950: '#000000',
  },
}
SCSS
$custom: #cb798a;
$custom-light: #dda1ac;
$custom-dark: #000000;
JSON
{
  "hex": "#cb798a",
  "rgb": {
    "r": 203,
    "g": 121,
    "b": 138
  },
  "hsl": {
    "h": 347.561,
    "s": 44.086,
    "l": 63.529
  },
  "oklch": {
    "l": 0.66899,
    "c": 0.10391,
    "h": 6.9
  },
  "luminance": 0.28206
}

Semantic roles & 50–950 ramp

primary
#CB798A
secondary
#C1DED8
accent
#B79B2E
background
#FDFAFA
surface
#FBF3F4
border
#D4CDCE
text
#150F10
muted
#837F7F

Preview Lab

Preview with #CB798A

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

Preview Lab → · Contrast checker → · Palette generator →

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