#CD8EA2#CD8EA2

#CD8EA2 is a light, moderate pink. Relative luminance 0.349; OKLCH L 71.5% C 0.080 H 358.7°. Best body text is #000000 at 7.99:1 contrast (WCAG AA passes).

Color values

HEX#CD8EA2
RGBrgb(205, 142, 162)
HSLhsl(341, 39%, 68%)
HSVhsv(341, 31%, 80%)
CMYKcmyk(0%, 30.7%, 21%, 19.6%)
CIE-LABlab(65.70, 26.78, -0.86)
CIE-LCHlch(65.70, 26.79, 358.16°)
OKLaboklab(71.46% 0.0804 -0.0019)
OKLCHoklch(71.46% 0.08 358.7)
XYZxyz(41.3720, 34.9360, 38.7396)
Luminance0.3493 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD8EA2 #8ECDB9
analogous
#CD8EC1 #CD8EA2 #CD998E
triadic
#CD8EA2 #A2CD8E #8EA2CD
tetradic
#CD8EA2 #C1CD8E #8ECDB9 #998ECD
square
#CD8EA2 #C1CD8E #8ECDB9 #998ECD
split-complementary
#CD8EA2 #8ECD99 #8EC1CD
monochromatic
#9C4560 #BA647F #CD8EA2 #E0B8C5 #F3E3E8

Accessibility & contrast

On white

2.63
#CD8EA2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.99
#CD8EA2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD8EA2
7.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD8EA2#FFFFFF#000000##000000
##CD8EA21.002.637.997.99
#FFFFFF2.631.0021.0021.00
#0000007.9921.001.001.00
##0000007.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#9699A3
Deuteranopia (green-blind)
#A5A4A1
Tritanopia (blue-blind)
#D78B95
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #cd8ea2;
/* rgb */ color: rgb(205, 142, 162);
/* oklch */ color: oklch(71.5% 0.080 358.7);
Tailwind
colors: {
  custom: {
    50: '#ddafbd',
    500: '#cd8ea2',
    950: '#000000',
  },
}
SCSS
$custom: #cd8ea2;
$custom-light: #ddafbd;
$custom-dark: #000000;
JSON
{
  "hex": "#cd8ea2",
  "rgb": {
    "r": 205,
    "g": 142,
    "b": 162
  },
  "hsl": {
    "h": 340.952,
    "s": 38.65,
    "l": 68.039
  },
  "oklch": {
    "l": 0.71464,
    "c": 0.08043,
    "h": 358.7
  },
  "luminance": 0.34934
}

Semantic roles & 50–950 ramp

primary
#CD8EA2
secondary
#D2E5DF
accent
#B28A34
background
#FDFAFB
surface
#FBF4F6
border
#D4CED0
text
#151012
muted
#837F81

Preview Lab

Preview with #CD8EA2

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

Preview Lab → · Contrast checker → · Palette generator →

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