#CD8EA5#CD8EA5

#CD8EA5 is a light, moderate pink. Relative luminance 0.350; OKLCH L 71.6% C 0.082 H 355.8°. Best body text is #000000 at 8.01:1 contrast (WCAG AA passes).

Color values

HEX#CD8EA5
RGBrgb(205, 142, 165)
HSLhsl(338, 39%, 68%)
HSVhsv(338, 31%, 80%)
CMYKcmyk(0%, 30.7%, 19.5%, 19.6%)
CIE-LABlab(65.78, 27.24, -2.43)
CIE-LCHlch(65.78, 27.35, 354.91°)
OKLaboklab(71.56% 0.0815 -0.006)
OKLCHoklch(71.56% 0.082 355.8)
XYZxyz(41.6418, 35.0440, 40.1608)
Luminance0.3504 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD8EA5 #8ECDB6
analogous
#CD8EC4 #CD8EA5 #CD968E
triadic
#CD8EA5 #A5CD8E #8EA5CD
tetradic
#CD8EA5 #C4CD8E #8ECDB6 #968ECD
square
#CD8EA5 #C4CD8E #8ECDB6 #968ECD
split-complementary
#CD8EA5 #8ECD96 #8EC4CD
monochromatic
#9C4565 #BA6483 #CD8EA5 #E0B8C7 #F3E3E9

Accessibility & contrast

On white

2.62
#CD8EA5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.01
#CD8EA5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD8EA5
8.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD8EA5#FFFFFF#000000##000000
##CD8EA51.002.628.018.01
#FFFFFF2.621.0021.0021.00
#0000008.0121.001.001.00
##0000008.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#9599A6
Deuteranopia (green-blind)
#A4A4A4
Tritanopia (blue-blind)
#D78B96
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #cd8ea5;
/* rgb */ color: rgb(205, 142, 165);
/* oklch */ color: oklch(71.6% 0.082 355.8);
Tailwind
colors: {
  custom: {
    50: '#ddafbf',
    500: '#cd8ea5',
    950: '#000000',
  },
}
SCSS
$custom: #cd8ea5;
$custom-light: #ddafbf;
$custom-dark: #000000;
JSON
{
  "hex": "#cd8ea5",
  "rgb": {
    "r": 205,
    "g": 142,
    "b": 165
  },
  "hsl": {
    "h": 338.095,
    "s": 38.65,
    "l": 68.039
  },
  "oklch": {
    "l": 0.71556,
    "c": 0.08172,
    "h": 355.8
  },
  "luminance": 0.35042
}

Semantic roles & 50–950 ramp

primary
#CD8EA5
secondary
#D2E5DE
accent
#B28434
background
#FDFAFB
surface
#FBF4F7
border
#D4CED0
text
#151012
muted
#837F81

Preview Lab

Preview with #CD8EA5

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

Preview Lab → · Contrast checker → · Palette generator →

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