#CB797D#CB797D

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

Color values

HEX#CB797D
RGBrgb(203, 121, 125)
HSLhsl(357, 44%, 64%)
HSVhsv(357, 40%, 80%)
CMYKcmyk(0%, 40.4%, 38.4%, 20.4%)
CIE-LABlab(59.76, 32.42, 11.64)
CIE-LCHlch(59.76, 34.45, 19.75°)
OKLaboklab(66.55% 0.0981 0.0301)
OKLCHoklch(66.55% 0.103 17.1)
XYZxyz(35.1693, 27.8548, 22.9223)
Luminance0.2785 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB797D #79CBC7
analogous
#CB79A6 #CB797D #CB9E79
triadic
#CB797D #7DCB79 #797DCB
tetradic
#CB797D #A6CB79 #79CBC7 #9E79CB
square
#CB797D #A6CB79 #79CBC7 #9E79CB
split-complementary
#CB797D #79CB9E #79A6CB
monochromatic
#91383D #BA4D52 #CB797D #DCA5A8 #EDD1D3

Accessibility & contrast

On white

3.20
#CB797D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.57
#CB797D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB797D
6.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB797D#FFFFFF#000000##000000
##CB797D1.003.206.576.57
#FFFFFF3.201.0021.0021.00
#0000006.5721.001.001.00
##0000006.5721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cb797d;
/* rgb */ color: rgb(203, 121, 125);
/* oklch */ color: oklch(66.5% 0.103 17.1);
Tailwind
colors: {
  custom: {
    50: '#dda1a2',
    500: '#cb797d',
    950: '#000000',
  },
}
SCSS
$custom: #cb797d;
$custom-light: #dda1a2;
$custom-dark: #000000;
JSON
{
  "hex": "#cb797d",
  "rgb": {
    "r": 203,
    "g": 121,
    "b": 125
  },
  "hsl": {
    "h": 357.073,
    "s": 44.086,
    "l": 63.529
  },
  "oklch": {
    "l": 0.6655,
    "c": 0.10266,
    "h": 17.1
  },
  "luminance": 0.27852
}

Semantic roles & 50–950 ramp

primary
#CB797D
secondary
#C1DEDD
accent
#B7B12E
background
#FDFAF9
surface
#FBF3F2
border
#D4CDCC
text
#150F0F
muted
#837F7E

Preview Lab

Preview with #CB797D

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

Preview Lab → · Contrast checker → · Palette generator →

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