#CF787F#CF787F

#CF787F is a light, moderate red. Relative luminance 0.282; OKLCH L 66.9% C 0.109 H 15.3°. Best body text is #000000 at 6.65:1 contrast (WCAG AA passes).

Color values

HEX#CF787F
RGBrgb(207, 120, 127)
HSLhsl(355, 48%, 64%)
HSVhsv(355, 42%, 81%)
CMYKcmyk(0%, 42%, 38.6%, 18.8%)
CIE-LABlab(60.10, 34.69, 11.04)
CIE-LCHlch(60.10, 36.40, 17.66°)
OKLaboklab(66.94% 0.105 0.0287)
OKLCHoklch(66.94% 0.109 15.3)
XYZxyz(36.2811, 28.2338, 23.6134)
Luminance0.2823 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF787F #78CFC8
analogous
#CF78AB #CF787F #CF9D78
triadic
#CF787F #7FCF78 #787FCF
tetradic
#CF787F #ABCF78 #78CFC8 #9D78CF
square
#CF787F #ABCF78 #78CFC8 #9D78CF
split-complementary
#CF787F #78CF9D #78ABCF
monochromatic
#97363D #BF4B54 #CF787F #DFA5AA #EFD2D5

Accessibility & contrast

On white

3.16
#CF787F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.65
#CF787F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF787F
6.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF787F#FFFFFF#000000##000000
##CF787F1.003.166.656.65
#FFFFFF3.161.0021.0021.00
#0000006.6521.001.001.00
##0000006.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#89867F
Deuteranopia (green-blind)
#9E977D
Tritanopia (blue-blind)
#DE6E7B
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #cf787f;
/* rgb */ color: rgb(207, 120, 127);
/* oklch */ color: oklch(66.9% 0.109 15.3);
Tailwind
colors: {
  custom: {
    50: '#e0a0a4',
    500: '#cf787f',
    950: '#000000',
  },
}
SCSS
$custom: #cf787f;
$custom-light: #e0a0a4;
$custom-dark: #000000;
JSON
{
  "hex": "#cf787f",
  "rgb": {
    "r": 207,
    "g": 120,
    "b": 127
  },
  "hsl": {
    "h": 355.172,
    "s": 47.541,
    "l": 64.118
  },
  "oklch": {
    "l": 0.66935,
    "c": 0.10888,
    "h": 15.3
  },
  "luminance": 0.28231
}

Semantic roles & 50–950 ramp

primary
#CF787F
secondary
#C2E1DE
accent
#BBAF2B
background
#FEF9FA
surface
#FCF2F4
border
#D5CCCE
text
#160F0F
muted
#847E7F

Preview Lab

Preview with #CF787F

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

Preview Lab → · Contrast checker → · Palette generator →

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