#CB787D#CB787D

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

Color values

HEX#CB787D
RGBrgb(203, 120, 125)
HSLhsl(356, 44%, 63%)
HSVhsv(356, 41%, 80%)
CMYKcmyk(0%, 40.9%, 38.4%, 20.4%)
CIE-LABlab(59.54, 32.95, 11.33)
CIE-LCHlch(59.54, 34.85, 18.97°)
OKLaboklab(66.38% 0.0998 0.0294)
OKLCHoklch(66.38% 0.104 16.4)
XYZxyz(35.0484, 27.6131, 22.8820)
Luminance0.2761 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB787D #78CBC6
analogous
#CB78A6 #CB787D #CB9C78
triadic
#CB787D #7DCB78 #787DCB
tetradic
#CB787D #A6CB78 #78CBC6 #9C78CB
square
#CB787D #A6CB78 #78CBC6 #9C78CB
split-complementary
#CB787D #78CB9C #78A6CB
monochromatic
#91383D #BA4C52 #CB787D #DCA4A8 #EDD0D2

Accessibility & contrast

On white

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

On black

6.52
#CB787D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB787D
6.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB787D#FFFFFF#000000##000000
##CB787D1.003.226.526.52
#FFFFFF3.221.0021.0021.00
#0000006.5221.001.001.00
##0000006.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#88857D
Deuteranopia (green-blind)
#9C967B
Tritanopia (blue-blind)
#DA6F7A
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #cb787d;
/* rgb */ color: rgb(203, 120, 125);
/* oklch */ color: oklch(66.4% 0.104 16.4);
Tailwind
colors: {
  custom: {
    50: '#dda0a2',
    500: '#cb787d',
    950: '#000000',
  },
}
SCSS
$custom: #cb787d;
$custom-light: #dda0a2;
$custom-dark: #000000;
JSON
{
  "hex": "#cb787d",
  "rgb": {
    "r": 203,
    "g": 120,
    "b": 125
  },
  "hsl": {
    "h": 356.386,
    "s": 44.385,
    "l": 63.333
  },
  "oklch": {
    "l": 0.66382,
    "c": 0.104,
    "h": 16.4
  },
  "luminance": 0.2761
}

Semantic roles & 50–950 ramp

primary
#CB787D
secondary
#C1DEDC
accent
#B8AF2E
background
#FDF9F9
surface
#FBF2F2
border
#D4CCCC
text
#150F0F
muted
#837E7E

Preview Lab

Preview with #CB787D

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

Preview Lab → · Contrast checker → · Palette generator →

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