#CD3EA8#CD3EA8

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

Color values

HEX#CD3EA8
RGBrgb(205, 62, 168)
HSLhsl(316, 59%, 52%)
HSVhsv(316, 70%, 80%)
CMYKcmyk(0%, 69.8%, 18%, 19.6%)
CIE-LABlab(50.98, 66.10, -26.50)
CIE-LCHlch(50.98, 71.22, 338.15°)
OKLaboklab(60.51% 0.1968 -0.0715)
OKLCHoklch(60.51% 0.209 340)
XYZxyz(33.9682, 19.2548, 38.9658)
Luminance0.1925 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD3EA8 #3ECD63
analogous
#AA3ECD #CD3EA8 #CD3E61
triadic
#CD3EA8 #A8CD3E #3EA8CD
tetradic
#CD3EA8 #CDAA3E #3ECD63 #3E61CD
square
#CD3EA8 #CDAA3E #3ECD63 #3E61CD
split-complementary
#CD3EA8 #61CD3E #3ECDAA
monochromatic
#731E5D #A32A84 #CD3EA8 #DA6FBE #E69FD4

Accessibility & contrast

On white

4.33
#CD3EA8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.85
#CD3EA8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD3EA8
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD3EA8#FFFFFF#000000##000000
##CD3EA81.004.334.854.85
#FFFFFF4.331.0021.0021.00
#0000004.8521.001.001.00
##0000004.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#476BAB
Deuteranopia (green-blind)
#7582A5
Tritanopia (blue-blind)
#D9426E
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #cd3ea8;
/* rgb */ color: rgb(205, 62, 168);
/* oklch */ color: oklch(60.5% 0.209 340.0);
Tailwind
colors: {
  custom: {
    50: '#e07fc2',
    500: '#cd3ea8',
    950: '#000000',
  },
}
SCSS
$custom: #cd3ea8;
$custom-light: #e07fc2;
$custom-dark: #000000;
JSON
{
  "hex": "#cd3ea8",
  "rgb": {
    "r": 205,
    "g": 62,
    "b": 168
  },
  "hsl": {
    "h": 315.524,
    "s": 58.848,
    "l": 52.353
  },
  "oklch": {
    "l": 0.60509,
    "c": 0.20941,
    "h": 340
  },
  "luminance": 0.19252
}

Semantic roles & 50–950 ramp

primary
#CD3EA8
secondary
#94D3A4
accent
#E26E46
background
#FEF8FB
surface
#FCEFF7
border
#D5CAD0
text
#160B12
muted
#847C81

Preview Lab

Preview with #CD3EA8

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

Preview Lab → · Contrast checker → · Palette generator →

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