#CD40A3#CD40A3

#CD40A3 is a mid, highly saturated pink. Relative luminance 0.193; OKLCH L 60.5% C 0.204 H 342.0°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#CD40A3
RGBrgb(205, 64, 163)
HSLhsl(318, 59%, 53%)
HSVhsv(318, 69%, 80%)
CMYKcmyk(0%, 68.8%, 20.5%, 19.6%)
CIE-LABlab(51.03, 64.70, -23.49)
CIE-LCHlch(51.03, 68.83, 340.05°)
OKLaboklab(60.47% 0.1938 -0.063)
OKLCHoklch(60.47% 0.204 342)
XYZxyz(33.6221, 19.2936, 36.5966)
Luminance0.1929 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD40A3 #40CD6A
analogous
#B040CD #CD40A3 #CD405D
triadic
#CD40A3 #A3CD40 #40A3CD
tetradic
#CD40A3 #CDB040 #40CD6A #405DCD
square
#CD40A3 #CDB040 #40CD6A #405DCD
split-complementary
#CD40A3 #5DCD40 #40CDB0
monochromatic
#741E5B #A52B80 #CD40A3 #DA71BA #E6A1D2

Accessibility & contrast

On white

4.32
#CD40A3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.86
#CD40A3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD40A3
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD40A3#FFFFFF#000000##000000
##CD40A31.004.324.864.86
#FFFFFF4.321.0021.0021.00
#0000004.8621.001.001.00
##0000004.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C6BA6
Deuteranopia (green-blind)
#7782A0
Tritanopia (blue-blind)
#D9426C
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #cd40a3;
/* rgb */ color: rgb(205, 64, 163);
/* oklch */ color: oklch(60.5% 0.204 342.0);
Tailwind
colors: {
  custom: {
    50: '#e080be',
    500: '#cd40a3',
    950: '#000000',
  },
}
SCSS
$custom: #cd40a3;
$custom-light: #e080be;
$custom-dark: #000000;
JSON
{
  "hex": "#cd40a3",
  "rgb": {
    "r": 205,
    "g": 64,
    "b": 163
  },
  "hsl": {
    "h": 317.872,
    "s": 58.506,
    "l": 52.745
  },
  "oklch": {
    "l": 0.60473,
    "c": 0.20378,
    "h": 342
  },
  "luminance": 0.1929
}

Semantic roles & 50–950 ramp

primary
#CD40A3
secondary
#96D3A8
accent
#E27446
background
#FEF8FB
surface
#FCEFF7
border
#D5CAD0
text
#160B12
muted
#847C81

Preview Lab

Preview with #CD40A3

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

Preview Lab → · Contrast checker → · Palette generator →

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