#CD3EA2#CD3EA2

#CD3EA2 is a mid, highly saturated pink. Relative luminance 0.190; OKLCH L 60.2% C 0.206 H 342.3°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#CD3EA2
RGBrgb(205, 62, 162)
HSLhsl(318, 59%, 52%)
HSVhsv(318, 70%, 80%)
CMYKcmyk(0%, 69.8%, 21%, 19.6%)
CIE-LABlab(50.73, 65.29, -23.36)
CIE-LCHlch(50.73, 69.34, 340.31°)
OKLaboklab(60.24% 0.1958 -0.0626)
OKLCHoklch(60.24% 0.206 342.3)
XYZxyz(33.4221, 19.0363, 36.0896)
Luminance0.1903 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD3EA2 #3ECD69
analogous
#B13ECD #CD3EA2 #CD3E5A
triadic
#CD3EA2 #A2CD3E #3EA2CD
tetradic
#CD3EA2 #CDB13E #3ECD69 #3E5ACD
square
#CD3EA2 #CDB13E #3ECD69 #3E5ACD
split-complementary
#CD3EA2 #5ACD3E #3ECDB1
monochromatic
#731E59 #A32A7F #CD3EA2 #DA6FB9 #E69FD1

Accessibility & contrast

On white

4.37
#CD3EA2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.81
#CD3EA2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD3EA2
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD3EA2#FFFFFF#000000##000000
##CD3EA21.004.374.814.81
#FFFFFF4.371.0021.0021.00
#0000004.8121.001.001.00
##0000004.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B6AA5
Deuteranopia (green-blind)
#77819F
Tritanopia (blue-blind)
#DA3F6B
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #cd3ea2;
/* rgb */ color: rgb(205, 62, 162);
/* oklch */ color: oklch(60.2% 0.206 342.3);
Tailwind
colors: {
  custom: {
    50: '#e07fbd',
    500: '#cd3ea2',
    950: '#000000',
  },
}
SCSS
$custom: #cd3ea2;
$custom-light: #e07fbd;
$custom-dark: #000000;
JSON
{
  "hex": "#cd3ea2",
  "rgb": {
    "r": 205,
    "g": 62,
    "b": 162
  },
  "hsl": {
    "h": 318.042,
    "s": 58.848,
    "l": 52.353
  },
  "oklch": {
    "l": 0.60241,
    "c": 0.20559,
    "h": 342.3
  },
  "luminance": 0.19033
}

Semantic roles & 50–950 ramp

primary
#CD3EA2
secondary
#94D3A7
accent
#E27546
background
#FEF8FB
surface
#FCEFF6
border
#D5CAD0
text
#160B12
muted
#847C81

Preview Lab

Preview with #CD3EA2

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

Preview Lab → · Contrast checker → · Palette generator →

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