#CD40A0#CD40A0

#CD40A0 is a mid, highly saturated pink. Relative luminance 0.192; OKLCH L 60.3% C 0.202 H 343.1°. Best body text is #000000 at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#CD40A0
RGBrgb(205, 64, 160)
HSLhsl(319, 59%, 53%)
HSVhsv(319, 69%, 80%)
CMYKcmyk(0%, 68.8%, 22%, 19.6%)
CIE-LABlab(50.91, 64.30, -21.91)
CIE-LCHlch(50.91, 67.93, 341.19°)
OKLaboklab(60.34% 0.1932 -0.0586)
OKLCHoklch(60.34% 0.202 343.1)
XYZxyz(33.3565, 19.1873, 35.1977)
Luminance0.1918 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD40A0 #40CD6D
analogous
#B340CD #CD40A0 #CD4059
triadic
#CD40A0 #A0CD40 #40A0CD
tetradic
#CD40A0 #CDB340 #40CD6D #4059CD
square
#CD40A0 #CDB340 #40CD6D #4059CD
split-complementary
#CD40A0 #59CD40 #40CDB3
monochromatic
#741E59 #A52B7E #CD40A0 #DA71B8 #E6A1D0

Accessibility & contrast

On white

4.34
#CD40A0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.84
#CD40A0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD40A0
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD40A0#FFFFFF#000000##000000
##CD40A01.004.344.844.84
#FFFFFF4.341.0021.0021.00
#0000004.8421.001.001.00
##0000004.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D6AA3
Deuteranopia (green-blind)
#78829D
Tritanopia (blue-blind)
#DA406A
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #cd40a0;
/* rgb */ color: rgb(205, 64, 160);
/* oklch */ color: oklch(60.3% 0.202 343.1);
Tailwind
colors: {
  custom: {
    50: '#e080bc',
    500: '#cd40a0',
    950: '#000000',
  },
}
SCSS
$custom: #cd40a0;
$custom-light: #e080bc;
$custom-dark: #000000;
JSON
{
  "hex": "#cd40a0",
  "rgb": {
    "r": 205,
    "g": 64,
    "b": 160
  },
  "hsl": {
    "h": 319.149,
    "s": 58.506,
    "l": 52.745
  },
  "oklch": {
    "l": 0.60342,
    "c": 0.20192,
    "h": 343.1
  },
  "luminance": 0.19184
}

Semantic roles & 50–950 ramp

primary
#CD40A0
secondary
#96D3A9
accent
#E27846
background
#FEF8FB
surface
#FCEFF6
border
#D5CAD0
text
#160B12
muted
#847C81

Preview Lab

Preview with #CD40A0

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

Preview Lab → · Contrast checker → · Palette generator →

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