#CF787D#CF787D

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

Color values

HEX#CF787D
RGBrgb(207, 120, 125)
HSLhsl(357, 48%, 64%)
HSVhsv(357, 42%, 81%)
CMYKcmyk(0%, 42%, 39.6%, 18.8%)
CIE-LABlab(60.05, 34.46, 12.13)
CIE-LCHlch(60.05, 36.53, 19.39°)
OKLaboklab(66.88% 0.1043 0.0314)
OKLCHoklch(66.88% 0.109 16.7)
XYZxyz(36.1521, 28.1821, 22.9337)
Luminance0.2818 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF787D #78CFCA
analogous
#CF78A9 #CF787D #CF9F78
triadic
#CF787D #7DCF78 #787DCF
tetradic
#CF787D #A9CF78 #78CFCA #9F78CF
square
#CF787D #A9CF78 #78CFCA #9F78CF
split-complementary
#CF787D #78CF9F #78A9CF
monochromatic
#97363B #BF4B52 #CF787D #DFA5A8 #EFD2D4

Accessibility & contrast

On white

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

On black

6.64
#CF787D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF787D
6.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF787D#FFFFFF#000000##000000
##CF787D1.003.166.646.64
#FFFFFF3.161.0021.0021.00
#0000006.6421.001.001.00
##0000006.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#89867D
Deuteranopia (green-blind)
#9E977B
Tritanopia (blue-blind)
#DE6E7A
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #cf787d;
/* rgb */ color: rgb(207, 120, 125);
/* oklch */ color: oklch(66.9% 0.109 16.7);
Tailwind
colors: {
  custom: {
    50: '#e0a0a2',
    500: '#cf787d',
    950: '#000000',
  },
}
SCSS
$custom: #cf787d;
$custom-light: #e0a0a2;
$custom-dark: #000000;
JSON
{
  "hex": "#cf787d",
  "rgb": {
    "r": 207,
    "g": 120,
    "b": 125
  },
  "hsl": {
    "h": 356.552,
    "s": 47.541,
    "l": 64.118
  },
  "oklch": {
    "l": 0.66885,
    "c": 0.10886,
    "h": 16.7
  },
  "luminance": 0.28179
}

Semantic roles & 50–950 ramp

primary
#CF787D
secondary
#C2E1DF
accent
#BBB32B
background
#FEF9F9
surface
#FCF2F2
border
#D5CCCC
text
#160F0F
muted
#847E7E

Preview Lab

Preview with #CF787D

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

Preview Lab → · Contrast checker → · Palette generator →

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