#CB797E#CB797E

#CB797E is a light, moderate red. Relative luminance 0.279; OKLCH L 66.6% C 0.103 H 16.3°. Best body text is #000000 at 6.58:1 contrast (WCAG AA passes).

Color values

HEX#CB797E
RGBrgb(203, 121, 126)
HSLhsl(356, 44%, 64%)
HSVhsv(356, 40%, 80%)
CMYKcmyk(0%, 40.4%, 37.9%, 20.4%)
CIE-LABlab(59.78, 32.54, 11.10)
CIE-LCHlch(59.78, 34.38, 18.83°)
OKLaboklab(66.58% 0.0985 0.0288)
OKLCHoklch(66.58% 0.103 16.3)
XYZxyz(35.2335, 27.8805, 23.2604)
Luminance0.2788 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB797E #79CBC6
analogous
#CB79A7 #CB797E #CB9D79
triadic
#CB797E #7ECB79 #797ECB
tetradic
#CB797E #A7CB79 #79CBC6 #9D79CB
square
#CB797E #A7CB79 #79CBC6 #9D79CB
split-complementary
#CB797E #79CB9D #79A7CB
monochromatic
#91383E #BA4D54 #CB797E #DCA5A8 #EDD1D3

Accessibility & contrast

On white

3.19
#CB797E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.58
#CB797E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB797E
6.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB797E#FFFFFF#000000##000000
##CB797E1.003.196.586.58
#FFFFFF3.191.0021.0021.00
#0000006.5821.001.001.00
##0000006.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#89867E
Deuteranopia (green-blind)
#9D967C
Tritanopia (blue-blind)
#DA707B
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #cb797e;
/* rgb */ color: rgb(203, 121, 126);
/* oklch */ color: oklch(66.6% 0.103 16.3);
Tailwind
colors: {
  custom: {
    50: '#dda1a3',
    500: '#cb797e',
    950: '#000000',
  },
}
SCSS
$custom: #cb797e;
$custom-light: #dda1a3;
$custom-dark: #000000;
JSON
{
  "hex": "#cb797e",
  "rgb": {
    "r": 203,
    "g": 121,
    "b": 126
  },
  "hsl": {
    "h": 356.341,
    "s": 44.086,
    "l": 63.529
  },
  "oklch": {
    "l": 0.66576,
    "c": 0.10265,
    "h": 16.3
  },
  "luminance": 0.27878
}

Semantic roles & 50–950 ramp

primary
#CB797E
secondary
#C1DEDD
accent
#B7AF2E
background
#FDFAFA
surface
#FBF3F3
border
#D4CDCD
text
#150F0F
muted
#837F7F

Preview Lab

Preview with #CB797E

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

Preview Lab → · Contrast checker → · Palette generator →

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