#CF8EA7#CF8EA7

#CF8EA7 is a light, moderate pink. Relative luminance 0.354; OKLCH L 71.8% C 0.085 H 354.7°. Best body text is #000000 at 8.08:1 contrast (WCAG AA passes).

Color values

HEX#CF8EA7
RGBrgb(207, 142, 167)
HSLhsl(337, 40%, 68%)
HSVhsv(337, 31%, 81%)
CMYKcmyk(0%, 31.4%, 19.3%, 18.8%)
CIE-LABlab(66.06, 28.27, -3.12)
CIE-LCHlch(66.06, 28.44, 353.71°)
OKLaboklab(71.84% 0.0845 -0.0079)
OKLCHoklch(71.84% 0.085 354.7)
XYZxyz(42.3806, 35.4037, 41.1530)
Luminance0.3540 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF8EA7 #8ECFB6
analogous
#CF8EC7 #CF8EA7 #CF958E
triadic
#CF8EA7 #A7CF8E #8EA7CF
tetradic
#CF8EA7 #C7CF8E #8ECFB6 #958ECF
square
#CF8EA7 #C7CF8E #8ECFB6 #958ECF
split-complementary
#CF8EA7 #8ECF95 #8EC7CF
monochromatic
#9F4467 #BD6386 #CF8EA7 #E1B9C8 #F3E4EA

Accessibility & contrast

On white

2.60
#CF8EA7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.08
#CF8EA7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF8EA7
8.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF8EA7#FFFFFF#000000##000000
##CF8EA71.002.608.088.08
#FFFFFF2.601.0021.0021.00
#0000008.0821.001.001.00
##0000008.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#959AA8
Deuteranopia (green-blind)
#A5A5A5
Tritanopia (blue-blind)
#D98B97
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #cf8ea7;
/* rgb */ color: rgb(207, 142, 167);
/* oklch */ color: oklch(71.8% 0.085 354.7);
Tailwind
colors: {
  custom: {
    50: '#dfafc1',
    500: '#cf8ea7',
    950: '#000000',
  },
}
SCSS
$custom: #cf8ea7;
$custom-light: #dfafc1;
$custom-dark: #000000;
JSON
{
  "hex": "#cf8ea7",
  "rgb": {
    "r": 207,
    "g": 142,
    "b": 167
  },
  "hsl": {
    "h": 336.923,
    "s": 40.373,
    "l": 68.431
  },
  "oklch": {
    "l": 0.71838,
    "c": 0.08486,
    "h": 354.7
  },
  "luminance": 0.35401
}

Semantic roles & 50–950 ramp

primary
#CF8EA7
secondary
#D3E6DF
accent
#B38232
background
#FDFAFB
surface
#FBF4F7
border
#D4CED0
text
#151012
muted
#837F81

Preview Lab

Preview with #CF8EA7

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

Preview Lab → · Contrast checker → · Palette generator →

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