#CF8CB2#CF8CB2

#CF8CB2 is a light, moderate pink. Relative luminance 0.352; OKLCH L 71.8% C 0.095 H 344.7°. Best body text is #000000 at 8.05:1 contrast (WCAG AA passes).

Color values

HEX#CF8CB2
RGBrgb(207, 140, 178)
HSLhsl(326, 41%, 68%)
HSVhsv(326, 32%, 81%)
CMYKcmyk(0%, 32.4%, 14%, 18.8%)
CIE-LABlab(65.93, 31.11, -9.50)
CIE-LCHlch(65.93, 32.53, 343.02°)
OKLaboklab(71.85% 0.0915 -0.025)
OKLCHoklch(71.85% 0.095 344.7)
XYZxyz(43.1462, 35.2381, 46.6398)
Luminance0.3524 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF8CB2 #8CCFA9
analogous
#CA8CCF #CF8CB2 #CF8C90
triadic
#CF8CB2 #B2CF8C #8CB2CF
tetradic
#CF8CB2 #CFCA8C #8CCFA9 #8C90CF
square
#CF8CB2 #CFCA8C #8CCFA9 #8C90CF
split-complementary
#CF8CB2 #90CF8C #8CCFCA
monochromatic
#9E4277 #BD6195 #CF8CB2 #E1B7CF #F3E2EC

Accessibility & contrast

On white

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

On black

8.05
#CF8CB2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF8CB2
8.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF8CB2#FFFFFF#000000##000000
##CF8CB21.002.618.058.05
#FFFFFF2.611.0021.0021.00
#0000008.0521.001.001.00
##0000008.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#909AB3
Deuteranopia (green-blind)
#A0A4B0
Tritanopia (blue-blind)
#D88C99
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #cf8cb2;
/* rgb */ color: rgb(207, 140, 178);
/* oklch */ color: oklch(71.8% 0.095 344.7);
Tailwind
colors: {
  custom: {
    50: '#deaec9',
    500: '#cf8cb2',
    950: '#000000',
  },
}
SCSS
$custom: #cf8cb2;
$custom-light: #deaec9;
$custom-dark: #000000;
JSON
{
  "hex": "#cf8cb2",
  "rgb": {
    "r": 207,
    "g": 140,
    "b": 178
  },
  "hsl": {
    "h": 325.97,
    "s": 41.104,
    "l": 68.039
  },
  "oklch": {
    "l": 0.71848,
    "c": 0.09482,
    "h": 344.7
  },
  "luminance": 0.35236
}

Semantic roles & 50–950 ramp

primary
#CF8CB2
secondary
#D1E6DA
accent
#B46A31
background
#FDFAFC
surface
#FBF4F8
border
#D4CED1
text
#151013
muted
#837F82

Preview Lab

Preview with #CF8CB2

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

Preview Lab → · Contrast checker → · Palette generator →

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