#CF8EA2#CF8EA2

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

Color values

HEX#CF8EA2
RGBrgb(207, 142, 162)
HSLhsl(342, 40%, 68%)
HSVhsv(342, 31%, 81%)
CMYKcmyk(0%, 31.4%, 21.7%, 18.8%)
CIE-LABlab(65.92, 27.51, -0.51)
CIE-LCHlch(65.92, 27.51, 358.94°)
OKLaboklab(71.68% 0.0827 -0.0009)
OKLCHoklch(71.68% 0.083 359.3)
XYZxyz(41.9273, 35.2224, 38.7656)
Luminance0.3522 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF8EA2 #8ECFBB
analogous
#CF8EC2 #CF8EA2 #CF9A8E
triadic
#CF8EA2 #A2CF8E #8EA2CF
tetradic
#CF8EA2 #C2CF8E #8ECFBB #9A8ECF
square
#CF8EA2 #C2CF8E #8ECFBB #9A8ECF
split-complementary
#CF8EA2 #8ECF9A #8EC2CF
monochromatic
#9F4460 #BD637F #CF8EA2 #E1B9C5 #F3E4E9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CF8EA2#FFFFFF#000000##000000
##CF8EA21.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)
#9699A3
Deuteranopia (green-blind)
#A6A5A1
Tritanopia (blue-blind)
#DA8B95
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #cf8ea2;
/* rgb */ color: rgb(207, 142, 162);
/* oklch */ color: oklch(71.7% 0.083 359.3);
Tailwind
colors: {
  custom: {
    50: '#dfafbd',
    500: '#cf8ea2',
    950: '#000000',
  },
}
SCSS
$custom: #cf8ea2;
$custom-light: #dfafbd;
$custom-dark: #000000;
JSON
{
  "hex": "#cf8ea2",
  "rgb": {
    "r": 207,
    "g": 142,
    "b": 162
  },
  "hsl": {
    "h": 341.538,
    "s": 40.373,
    "l": 68.431
  },
  "oklch": {
    "l": 0.71684,
    "c": 0.0827,
    "h": 359.3
  },
  "luminance": 0.3522
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CF8EA2

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

Preview Lab → · Contrast checker → · Palette generator →

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