#CD3EA7#CD3EA7

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

Color values

HEX#CD3EA7
RGBrgb(205, 62, 167)
HSLhsl(316, 59%, 52%)
HSVhsv(316, 70%, 80%)
CMYKcmyk(0%, 69.8%, 18.5%, 19.6%)
CIE-LABlab(50.94, 65.96, -25.98)
CIE-LCHlch(50.94, 70.90, 338.50°)
OKLaboklab(60.46% 0.1967 -0.07)
OKLCHoklch(60.46% 0.209 340.4)
XYZxyz(33.8754, 19.2177, 38.4770)
Luminance0.1921 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD3EA7 #3ECD64
analogous
#AC3ECD #CD3EA7 #CD3E60
triadic
#CD3EA7 #A7CD3E #3EA7CD
tetradic
#CD3EA7 #CDAC3E #3ECD64 #3E60CD
square
#CD3EA7 #CDAC3E #3ECD64 #3E60CD
split-complementary
#CD3EA7 #60CD3E #3ECDAC
monochromatic
#731E5C #A32A83 #CD3EA7 #DA6FBD #E69FD3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CD3EA7#FFFFFF#000000##000000
##CD3EA71.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)
#486BAA
Deuteranopia (green-blind)
#7582A4
Tritanopia (blue-blind)
#D9426D
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #cd3ea7;
/* rgb */ color: rgb(205, 62, 167);
/* oklch */ color: oklch(60.5% 0.209 340.4);
Tailwind
colors: {
  custom: {
    50: '#e07fc1',
    500: '#cd3ea7',
    950: '#000000',
  },
}
SCSS
$custom: #cd3ea7;
$custom-light: #e07fc1;
$custom-dark: #000000;
JSON
{
  "hex": "#cd3ea7",
  "rgb": {
    "r": 205,
    "g": 62,
    "b": 167
  },
  "hsl": {
    "h": 315.944,
    "s": 58.848,
    "l": 52.353
  },
  "oklch": {
    "l": 0.60464,
    "c": 0.20876,
    "h": 340.4
  },
  "luminance": 0.19214
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CD3EA7

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

Preview Lab → · Contrast checker → · Palette generator →

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