#CF8EA4#CF8EA4

#CF8EA4 is a light, moderate pink. Relative luminance 0.353; OKLCH L 71.7% C 0.084 H 357.5°. Best body text is #000000 at 8.06:1 contrast (WCAG AA passes).

Color values

HEX#CF8EA4
RGBrgb(207, 142, 164)
HSLhsl(340, 40%, 68%)
HSVhsv(340, 31%, 81%)
CMYKcmyk(0%, 31.4%, 20.8%, 18.8%)
CIE-LABlab(65.98, 27.81, -1.55)
CIE-LCHlch(65.98, 27.85, 356.81°)
OKLaboklab(71.75% 0.0834 -0.0037)
OKLCHoklch(71.75% 0.084 357.5)
XYZxyz(42.1065, 35.2941, 39.7093)
Luminance0.3529 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF8EA4 #8ECFB9
analogous
#CF8EC4 #CF8EA4 #CF988E
triadic
#CF8EA4 #A4CF8E #8EA4CF
tetradic
#CF8EA4 #C4CF8E #8ECFB9 #988ECF
square
#CF8EA4 #C4CF8E #8ECFB9 #988ECF
split-complementary
#CF8EA4 #8ECF98 #8EC4CF
monochromatic
#9F4463 #BD6381 #CF8EA4 #E1B9C7 #F3E4E9

Accessibility & contrast

On white

2.61
#CF8EA4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.06
#CF8EA4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF8EA4
8.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF8EA4#FFFFFF#000000##000000
##CF8EA41.002.618.068.06
#FFFFFF2.611.0021.0021.00
#0000008.0621.001.001.00
##0000008.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#969AA5
Deuteranopia (green-blind)
#A5A5A3
Tritanopia (blue-blind)
#D98B96
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #cf8ea4;
/* rgb */ color: rgb(207, 142, 164);
/* oklch */ color: oklch(71.7% 0.084 357.5);
Tailwind
colors: {
  custom: {
    50: '#dfafbe',
    500: '#cf8ea4',
    950: '#000000',
  },
}
SCSS
$custom: #cf8ea4;
$custom-light: #dfafbe;
$custom-dark: #000000;
JSON
{
  "hex": "#cf8ea4",
  "rgb": {
    "r": 207,
    "g": 142,
    "b": 164
  },
  "hsl": {
    "h": 339.692,
    "s": 40.373,
    "l": 68.431
  },
  "oklch": {
    "l": 0.71745,
    "c": 0.0835,
    "h": 357.5
  },
  "luminance": 0.35292
}

Semantic roles & 50–950 ramp

primary
#CF8EA4
secondary
#D3E6E0
accent
#B38832
background
#FDFAFB
surface
#FBF4F6
border
#D4CED0
text
#151012
muted
#837F81

Preview Lab

Preview with #CF8EA4

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

Preview Lab → · Contrast checker → · Palette generator →

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