#CD81BC#CD81BC

#CD81BC is a light, vivid pink. Relative luminance 0.323; OKLCH L 70.1% C 0.120 H 335.4°. Best body text is #000000 at 7.46:1 contrast (WCAG AA passes).

Color values

HEX#CD81BC
RGBrgb(205, 129, 188)
HSLhsl(313, 43%, 65%)
HSVhsv(313, 37%, 80%)
CMYKcmyk(0%, 37.1%, 8.3%, 19.6%)
CIE-LABlab(63.60, 38.05, -18.67)
CIE-LCHlch(63.60, 42.38, 333.86°)
OKLaboklab(70.13% 0.1094 -0.0501)
OKLCHoklch(70.13% 0.12 335.4)
XYZxyz(42.1040, 32.3126, 51.5864)
Luminance0.3231 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD81BC #81CD92
analogous
#B881CD #CD81BC #CD8196
triadic
#CD81BC #BCCD81 #81BCCD
tetradic
#CD81BC #CDB881 #81CD92 #8196CD
square
#CD81BC #CDB881 #81CD92 #8196CD
split-complementary
#CD81BC #96CD81 #81CDB8
monochromatic
#973C83 #BC55A5 #CD81BC #DEADD3 #F0D9EB

Accessibility & contrast

On white

2.81
#CD81BC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.46
#CD81BC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD81BC
7.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD81BC#FFFFFF#000000##000000
##CD81BC1.002.817.467.46
#FFFFFF2.811.0021.0021.00
#0000007.4621.001.001.00
##0000007.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8193BE
Deuteranopia (green-blind)
#959EBA
Tritanopia (blue-blind)
#D48497
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #cd81bc;
/* rgb */ color: rgb(205, 129, 188);
/* oklch */ color: oklch(70.1% 0.120 335.4);
Tailwind
colors: {
  custom: {
    50: '#dda7d0',
    500: '#cd81bc',
    950: '#000000',
  },
}
SCSS
$custom: #cd81bc;
$custom-light: #dda7d0;
$custom-dark: #000000;
JSON
{
  "hex": "#cd81bc",
  "rgb": {
    "r": 205,
    "g": 129,
    "b": 188
  },
  "hsl": {
    "h": 313.421,
    "s": 43.182,
    "l": 65.49
  },
  "oklch": {
    "l": 0.70134,
    "c": 0.12034,
    "h": 335.4
  },
  "luminance": 0.3231
}

Semantic roles & 50–950 ramp

primary
#CD81BC
secondary
#C8E2CE
accent
#B64D2F
background
#FDFAFC
surface
#FBF4F9
border
#D4CED2
text
#150F14
muted
#837F82

Preview Lab

Preview with #CD81BC

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

Preview Lab → · Contrast checker → · Palette generator →

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