#CD8CA5#CD8CA5

#CD8CA5 is a light, moderate pink. Relative luminance 0.345; OKLCH L 71.2% C 0.085 H 354.7°. Best body text is #000000 at 7.89:1 contrast (WCAG AA passes).

Color values

HEX#CD8CA5
RGBrgb(205, 140, 165)
HSLhsl(337, 39%, 68%)
HSVhsv(337, 32%, 80%)
CMYKcmyk(0%, 31.7%, 19.5%, 19.6%)
CIE-LABlab(65.32, 28.33, -3.10)
CIE-LCHlch(65.32, 28.50, 353.75°)
OKLaboklab(71.2% 0.0847 -0.0078)
OKLCHoklch(71.2% 0.085 354.7)
XYZxyz(41.3469, 34.4542, 40.0625)
Luminance0.3445 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD8CA5 #8CCDB4
analogous
#CD8CC6 #CD8CA5 #CD938C
triadic
#CD8CA5 #A5CD8C #8CA5CD
tetradic
#CD8CA5 #C6CD8C #8CCDB4 #938CCD
square
#CD8CA5 #C6CD8C #8CCDB4 #938CCD
split-complementary
#CD8CA5 #8CCD93 #8CC6CD
monochromatic
#9B4365 #BA6184 #CD8CA5 #E0B7C6 #F2E1E8

Accessibility & contrast

On white

2.66
#CD8CA5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.89
#CD8CA5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD8CA5
7.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD8CA5#FFFFFF#000000##000000
##CD8CA51.002.667.897.89
#FFFFFF2.661.0021.0021.00
#0000007.8921.001.001.00
##0000007.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#9398A6
Deuteranopia (green-blind)
#A3A3A3
Tritanopia (blue-blind)
#D78995
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #cd8ca5;
/* rgb */ color: rgb(205, 140, 165);
/* oklch */ color: oklch(71.2% 0.085 354.7);
Tailwind
colors: {
  custom: {
    50: '#ddaebf',
    500: '#cd8ca5',
    950: '#000000',
  },
}
SCSS
$custom: #cd8ca5;
$custom-light: #ddaebf;
$custom-dark: #000000;
JSON
{
  "hex": "#cd8ca5",
  "rgb": {
    "r": 205,
    "g": 140,
    "b": 165
  },
  "hsl": {
    "h": 336.923,
    "s": 39.394,
    "l": 67.647
  },
  "oklch": {
    "l": 0.71202,
    "c": 0.08506,
    "h": 354.7
  },
  "luminance": 0.34452
}

Semantic roles & 50–950 ramp

primary
#CD8CA5
secondary
#D0E4DD
accent
#B28133
background
#FDFAFB
surface
#FBF4F7
border
#D4CED0
text
#151012
muted
#837F81

Preview Lab

Preview with #CD8CA5

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

Preview Lab → · Contrast checker → · Palette generator →

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