#CF81BC#CF81BC

#CF81BC is a light, vivid pink. Relative luminance 0.326; OKLCH L 70.4% C 0.122 H 336.3°. Best body text is #000000 at 7.52:1 contrast (WCAG AA passes).

Color values

HEX#CF81BC
RGBrgb(207, 129, 188)
HSLhsl(315, 45%, 66%)
HSVhsv(315, 38%, 81%)
CMYKcmyk(0%, 37.7%, 9.2%, 18.8%)
CIE-LABlab(63.83, 38.70, -18.30)
CIE-LCHlch(63.83, 42.81, 334.70°)
OKLaboklab(70.36% 0.1117 -0.049)
OKLCHoklch(70.36% 0.122 336.3)
XYZxyz(42.6593, 32.5990, 51.6124)
Luminance0.3260 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF81BC #81CF94
analogous
#BB81CF #CF81BC #CF8195
triadic
#CF81BC #BCCF81 #81BCCF
tetradic
#CF81BC #CFBB81 #81CF94 #8195CF
square
#CF81BC #CFBB81 #81CF94 #8195CF
split-complementary
#CF81BC #95CF81 #81CFBB
monochromatic
#9B3B83 #BE55A4 #CF81BC #E0ADD4 #F1DAEB

Accessibility & contrast

On white

2.79
#CF81BC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.52
#CF81BC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF81BC
7.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF81BC#FFFFFF#000000##000000
##CF81BC1.002.797.527.52
#FFFFFF2.791.0021.0021.00
#0000007.5221.001.001.00
##0000007.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8293BE
Deuteranopia (green-blind)
#969FBA
Tritanopia (blue-blind)
#D78497
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #cf81bc;
/* rgb */ color: rgb(207, 129, 188);
/* oklch */ color: oklch(70.4% 0.122 336.3);
Tailwind
colors: {
  custom: {
    50: '#dfa7d0',
    500: '#cf81bc',
    950: '#000000',
  },
}
SCSS
$custom: #cf81bc;
$custom-light: #dfa7d0;
$custom-dark: #000000;
JSON
{
  "hex": "#cf81bc",
  "rgb": {
    "r": 207,
    "g": 129,
    "b": 188
  },
  "hsl": {
    "h": 314.615,
    "s": 44.828,
    "l": 65.882
  },
  "oklch": {
    "l": 0.70363,
    "c": 0.12197,
    "h": 336.3
  },
  "luminance": 0.32597
}

Semantic roles & 50–950 ramp

primary
#CF81BC
secondary
#C9E3CF
accent
#B84F2E
background
#FDFAFC
surface
#FBF4F9
border
#D4CED2
text
#150F14
muted
#837F82

Preview Lab

Preview with #CF81BC

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

Preview Lab → · Contrast checker → · Palette generator →

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