#CD40AA#CD40AA

#CD40AA is a mid, highly saturated pink. Relative luminance 0.195; OKLCH L 60.8% C 0.208 H 339.4°. Best body text is #000000 at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#CD40AA
RGBrgb(205, 64, 170)
HSLhsl(315, 59%, 53%)
HSVhsv(315, 69%, 80%)
CMYKcmyk(0%, 68.8%, 17.1%, 19.6%)
CIE-LABlab(51.33, 65.66, -27.15)
CIE-LCHlch(51.33, 71.05, 337.54°)
OKLaboklab(60.79% 0.195 -0.0733)
OKLCHoklch(60.79% 0.208 339.4)
XYZxyz(34.2667, 19.5514, 39.9915)
Luminance0.1955 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD40AA #40CD63
analogous
#AA40CD #CD40AA #CD4063
triadic
#CD40AA #AACD40 #40AACD
tetradic
#CD40AA #CDAA40 #40CD63 #4063CD
square
#CD40AA #CDAA40 #40CD63 #4063CD
split-complementary
#CD40AA #63CD40 #40CDAA
monochromatic
#741E5F #A52B87 #CD40AA #DA71C0 #E6A1D5

Accessibility & contrast

On white

4.28
#CD40AA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.91
#CD40AA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD40AA
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD40AA#FFFFFF#000000##000000
##CD40AA1.004.284.914.91
#FFFFFF4.281.0021.0021.00
#0000004.9121.001.001.00
##0000004.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#486CAD
Deuteranopia (green-blind)
#7582A7
Tritanopia (blue-blind)
#D94570
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #cd40aa;
/* rgb */ color: rgb(205, 64, 170);
/* oklch */ color: oklch(60.8% 0.208 339.4);
Tailwind
colors: {
  custom: {
    50: '#e080c3',
    500: '#cd40aa',
    950: '#000000',
  },
}
SCSS
$custom: #cd40aa;
$custom-light: #e080c3;
$custom-dark: #000000;
JSON
{
  "hex": "#cd40aa",
  "rgb": {
    "r": 205,
    "g": 64,
    "b": 170
  },
  "hsl": {
    "h": 314.894,
    "s": 58.506,
    "l": 52.745
  },
  "oklch": {
    "l": 0.60786,
    "c": 0.2083,
    "h": 339.4
  },
  "luminance": 0.19548
}

Semantic roles & 50–950 ramp

primary
#CD40AA
secondary
#96D3A5
accent
#E26D46
background
#FEF8FC
surface
#FCEFF8
border
#D5CAD1
text
#160B12
muted
#847C81

Preview Lab

Preview with #CD40AA

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

Preview Lab → · Contrast checker → · Palette generator →

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