#CD4AA7#CD4AA7

#CD4AA7 is a mid, vivid pink. Relative luminance 0.207; OKLCH L 61.7% C 0.193 H 341.0°. Best body text is #000000 at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#CD4AA7
RGBrgb(205, 74, 167)
HSLhsl(317, 57%, 55%)
HSVhsv(317, 64%, 80%)
CMYKcmyk(0%, 63.9%, 18.5%, 19.6%)
CIE-LABlab(52.59, 61.39, -23.44)
CIE-LCHlch(52.59, 65.71, 339.10°)
OKLaboklab(61.67% 0.1828 -0.063)
OKLCHoklch(61.67% 0.193 341)
XYZxyz(34.6015, 20.6699, 38.7191)
Luminance0.2067 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD4AA7 #4ACD70
analogous
#B24ACD #CD4AA7 #CD4A65
triadic
#CD4AA7 #A7CD4A #4AA7CD
tetradic
#CD4AA7 #CDB24A #4ACD70 #4A65CD
square
#CD4AA7 #CDB24A #4ACD70 #4A65CD
split-complementary
#CD4AA7 #65CD4A #4ACDB2
monochromatic
#7B2261 #AB2F87 #CD4AA7 #DA7ABE #E7AAD6

Accessibility & contrast

On white

4.09
#CD4AA7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.13
#CD4AA7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD4AA7
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD4AA7#FFFFFF#000000##000000
##CD4AA71.004.095.135.13
#FFFFFF4.091.0021.0021.00
#0000005.1321.001.001.00
##0000005.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5370AA
Deuteranopia (green-blind)
#7A85A4
Tritanopia (blue-blind)
#D94C72
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #cd4aa7;
/* rgb */ color: rgb(205, 74, 167);
/* oklch */ color: oklch(61.7% 0.193 341.0);
Tailwind
colors: {
  custom: {
    50: '#e085c1',
    500: '#cd4aa7',
    950: '#000000',
  },
}
SCSS
$custom: #cd4aa7;
$custom-light: #e085c1;
$custom-dark: #000000;
JSON
{
  "hex": "#cd4aa7",
  "rgb": {
    "r": 205,
    "g": 74,
    "b": 167
  },
  "hsl": {
    "h": 317.405,
    "s": 56.71,
    "l": 54.706
  },
  "oklch": {
    "l": 0.61665,
    "c": 0.19336,
    "h": 341
  },
  "luminance": 0.20667
}

Semantic roles & 50–950 ramp

primary
#CD4AA7
secondary
#9ED5AE
accent
#E07448
background
#FEF8FB
surface
#FCF0F7
border
#D5CBD0
text
#160C12
muted
#847D81

Preview Lab

Preview with #CD4AA7

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

Preview Lab → · Contrast checker → · Palette generator →

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