#CD8EA7#CD8EA7

#CD8EA7 is a light, moderate pink. Relative luminance 0.351; OKLCH L 71.6% C 0.083 H 353.9°. Best body text is #000000 at 8.02:1 contrast (WCAG AA passes).

Color values

HEX#CD8EA7
RGBrgb(205, 142, 167)
HSLhsl(336, 39%, 68%)
HSVhsv(336, 31%, 80%)
CMYKcmyk(0%, 30.7%, 18.5%, 19.6%)
CIE-LABlab(65.84, 27.55, -3.47)
CIE-LCHlch(65.84, 27.77, 352.82°)
OKLaboklab(71.62% 0.0822 -0.0088)
OKLCHoklch(71.62% 0.083 353.9)
XYZxyz(41.8253, 35.1173, 41.1270)
Luminance0.3512 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD8EA7 #8ECDB4
analogous
#CD8EC6 #CD8EA7 #CD948E
triadic
#CD8EA7 #A7CD8E #8EA7CD
tetradic
#CD8EA7 #C6CD8E #8ECDB4 #948ECD
square
#CD8EA7 #C6CD8E #8ECDB4 #948ECD
split-complementary
#CD8EA7 #8ECD94 #8EC6CD
monochromatic
#9C4567 #BA6486 #CD8EA7 #E0B8C8 #F3E3E9

Accessibility & contrast

On white

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

On black

8.02
#CD8EA7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD8EA7
8.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD8EA7#FFFFFF#000000##000000
##CD8EA71.002.628.028.02
#FFFFFF2.621.0021.0021.00
#0000008.0221.001.001.00
##0000008.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#959AA8
Deuteranopia (green-blind)
#A4A4A6
Tritanopia (blue-blind)
#D78C97
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #cd8ea7;
/* rgb */ color: rgb(205, 142, 167);
/* oklch */ color: oklch(71.6% 0.083 353.9);
Tailwind
colors: {
  custom: {
    50: '#ddafc1',
    500: '#cd8ea7',
    950: '#000000',
  },
}
SCSS
$custom: #cd8ea7;
$custom-light: #ddafc1;
$custom-dark: #000000;
JSON
{
  "hex": "#cd8ea7",
  "rgb": {
    "r": 205,
    "g": 142,
    "b": 167
  },
  "hsl": {
    "h": 336.19,
    "s": 38.65,
    "l": 68.039
  },
  "oklch": {
    "l": 0.71618,
    "c": 0.08269,
    "h": 353.9
  },
  "luminance": 0.35115
}

Semantic roles & 50–950 ramp

primary
#CD8EA7
secondary
#D2E5DD
accent
#B28034
background
#FDFAFB
surface
#FBF4F7
border
#D4CED0
text
#151012
muted
#837F81

Preview Lab

Preview with #CD8EA7

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

Preview Lab → · Contrast checker → · Palette generator →

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