#CB797F#CB797F

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

Color values

HEX#CB797F
RGBrgb(203, 121, 127)
HSLhsl(356, 44%, 64%)
HSVhsv(356, 40%, 80%)
CMYKcmyk(0%, 40.4%, 37.4%, 20.4%)
CIE-LABlab(59.80, 32.66, 10.56)
CIE-LCHlch(59.80, 34.32, 17.91°)
OKLaboklab(66.6% 0.0989 0.0275)
OKLCHoklch(66.6% 0.103 15.5)
XYZxyz(35.2983, 27.9065, 23.6020)
Luminance0.2790 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB797F #79CBC5
analogous
#CB79A8 #CB797F #CB9C79
triadic
#CB797F #7FCB79 #797FCB
tetradic
#CB797F #A8CB79 #79CBC5 #9C79CB
square
#CB797F #A8CB79 #79CBC5 #9C79CB
split-complementary
#CB797F #79CB9C #79A8CB
monochromatic
#91383F #BA4D55 #CB797F #DCA5A9 #EDD1D3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CB797F#FFFFFF#000000##000000
##CB797F1.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)
#89867F
Deuteranopia (green-blind)
#9D967D
Tritanopia (blue-blind)
#D9707B
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #cb797f;
/* rgb */ color: rgb(203, 121, 127);
/* oklch */ color: oklch(66.6% 0.103 15.5);
Tailwind
colors: {
  custom: {
    50: '#dda1a4',
    500: '#cb797f',
    950: '#000000',
  },
}
SCSS
$custom: #cb797f;
$custom-light: #dda1a4;
$custom-dark: #000000;
JSON
{
  "hex": "#cb797f",
  "rgb": {
    "r": 203,
    "g": 121,
    "b": 127
  },
  "hsl": {
    "h": 355.61,
    "s": 44.086,
    "l": 63.529
  },
  "oklch": {
    "l": 0.66601,
    "c": 0.10266,
    "h": 15.5
  },
  "luminance": 0.27904
}

Semantic roles & 50–950 ramp

primary
#CB797F
secondary
#C1DEDC
accent
#B7AD2E
background
#FDFAFA
surface
#FBF3F4
border
#D4CDCE
text
#150F0F
muted
#837F7F

Preview Lab

Preview with #CB797F

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

Preview Lab → · Contrast checker → · Palette generator →

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