#CF987C#CF987C

#CF987C is a light, moderate orange. Relative luminance 0.372; OKLCH L 72.5% C 0.077 H 48.1°. Best body text is #000000 at 8.44:1 contrast (WCAG AA passes).

Color values

HEX#CF987C
RGBrgb(207, 152, 124)
HSLhsl(20, 46%, 65%)
HSVhsv(20, 40%, 81%)
CMYKcmyk(0%, 26.6%, 40.1%, 18.8%)
CIE-LABlab(67.41, 17.03, 22.83)
CIE-LCHlch(67.41, 28.48, 53.28°)
OKLaboklab(72.55% 0.0516 0.0574)
OKLCHoklch(72.55% 0.077 48.1)
XYZxyz(40.6000, 37.1797, 24.1028)
Luminance0.3718 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF987C #7CB3CF
analogous
#CF7C89 #CF987C #CFC27C
triadic
#CF987C #7CCF98 #987CCF
tetradic
#CF987C #89CF7C #7CB3CF #C27CCF
square
#CF987C #89CF7C #7CB3CF #C27CCF
split-complementary
#CF987C #7CCFC2 #7C89CF
monochromatic
#995938 #BF754F #CF987C #DFBBA9 #F0DED6

Accessibility & contrast

On white

2.49
#CF987C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.44
#CF987C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF987C
8.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF987C#FFFFFF#000000##000000
##CF987C1.002.498.448.44
#FFFFFF2.491.0021.0021.00
#0000008.4421.001.001.00
##0000008.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#A79D7A
Deuteranopia (green-blind)
#B3A97C
Tritanopia (blue-blind)
#DD8F91
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #cf987c;
/* rgb */ color: rgb(207, 152, 124);
/* oklch */ color: oklch(72.5% 0.077 48.1);
Tailwind
colors: {
  custom: {
    50: '#dfb6a2',
    500: '#cf987c',
    950: '#000000',
  },
}
SCSS
$custom: #cf987c;
$custom-light: #dfb6a2;
$custom-dark: #000000;
JSON
{
  "hex": "#cf987c",
  "rgb": {
    "r": 207,
    "g": 152,
    "b": 124
  },
  "hsl": {
    "h": 20.241,
    "s": 46.369,
    "l": 64.902
  },
  "oklch": {
    "l": 0.72545,
    "c": 0.07713,
    "h": 48.1
  },
  "luminance": 0.37177
}

Semantic roles & 50–950 ramp

primary
#CF987C
secondary
#C5D8E2
accent
#8ABA2C
background
#FDFBF9
surface
#FBF6F2
border
#D4D0CC
text
#15110F
muted
#83807E

Preview Lab

Preview with #CF987C

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

Preview Lab → · Contrast checker → · Palette generator →

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