#CF787A#CF787A

#CF787A is a light, moderate red. Relative luminance 0.281; OKLCH L 66.8% C 0.109 H 18.9°. Best body text is #000000 at 6.62:1 contrast (WCAG AA passes).

Color values

HEX#CF787A
RGBrgb(207, 120, 122)
HSLhsl(359, 48%, 64%)
HSVhsv(359, 42%, 81%)
CMYKcmyk(0%, 42%, 41.1%, 18.8%)
CIE-LABlab(59.98, 34.12, 13.76)
CIE-LCHlch(59.98, 36.79, 21.96°)
OKLaboklab(66.81% 0.1031 0.0353)
OKLCHoklch(66.81% 0.109 18.9)
XYZxyz(35.9633, 28.1066, 21.9396)
Luminance0.2810 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF787A #78CFCD
analogous
#CF78A6 #CF787A #CFA278
triadic
#CF787A #7ACF78 #787ACF
tetradic
#CF787A #A6CF78 #78CFCD #A278CF
square
#CF787A #A6CF78 #78CFCD #A278CF
split-complementary
#CF787A #78CFA2 #78A6CF
monochromatic
#973638 #BF4B4E #CF787A #DFA5A6 #EFD2D3

Accessibility & contrast

On white

3.17
#CF787A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.62
#CF787A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF787A
6.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF787A#FFFFFF#000000##000000
##CF787A1.003.176.626.62
#FFFFFF3.171.0021.0021.00
#0000006.6221.001.001.00
##0000006.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A867A
Deuteranopia (green-blind)
#9F9778
Tritanopia (blue-blind)
#DF6E79
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #cf787a;
/* rgb */ color: rgb(207, 120, 122);
/* oklch */ color: oklch(66.8% 0.109 18.9);
Tailwind
colors: {
  custom: {
    50: '#e0a0a0',
    500: '#cf787a',
    950: '#000000',
  },
}
SCSS
$custom: #cf787a;
$custom-light: #e0a0a0;
$custom-dark: #000000;
JSON
{
  "hex": "#cf787a",
  "rgb": {
    "r": 207,
    "g": 120,
    "b": 122
  },
  "hsl": {
    "h": 358.621,
    "s": 47.541,
    "l": 64.118
  },
  "oklch": {
    "l": 0.6681,
    "c": 0.10896,
    "h": 18.9
  },
  "luminance": 0.28103
}

Semantic roles & 50–950 ramp

primary
#CF787A
secondary
#C2E1E0
accent
#BBB72B
background
#FEF9F9
surface
#FCF2F2
border
#D5CCCC
text
#160F0E
muted
#847E7E

Preview Lab

Preview with #CF787A

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

Preview Lab → · Contrast checker → · Palette generator →

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