#CF8EA6#CF8EA6

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

Color values

HEX#CF8EA6
RGBrgb(207, 142, 166)
HSLhsl(338, 40%, 68%)
HSVhsv(338, 31%, 81%)
CMYKcmyk(0%, 31.4%, 19.8%, 18.8%)
CIE-LABlab(66.03, 28.12, -2.60)
CIE-LCHlch(66.03, 28.24, 354.73°)
OKLaboklab(71.81% 0.0841 -0.0065)
OKLCHoklch(71.81% 0.084 355.6)
XYZxyz(42.2886, 35.3669, 40.6680)
Luminance0.3537 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF8EA6 #8ECFB7
analogous
#CF8EC6 #CF8EA6 #CF968E
triadic
#CF8EA6 #A6CF8E #8EA6CF
tetradic
#CF8EA6 #C6CF8E #8ECFB7 #968ECF
square
#CF8EA6 #C6CF8E #8ECFB7 #968ECF
split-complementary
#CF8EA6 #8ECF96 #8EC6CF
monochromatic
#9F4465 #BD6384 #CF8EA6 #E1B9C8 #F3E4EA

Accessibility & contrast

On white

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

On black

8.07
#CF8EA6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF8EA6
8.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF8EA6#FFFFFF#000000##000000
##CF8EA61.002.608.078.07
#FFFFFF2.601.0021.0021.00
#0000008.0721.001.001.00
##0000008.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#959AA7
Deuteranopia (green-blind)
#A5A5A4
Tritanopia (blue-blind)
#D98B96
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #cf8ea6;
/* rgb */ color: rgb(207, 142, 166);
/* oklch */ color: oklch(71.8% 0.084 355.6);
Tailwind
colors: {
  custom: {
    50: '#dfafc0',
    500: '#cf8ea6',
    950: '#000000',
  },
}
SCSS
$custom: #cf8ea6;
$custom-light: #dfafc0;
$custom-dark: #000000;
JSON
{
  "hex": "#cf8ea6",
  "rgb": {
    "r": 207,
    "g": 142,
    "b": 166
  },
  "hsl": {
    "h": 337.846,
    "s": 40.373,
    "l": 68.431
  },
  "oklch": {
    "l": 0.71806,
    "c": 0.08439,
    "h": 355.6
  },
  "luminance": 0.35365
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CF8EA6

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

Preview Lab → · Contrast checker → · Palette generator →

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