#CD3EA6#CD3EA6

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

Color values

HEX#CD3EA6
RGBrgb(205, 62, 166)
HSLhsl(316, 59%, 52%)
HSVhsv(316, 70%, 80%)
CMYKcmyk(0%, 69.8%, 19%, 19.6%)
CIE-LABlab(50.90, 65.83, -25.46)
CIE-LCHlch(50.90, 70.58, 338.85°)
OKLaboklab(60.42% 0.1965 -0.0685)
OKLCHoklch(60.42% 0.208 340.8)
XYZxyz(33.7833, 19.1808, 37.9921)
Luminance0.1918 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD3EA6 #3ECD65
analogous
#AD3ECD #CD3EA6 #CD3E5E
triadic
#CD3EA6 #A6CD3E #3EA6CD
tetradic
#CD3EA6 #CDAD3E #3ECD65 #3E5ECD
square
#CD3EA6 #CDAD3E #3ECD65 #3E5ECD
split-complementary
#CD3EA6 #5ECD3E #3ECDAD
monochromatic
#731E5C #A32A82 #CD3EA6 #DA6FBC #E69FD3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CD3EA6#FFFFFF#000000##000000
##CD3EA61.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)
#486BA9
Deuteranopia (green-blind)
#7582A3
Tritanopia (blue-blind)
#D9416D
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #cd3ea6;
/* rgb */ color: rgb(205, 62, 166);
/* oklch */ color: oklch(60.4% 0.208 340.8);
Tailwind
colors: {
  custom: {
    50: '#e07fc0',
    500: '#cd3ea6',
    950: '#000000',
  },
}
SCSS
$custom: #cd3ea6;
$custom-light: #e07fc0;
$custom-dark: #000000;
JSON
{
  "hex": "#cd3ea6",
  "rgb": {
    "r": 205,
    "g": 62,
    "b": 166
  },
  "hsl": {
    "h": 316.364,
    "s": 58.848,
    "l": 52.353
  },
  "oklch": {
    "l": 0.60419,
    "c": 0.20812,
    "h": 340.8
  },
  "luminance": 0.19178
}

Semantic roles & 50–950 ramp

primary
#CD3EA6
secondary
#94D3A5
accent
#E27046
background
#FEF8FB
surface
#FCEFF7
border
#D5CAD0
text
#160B12
muted
#847C81

Preview Lab

Preview with #CD3EA6

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

Preview Lab → · Contrast checker → · Palette generator →

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