#CF8CAA#CF8CAA

#CF8CAA is a light, moderate pink. Relative luminance 0.349; OKLCH L 71.6% C 0.090 H 351.2°. Best body text is #000000 at 7.98:1 contrast (WCAG AA passes).

Color values

HEX#CF8CAA
RGBrgb(207, 140, 170)
HSLhsl(333, 41%, 68%)
HSVhsv(333, 32%, 81%)
CMYKcmyk(0%, 32.4%, 17.9%, 18.8%)
CIE-LABlab(65.69, 29.83, -5.35)
CIE-LCHlch(65.69, 30.30, 349.82°)
OKLaboklab(71.58% 0.0888 -0.0138)
OKLCHoklch(71.58% 0.09 351.2)
XYZxyz(42.3663, 34.9261, 42.5323)
Luminance0.3492 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF8CAA #8CCFB1
analogous
#CF8CCB #CF8CAA #CF8F8C
triadic
#CF8CAA #AACF8C #8CAACF
tetradic
#CF8CAA #CBCF8C #8CCFB1 #8F8CCF
square
#CF8CAA #CBCF8C #8CCFB1 #8F8CCF
split-complementary
#CF8CAA #8CCF8F #8CCBCF
monochromatic
#9E426B #BD618A #CF8CAA #E1B7CA #F3E2EA

Accessibility & contrast

On white

2.63
#CF8CAA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.98
#CF8CAA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF8CAA
7.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF8CAA#FFFFFF#000000##000000
##CF8CAA1.002.637.987.98
#FFFFFF2.631.0021.0021.00
#0000007.9821.001.001.00
##0000007.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#9299AB
Deuteranopia (green-blind)
#A2A4A8
Tritanopia (blue-blind)
#D98A96
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #cf8caa;
/* rgb */ color: rgb(207, 140, 170);
/* oklch */ color: oklch(71.6% 0.090 351.2);
Tailwind
colors: {
  custom: {
    50: '#dfaec3',
    500: '#cf8caa',
    950: '#000000',
  },
}
SCSS
$custom: #cf8caa;
$custom-light: #dfaec3;
$custom-dark: #000000;
JSON
{
  "hex": "#cf8caa",
  "rgb": {
    "r": 207,
    "g": 140,
    "b": 170
  },
  "hsl": {
    "h": 333.134,
    "s": 41.104,
    "l": 68.039
  },
  "oklch": {
    "l": 0.71583,
    "c": 0.08982,
    "h": 351.2
  },
  "luminance": 0.34924
}

Semantic roles & 50–950 ramp

primary
#CF8CAA
secondary
#D1E6DC
accent
#B47A31
background
#FDFAFB
surface
#FBF4F7
border
#D4CED0
text
#151012
muted
#837F81

Preview Lab

Preview with #CF8CAA

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

Preview Lab → · Contrast checker → · Palette generator →

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