#CB798D#CB798D

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

Color values

HEX#CB798D
RGBrgb(203, 121, 141)
HSLhsl(345, 44%, 64%)
HSVhsv(345, 40%, 80%)
CMYKcmyk(0%, 40.4%, 30.5%, 20.4%)
CIE-LABlab(60.16, 34.42, 3.00)
CIE-LCHlch(60.16, 34.55, 4.98°)
OKLaboklab(66.99% 0.1043 0.0083)
OKLCHoklch(66.99% 0.105 4.5)
XYZxyz(36.2749, 28.2971, 28.7455)
Luminance0.2829 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB798D #79CBB7
analogous
#CB79B6 #CB798D #CB8E79
triadic
#CB798D #8DCB79 #798DCB
tetradic
#CB798D #B6CB79 #79CBB7 #8E79CB
square
#CB798D #B6CB79 #79CBB7 #8E79CB
split-complementary
#CB798D #79CB8E #79B6CB
monochromatic
#91384E #BA4D67 #CB798D #DCA5B3 #EDD1D8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CB798D#FFFFFF#000000##000000
##CB798D1.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)
#86888E
Deuteranopia (green-blind)
#9A978B
Tritanopia (blue-blind)
#D87380
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #cb798d;
/* rgb */ color: rgb(203, 121, 141);
/* oklch */ color: oklch(67.0% 0.105 4.5);
Tailwind
colors: {
  custom: {
    50: '#dda1ae',
    500: '#cb798d',
    950: '#000000',
  },
}
SCSS
$custom: #cb798d;
$custom-light: #dda1ae;
$custom-dark: #000000;
JSON
{
  "hex": "#cb798d",
  "rgb": {
    "r": 203,
    "g": 121,
    "b": 141
  },
  "hsl": {
    "h": 345.366,
    "s": 44.086,
    "l": 63.529
  },
  "oklch": {
    "l": 0.66986,
    "c": 0.10461,
    "h": 4.5
  },
  "luminance": 0.28294
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CB798D

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

Preview Lab → · Contrast checker → · Palette generator →

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