#CD5DA2#CD5DA2

#CD5DA2 is a light, vivid pink. Relative luminance 0.234; OKLCH L 63.8% C 0.162 H 344.8°. Best body text is #000000 at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#CD5DA2
RGBrgb(205, 93, 162)
HSLhsl(323, 53%, 58%)
HSVhsv(323, 55%, 80%)
CMYKcmyk(0%, 54.6%, 21%, 19.6%)
CIE-LABlab(55.50, 52.27, -16.06)
CIE-LCHlch(55.50, 54.68, 342.92°)
OKLaboklab(63.75% 0.1563 -0.0425)
OKLCHoklch(63.75% 0.162 344.8)
XYZxyz(35.6137, 23.4195, 36.8202)
Luminance0.2342 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD5DA2 #5DCD88
analogous
#C05DCD #CD5DA2 #CD5D6A
triadic
#CD5DA2 #A2CD5D #5DA2CD
tetradic
#CD5DA2 #CDC05D #5DCD88 #5D6ACD
square
#CD5DA2 #CDC05D #5DCD88 #5D6ACD
split-complementary
#CD5DA2 #6ACD5D #5DCDC0
monochromatic
#862963 #B53885 #CD5DA2 #DB8CBD #EABBD8

Accessibility & contrast

On white

3.70
#CD5DA2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.68
#CD5DA2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD5DA2
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD5DA2#FFFFFF#000000##000000
##CD5DA21.003.705.685.68
#FFFFFF3.701.0021.0021.00
#0000005.6821.001.001.00
##0000005.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6679A4
Deuteranopia (green-blind)
#858C9F
Tritanopia (blue-blind)
#D95C78
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #cd5da2;
/* rgb */ color: rgb(205, 93, 162);
/* oklch */ color: oklch(63.8% 0.162 344.8);
Tailwind
colors: {
  custom: {
    50: '#df8fbd',
    500: '#cd5da2',
    950: '#000000',
  },
}
SCSS
$custom: #cd5da2;
$custom-light: #df8fbd;
$custom-dark: #000000;
JSON
{
  "hex": "#cd5da2",
  "rgb": {
    "r": 205,
    "g": 93,
    "b": 162
  },
  "hsl": {
    "h": 323.036,
    "s": 52.83,
    "l": 58.431
  },
  "oklch": {
    "l": 0.63754,
    "c": 0.16202,
    "h": 344.8
  },
  "luminance": 0.23416
}

Semantic roles & 50–950 ramp

primary
#CD5DA2
secondary
#ADD9BE
accent
#DC834C
background
#FEF9FB
surface
#FCF1F6
border
#D5CBD0
text
#160D12
muted
#847E81

Preview Lab

Preview with #CD5DA2

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

Preview Lab → · Contrast checker → · Palette generator →

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