#CD40AE#CD40AE

#CD40AE is a mid, highly saturated pink. Relative luminance 0.197; OKLCH L 61.0% C 0.211 H 337.9°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#CD40AE
RGBrgb(205, 64, 174)
HSLhsl(313, 59%, 53%)
HSVhsv(313, 69%, 80%)
CMYKcmyk(0%, 68.8%, 15.1%, 19.6%)
CIE-LABlab(51.50, 66.23, -29.22)
CIE-LCHlch(51.50, 72.39, 336.19°)
OKLaboklab(60.97% 0.1956 -0.0792)
OKLCHoklch(60.97% 0.211 337.9)
XYZxyz(34.6509, 19.7051, 42.0147)
Luminance0.1970 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD40AE #40CD5F
analogous
#A540CD #CD40AE #CD4068
triadic
#CD40AE #AECD40 #40AECD
tetradic
#CD40AE #CDA540 #40CD5F #4068CD
square
#CD40AE #CDA540 #40CD5F #4068CD
split-complementary
#CD40AE #68CD40 #40CDA5
monochromatic
#741E61 #A52B8A #CD40AE #DA71C3 #E6A1D7

Accessibility & contrast

On white

4.25
#CD40AE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.94
#CD40AE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD40AE
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD40AE#FFFFFF#000000##000000
##CD40AE1.004.254.944.94
#FFFFFF4.251.0021.0021.00
#0000004.9421.001.001.00
##0000004.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#456DB1
Deuteranopia (green-blind)
#7383AB
Tritanopia (blue-blind)
#D84772
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #cd40ae;
/* rgb */ color: rgb(205, 64, 174);
/* oklch */ color: oklch(61.0% 0.211 337.9);
Tailwind
colors: {
  custom: {
    50: '#e080c6',
    500: '#cd40ae',
    950: '#000000',
  },
}
SCSS
$custom: #cd40ae;
$custom-light: #e080c6;
$custom-dark: #000000;
JSON
{
  "hex": "#cd40ae",
  "rgb": {
    "r": 205,
    "g": 64,
    "b": 174
  },
  "hsl": {
    "h": 313.191,
    "s": 58.506,
    "l": 52.745
  },
  "oklch": {
    "l": 0.60972,
    "c": 0.21098,
    "h": 337.9
  },
  "luminance": 0.19702
}

Semantic roles & 50–950 ramp

primary
#CD40AE
secondary
#96D3A3
accent
#E26846
background
#FEF8FC
surface
#FCEFF8
border
#D5CAD1
text
#160B13
muted
#847C82

Preview Lab

Preview with #CD40AE

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

Preview Lab → · Contrast checker → · Palette generator →

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