#CF7987#CF7987

#CF7987 is a light, moderate red. Relative luminance 0.287; OKLCH L 67.3% C 0.108 H 9.9°. Best body text is #000000 at 6.74:1 contrast (WCAG AA passes).

Color values

HEX#CF7987
RGBrgb(207, 121, 135)
HSLhsl(350, 47%, 64%)
HSVhsv(350, 42%, 81%)
CMYKcmyk(0%, 41.5%, 34.8%, 18.8%)
CIE-LABlab(60.51, 35.12, 7.03)
CIE-LCHlch(60.51, 35.81, 11.32°)
OKLaboklab(67.31% 0.1065 0.0186)
OKLCHoklch(67.31% 0.108 9.9)
XYZxyz(36.9442, 28.6924, 26.5094)
Luminance0.2869 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF7987 #79CFC1
analogous
#CF79B2 #CF7987 #CF9679
triadic
#CF7987 #87CF79 #7987CF
tetradic
#CF7987 #B2CF79 #79CFC1 #9679CF
square
#CF7987 #B2CF79 #79CFC1 #9679CF
split-complementary
#CF7987 #79CF96 #79B2CF
monochromatic
#973646 #BF4C5F #CF7987 #DFA6AF #EFD3D8

Accessibility & contrast

On white

3.12
#CF7987 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.74
#CF7987 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF7987
6.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF7987#FFFFFF#000000##000000
##CF79871.003.126.746.74
#FFFFFF3.121.0021.0021.00
#0000006.7421.001.001.00
##0000006.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#888887
Deuteranopia (green-blind)
#9D9885
Tritanopia (blue-blind)
#DD717E
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #cf7987;
/* rgb */ color: rgb(207, 121, 135);
/* oklch */ color: oklch(67.3% 0.108 9.9);
Tailwind
colors: {
  custom: {
    50: '#e0a1a9',
    500: '#cf7987',
    950: '#000000',
  },
}
SCSS
$custom: #cf7987;
$custom-light: #e0a1a9;
$custom-dark: #000000;
JSON
{
  "hex": "#cf7987",
  "rgb": {
    "r": 207,
    "g": 121,
    "b": 135
  },
  "hsl": {
    "h": 350.233,
    "s": 47.253,
    "l": 64.314
  },
  "oklch": {
    "l": 0.67311,
    "c": 0.10811,
    "h": 9.9
  },
  "luminance": 0.28689
}

Semantic roles & 50–950 ramp

primary
#CF7987
secondary
#C3E1DC
accent
#BBA32B
background
#FEFAFA
surface
#FCF3F4
border
#D5CDCE
text
#160F10
muted
#847F7F

Preview Lab

Preview with #CF7987

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

Preview Lab → · Contrast checker → · Palette generator →

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