#CD4DA7#CD4DA7

#CD4DA7 is a mid, vivid pink. Relative luminance 0.211; OKLCH L 62.0% C 0.189 H 341.2°. Best body text is #000000 at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#CD4DA7
RGBrgb(205, 77, 167)
HSLhsl(318, 56%, 55%)
HSVhsv(318, 62%, 80%)
CMYKcmyk(0%, 62.4%, 18.5%, 19.6%)
CIE-LABlab(53.04, 60.15, -22.75)
CIE-LCHlch(53.04, 64.31, 339.28°)
OKLaboklab(62% 0.1791 -0.061)
OKLCHoklch(62% 0.189 341.2)
XYZxyz(34.8066, 21.0800, 38.7874)
Luminance0.2108 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD4DA7 #4DCD73
analogous
#B34DCD #CD4DA7 #CD4D67
triadic
#CD4DA7 #A7CD4D #4DA7CD
tetradic
#CD4DA7 #CDB34D #4DCD73 #4D67CD
square
#CD4DA7 #CDB34D #4DCD73 #4D67CD
split-complementary
#CD4DA7 #67CD4D #4DCDB3
monochromatic
#7D2362 #AC3088 #CD4DA7 #DA7DBF #E8ADD6

Accessibility & contrast

On white

4.03
#CD4DA7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.22
#CD4DA7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD4DA7
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD4DA7#FFFFFF#000000##000000
##CD4DA71.004.035.225.22
#FFFFFF4.031.0021.0021.00
#0000005.2221.001.001.00
##0000005.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5571AA
Deuteranopia (green-blind)
#7C86A4
Tritanopia (blue-blind)
#D94F73
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #cd4da7;
/* rgb */ color: rgb(205, 77, 167);
/* oklch */ color: oklch(62.0% 0.189 341.2);
Tailwind
colors: {
  custom: {
    50: '#e086c1',
    500: '#cd4da7',
    950: '#000000',
  },
}
SCSS
$custom: #cd4da7;
$custom-light: #e086c1;
$custom-dark: #000000;
JSON
{
  "hex": "#cd4da7",
  "rgb": {
    "r": 205,
    "g": 77,
    "b": 167
  },
  "hsl": {
    "h": 317.813,
    "s": 56.14,
    "l": 55.294
  },
  "oklch": {
    "l": 0.61995,
    "c": 0.18921,
    "h": 341.2
  },
  "luminance": 0.21077
}

Semantic roles & 50–950 ramp

primary
#CD4DA7
secondary
#A0D6B0
accent
#DF7548
background
#FEF8FB
surface
#FCF0F7
border
#D5CBD0
text
#160C12
muted
#847D81

Preview Lab

Preview with #CD4DA7

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

Preview Lab → · Contrast checker → · Palette generator →

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