#CD8FC2#CD8FC2

#CD8FC2 is a light, moderate pink. Relative luminance 0.365; OKLCH L 72.7% C 0.101 H 333.0°. Best body text is #000000 at 8.30:1 contrast (WCAG AA passes).

Color values

HEX#CD8FC2
RGBrgb(205, 143, 194)
HSLhsl(311, 38%, 68%)
HSVhsv(311, 30%, 80%)
CMYKcmyk(0%, 30.2%, 5.4%, 19.6%)
CIE-LABlab(66.92, 31.54, -17.02)
CIE-LCHlch(66.92, 35.84, 331.65°)
OKLaboklab(72.72% 0.0896 -0.0456)
OKLCHoklch(72.72% 0.101 333)
XYZxyz(44.7363, 36.5209, 55.7212)
Luminance0.3652 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD8FC2 #8FCD9A
analogous
#B98FCD #CD8FC2 #CD8FA3
triadic
#CD8FC2 #C2CD8F #8FC2CD
tetradic
#CD8FC2 #CDB98F #8FCD9A #8FA3CD
square
#CD8FC2 #CDB98F #8FCD9A #8FA3CD
split-complementary
#CD8FC2 #A3CD8F #8FCDB9
monochromatic
#9C468D #BA65AB #CD8FC2 #E0B9D9 #F3E4F0

Accessibility & contrast

On white

2.53
#CD8FC2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.30
#CD8FC2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD8FC2
8.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD8FC2#FFFFFF#000000##000000
##CD8FC21.002.538.308.30
#FFFFFF2.531.0021.0021.00
#0000008.3021.001.001.00
##0000008.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E9DC4
Deuteranopia (green-blind)
#9DA6C0
Tritanopia (blue-blind)
#D392A1
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #cd8fc2;
/* rgb */ color: rgb(205, 143, 194);
/* oklch */ color: oklch(72.7% 0.101 333.0);
Tailwind
colors: {
  custom: {
    50: '#ddb0d4',
    500: '#cd8fc2',
    950: '#000000',
  },
}
SCSS
$custom: #cd8fc2;
$custom-light: #ddb0d4;
$custom-dark: #000000;
JSON
{
  "hex": "#cd8fc2",
  "rgb": {
    "r": 205,
    "g": 143,
    "b": 194
  },
  "hsl": {
    "h": 310.645,
    "s": 38.272,
    "l": 68.235
  },
  "oklch": {
    "l": 0.72721,
    "c": 0.10055,
    "h": 333
  },
  "luminance": 0.36519
}

Semantic roles & 50–950 ramp

primary
#CD8FC2
secondary
#D2E5D6
accent
#B14A34
background
#FDFAFD
surface
#FBF5FA
border
#D4CFD3
text
#151014
muted
#837F83

Preview Lab

Preview with #CD8FC2

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

Preview Lab → · Contrast checker → · Palette generator →

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