#CB787F#CB787F

#CB787F is a light, moderate red. Relative luminance 0.277; OKLCH L 66.4% C 0.104 H 14.9°. Best body text is #000000 at 6.53:1 contrast (WCAG AA passes).

Color values

HEX#CB787F
RGBrgb(203, 120, 127)
HSLhsl(355, 44%, 63%)
HSVhsv(355, 41%, 80%)
CMYKcmyk(0%, 40.9%, 37.4%, 20.4%)
CIE-LABlab(59.58, 33.19, 10.25)
CIE-LCHlch(59.58, 34.74, 17.15°)
OKLaboklab(66.43% 0.1006 0.0267)
OKLCHoklch(66.43% 0.104 14.9)
XYZxyz(35.1774, 27.6647, 23.5617)
Luminance0.2766 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB787F #78CBC4
analogous
#CB78A8 #CB787F #CB9A78
triadic
#CB787F #7FCB78 #787FCB
tetradic
#CB787F #A8CB78 #78CBC4 #9A78CB
square
#CB787F #A8CB78 #78CBC4 #9A78CB
split-complementary
#CB787F #78CB9A #78A8CB
monochromatic
#91383F #BA4C55 #CB787F #DCA4A9 #EDD0D3

Accessibility & contrast

On white

3.21
#CB787F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.53
#CB787F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB787F
6.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB787F#FFFFFF#000000##000000
##CB787F1.003.216.536.53
#FFFFFF3.211.0021.0021.00
#0000006.5321.001.001.00
##0000006.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#88867F
Deuteranopia (green-blind)
#9C967D
Tritanopia (blue-blind)
#D96F7B
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #cb787f;
/* rgb */ color: rgb(203, 120, 127);
/* oklch */ color: oklch(66.4% 0.104 14.9);
Tailwind
colors: {
  custom: {
    50: '#dda0a4',
    500: '#cb787f',
    950: '#000000',
  },
}
SCSS
$custom: #cb787f;
$custom-light: #dda0a4;
$custom-dark: #000000;
JSON
{
  "hex": "#cb787f",
  "rgb": {
    "r": 203,
    "g": 120,
    "b": 127
  },
  "hsl": {
    "h": 354.94,
    "s": 44.385,
    "l": 63.333
  },
  "oklch": {
    "l": 0.66434,
    "c": 0.10403,
    "h": 14.9
  },
  "luminance": 0.27662
}

Semantic roles & 50–950 ramp

primary
#CB787F
secondary
#C1DEDC
accent
#B8AC2E
background
#FDF9FA
surface
#FBF2F4
border
#D4CCCE
text
#150F0F
muted
#837E7F

Preview Lab

Preview with #CB787F

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

Preview Lab → · Contrast checker → · Palette generator →

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