#CF8EA1#CF8EA1

#CF8EA1 is a light, moderate pink. Relative luminance 0.352; OKLCH L 71.7% C 0.082 H 0.3°. Best body text is #000000 at 8.04:1 contrast (WCAG AA passes).

Color values

HEX#CF8EA1
RGBrgb(207, 142, 161)
HSLhsl(342, 40%, 68%)
HSVhsv(342, 31%, 81%)
CMYKcmyk(0%, 31.4%, 22.2%, 18.8%)
CIE-LABlab(65.89, 27.36, 0.02)
CIE-LCHlch(65.89, 27.36, 0.03°)
OKLaboklab(71.65% 0.0823 0.0004)
OKLCHoklch(71.65% 0.082 0.3)
XYZxyz(41.8388, 35.1870, 38.2993)
Luminance0.3518 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF8EA1 #8ECFBC
analogous
#CF8EC1 #CF8EA1 #CF9B8E
triadic
#CF8EA1 #A1CF8E #8EA1CF
tetradic
#CF8EA1 #C1CF8E #8ECFBC #9B8ECF
square
#CF8EA1 #C1CF8E #8ECFBC #9B8ECF
split-complementary
#CF8EA1 #8ECF9B #8EC1CF
monochromatic
#9F445E #BD637D #CF8EA1 #E1B9C5 #F3E4E8

Accessibility & contrast

On white

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

On black

8.04
#CF8EA1 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF8EA1
8.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF8EA1#FFFFFF#000000##000000
##CF8EA11.002.618.048.04
#FFFFFF2.611.0021.0021.00
#0000008.0421.001.001.00
##0000008.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#9699A2
Deuteranopia (green-blind)
#A6A4A0
Tritanopia (blue-blind)
#DA8A94
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #cf8ea1;
/* rgb */ color: rgb(207, 142, 161);
/* oklch */ color: oklch(71.7% 0.082 0.3);
Tailwind
colors: {
  custom: {
    50: '#dfafbc',
    500: '#cf8ea1',
    950: '#000000',
  },
}
SCSS
$custom: #cf8ea1;
$custom-light: #dfafbc;
$custom-dark: #000000;
JSON
{
  "hex": "#cf8ea1",
  "rgb": {
    "r": 207,
    "g": 142,
    "b": 161
  },
  "hsl": {
    "h": 342.462,
    "s": 40.373,
    "l": 68.431
  },
  "oklch": {
    "l": 0.71654,
    "c": 0.08232,
    "h": 0.3
  },
  "luminance": 0.35185
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CF8EA1

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

Preview Lab → · Contrast checker → · Palette generator →

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