#CD40AD#CD40AD

#CD40AD is a mid, highly saturated pink. Relative luminance 0.197; OKLCH L 60.9% C 0.210 H 338.3°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#CD40AD
RGBrgb(205, 64, 173)
HSLhsl(314, 59%, 53%)
HSVhsv(314, 69%, 80%)
CMYKcmyk(0%, 68.8%, 15.6%, 19.6%)
CIE-LABlab(51.46, 66.09, -28.71)
CIE-LCHlch(51.46, 72.05, 336.52°)
OKLaboklab(60.93% 0.1954 -0.0777)
OKLCHoklch(60.93% 0.21 338.3)
XYZxyz(34.5538, 19.6662, 41.5032)
Luminance0.1966 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD40AD #40CD60
analogous
#A640CD #CD40AD #CD4066
triadic
#CD40AD #ADCD40 #40ADCD
tetradic
#CD40AD #CDA640 #40CD60 #4066CD
square
#CD40AD #CDA640 #40CD60 #4066CD
split-complementary
#CD40AD #66CD40 #40CDA6
monochromatic
#741E61 #A52B89 #CD40AD #DA71C2 #E6A1D7

Accessibility & contrast

On white

4.26
#CD40AD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.93
#CD40AD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD40AD
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD40AD#FFFFFF#000000##000000
##CD40AD1.004.264.934.93
#FFFFFF4.261.0021.0021.00
#0000004.9321.001.001.00
##0000004.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#466DB0
Deuteranopia (green-blind)
#7483AA
Tritanopia (blue-blind)
#D84671
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #cd40ad;
/* rgb */ color: rgb(205, 64, 173);
/* oklch */ color: oklch(60.9% 0.210 338.3);
Tailwind
colors: {
  custom: {
    50: '#e080c5',
    500: '#cd40ad',
    950: '#000000',
  },
}
SCSS
$custom: #cd40ad;
$custom-light: #e080c5;
$custom-dark: #000000;
JSON
{
  "hex": "#cd40ad",
  "rgb": {
    "r": 205,
    "g": 64,
    "b": 173
  },
  "hsl": {
    "h": 313.617,
    "s": 58.506,
    "l": 52.745
  },
  "oklch": {
    "l": 0.60925,
    "c": 0.21031,
    "h": 338.3
  },
  "luminance": 0.19663
}

Semantic roles & 50–950 ramp

primary
#CD40AD
secondary
#96D3A4
accent
#E26946
background
#FEF8FC
surface
#FCEFF8
border
#D5CAD1
text
#160B13
muted
#847C82

Preview Lab

Preview with #CD40AD

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

Preview Lab → · Contrast checker → · Palette generator →

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