#CF8CC2#CF8CC2

#CF8CC2 is a light, moderate pink. Relative luminance 0.359; OKLCH L 72.4% C 0.108 H 333.8°. Best body text is #000000 at 8.18:1 contrast (WCAG AA passes).

Color values

HEX#CF8CC2
RGBrgb(207, 140, 194)
HSLhsl(312, 41%, 68%)
HSVhsv(312, 32%, 81%)
CMYKcmyk(0%, 32.4%, 6.3%, 18.8%)
CIE-LABlab(66.46, 33.84, -17.69)
CIE-LCHlch(66.46, 38.18, 332.40°)
OKLaboklab(72.42% 0.0965 -0.0475)
OKLCHoklch(72.42% 0.108 333.8)
XYZxyz(44.8473, 35.9186, 55.5991)
Luminance0.3592 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF8CC2 #8CCF99
analogous
#BA8CCF #CF8CC2 #CF8CA0
triadic
#CF8CC2 #C2CF8C #8CC2CF
tetradic
#CF8CC2 #CFBA8C #8CCF99 #8CA0CF
square
#CF8CC2 #CFBA8C #8CCF99 #8CA0CF
split-complementary
#CF8CC2 #A0CF8C #8CCFBA
monochromatic
#9E428D #BD61AB #CF8CC2 #E1B7D9 #F3E2F0

Accessibility & contrast

On white

2.57
#CF8CC2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.18
#CF8CC2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF8CC2
8.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF8CC2#FFFFFF#000000##000000
##CF8CC21.002.578.188.18
#FFFFFF2.571.0021.0021.00
#0000008.1821.001.001.00
##0000008.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C9CC4
Deuteranopia (green-blind)
#9CA5C0
Tritanopia (blue-blind)
#D58F9F
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #cf8cc2;
/* rgb */ color: rgb(207, 140, 194);
/* oklch */ color: oklch(72.4% 0.108 333.8);
Tailwind
colors: {
  custom: {
    50: '#deaed4',
    500: '#cf8cc2',
    950: '#000000',
  },
}
SCSS
$custom: #cf8cc2;
$custom-light: #deaed4;
$custom-dark: #000000;
JSON
{
  "hex": "#cf8cc2",
  "rgb": {
    "r": 207,
    "g": 140,
    "b": 194
  },
  "hsl": {
    "h": 311.642,
    "s": 41.104,
    "l": 68.039
  },
  "oklch": {
    "l": 0.7242,
    "c": 0.10755,
    "h": 333.8
  },
  "luminance": 0.35917
}

Semantic roles & 50–950 ramp

primary
#CF8CC2
secondary
#D1E6D5
accent
#B44B31
background
#FDFAFD
surface
#FBF4FA
border
#D4CED3
text
#151014
muted
#837F83

Preview Lab

Preview with #CF8CC2

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

Preview Lab → · Contrast checker → · Palette generator →

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