#CF8EA8#CF8EA8

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

Color values

HEX#CF8EA8
RGBrgb(207, 142, 168)
HSLhsl(336, 40%, 68%)
HSVhsv(336, 31%, 81%)
CMYKcmyk(0%, 31.4%, 18.8%, 18.8%)
CIE-LABlab(66.09, 28.43, -3.64)
CIE-LCHlch(66.09, 28.66, 352.71°)
OKLaboklab(71.87% 0.0849 -0.0092)
OKLCHoklch(71.87% 0.085 353.8)
XYZxyz(42.4734, 35.4408, 41.6418)
Luminance0.3544 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF8EA8 #8ECFB5
analogous
#CF8EC8 #CF8EA8 #CF948E
triadic
#CF8EA8 #A8CF8E #8EA8CF
tetradic
#CF8EA8 #C8CF8E #8ECFB5 #948ECF
square
#CF8EA8 #C8CF8E #8ECFB5 #948ECF
split-complementary
#CF8EA8 #8ECF94 #8EC8CF
monochromatic
#9F4468 #BD6387 #CF8EA8 #E1B9C9 #F3E4EA

Accessibility & contrast

On white

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

On black

8.09
#CF8EA8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF8EA8
8.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF8EA8#FFFFFF#000000##000000
##CF8EA81.002.608.098.09
#FFFFFF2.601.0021.0021.00
#0000008.0921.001.001.00
##0000008.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#959AA9
Deuteranopia (green-blind)
#A4A5A6
Tritanopia (blue-blind)
#D98C97
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #cf8ea8;
/* rgb */ color: rgb(207, 142, 168);
/* oklch */ color: oklch(71.9% 0.085 353.8);
Tailwind
colors: {
  custom: {
    50: '#dfafc1',
    500: '#cf8ea8',
    950: '#000000',
  },
}
SCSS
$custom: #cf8ea8;
$custom-light: #dfafc1;
$custom-dark: #000000;
JSON
{
  "hex": "#cf8ea8",
  "rgb": {
    "r": 207,
    "g": 142,
    "b": 168
  },
  "hsl": {
    "h": 336,
    "s": 40.373,
    "l": 68.431
  },
  "oklch": {
    "l": 0.71869,
    "c": 0.08536,
    "h": 353.8
  },
  "luminance": 0.35439
}

Semantic roles & 50–950 ramp

primary
#CF8EA8
secondary
#D3E6DE
accent
#B38032
background
#FDFAFB
surface
#FBF4F7
border
#D4CED0
text
#151012
muted
#837F81

Preview Lab

Preview with #CF8EA8

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

Preview Lab → · Contrast checker → · Palette generator →

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