#CD8CA2#CD8CA2

#CD8CA2 is a light, moderate pink. Relative luminance 0.343; OKLCH L 71.1% C 0.084 H 357.5°. Best body text is #000000 at 7.87:1 contrast (WCAG AA passes).

Color values

HEX#CD8CA2
RGBrgb(205, 140, 162)
HSLhsl(340, 39%, 68%)
HSVhsv(340, 32%, 80%)
CMYKcmyk(0%, 31.7%, 21%, 19.6%)
CIE-LABlab(65.24, 27.87, -1.54)
CIE-LCHlch(65.24, 27.91, 356.84°)
OKLaboklab(71.11% 0.0836 -0.0037)
OKLCHoklch(71.11% 0.084 357.5)
XYZxyz(41.0771, 34.3462, 38.6413)
Luminance0.3434 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD8CA2 #8CCDB7
analogous
#CD8CC3 #CD8CA2 #CD968C
triadic
#CD8CA2 #A2CD8C #8CA2CD
tetradic
#CD8CA2 #C3CD8C #8CCDB7 #968CCD
square
#CD8CA2 #C3CD8C #8CCDB7 #968CCD
split-complementary
#CD8CA2 #8CCD96 #8CC3CD
monochromatic
#9B4361 #BA6180 #CD8CA2 #E0B7C4 #F2E1E7

Accessibility & contrast

On white

2.67
#CD8CA2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.87
#CD8CA2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD8CA2
7.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD8CA2#FFFFFF#000000##000000
##CD8CA21.002.677.877.87
#FFFFFF2.671.0021.0021.00
#0000007.8721.001.001.00
##0000007.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#9498A3
Deuteranopia (green-blind)
#A3A3A1
Tritanopia (blue-blind)
#D78994
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #cd8ca2;
/* rgb */ color: rgb(205, 140, 162);
/* oklch */ color: oklch(71.1% 0.084 357.5);
Tailwind
colors: {
  custom: {
    50: '#ddaebd',
    500: '#cd8ca2',
    950: '#000000',
  },
}
SCSS
$custom: #cd8ca2;
$custom-light: #ddaebd;
$custom-dark: #000000;
JSON
{
  "hex": "#cd8ca2",
  "rgb": {
    "r": 205,
    "g": 140,
    "b": 162
  },
  "hsl": {
    "h": 339.692,
    "s": 39.394,
    "l": 67.647
  },
  "oklch": {
    "l": 0.71109,
    "c": 0.0837,
    "h": 357.5
  },
  "luminance": 0.34344
}

Semantic roles & 50–950 ramp

primary
#CD8CA2
secondary
#D0E4DE
accent
#B28733
background
#FDFAFB
surface
#FBF4F6
border
#D4CED0
text
#151012
muted
#837F81

Preview Lab

Preview with #CD8CA2

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

Preview Lab → · Contrast checker → · Palette generator →

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