#CB787E#CB787E

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

Color values

HEX#CB787E
RGBrgb(203, 120, 126)
HSLhsl(356, 44%, 63%)
HSVhsv(356, 41%, 80%)
CMYKcmyk(0%, 40.9%, 37.9%, 20.4%)
CIE-LABlab(59.56, 33.07, 10.79)
CIE-LCHlch(59.56, 34.79, 18.07°)
OKLaboklab(66.41% 0.1002 0.028)
OKLCHoklch(66.41% 0.104 15.6)
XYZxyz(35.1126, 27.6387, 23.2201)
Luminance0.2764 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB787E #78CBC5
analogous
#CB78A7 #CB787E #CB9B78
triadic
#CB787E #7ECB78 #787ECB
tetradic
#CB787E #A7CB78 #78CBC5 #9B78CB
square
#CB787E #A7CB78 #78CBC5 #9B78CB
split-complementary
#CB787E #78CB9B #78A7CB
monochromatic
#91383E #BA4C54 #CB787E #DCA4A8 #EDD0D2

Accessibility & contrast

On white

3.22
#CB787E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##CB787E#FFFFFF#000000##000000
##CB787E1.003.226.536.53
#FFFFFF3.221.0021.0021.00
#0000006.5321.001.001.00
##0000006.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#88867E
Deuteranopia (green-blind)
#9C967C
Tritanopia (blue-blind)
#DA6F7A
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #cb787e;
/* rgb */ color: rgb(203, 120, 126);
/* oklch */ color: oklch(66.4% 0.104 15.6);
Tailwind
colors: {
  custom: {
    50: '#dda0a3',
    500: '#cb787e',
    950: '#000000',
  },
}
SCSS
$custom: #cb787e;
$custom-light: #dda0a3;
$custom-dark: #000000;
JSON
{
  "hex": "#cb787e",
  "rgb": {
    "r": 203,
    "g": 120,
    "b": 126
  },
  "hsl": {
    "h": 355.663,
    "s": 44.385,
    "l": 63.333
  },
  "oklch": {
    "l": 0.66408,
    "c": 0.10401,
    "h": 15.6
  },
  "luminance": 0.27636
}

Semantic roles & 50–950 ramp

primary
#CB787E
secondary
#C1DEDC
accent
#B8AE2E
background
#FDF9FA
surface
#FBF2F3
border
#D4CCCD
text
#150F0F
muted
#837E7F

Preview Lab

Preview with #CB787E

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

Preview Lab → · Contrast checker → · Palette generator →

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