#CD3DA8#CD3DA8

#CD3DA8 is a mid, highly saturated pink. Relative luminance 0.191; OKLCH L 60.4% C 0.211 H 340.0°. Best body text is #000000 at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#CD3DA8
RGBrgb(205, 61, 168)
HSLhsl(315, 59%, 52%)
HSVhsv(315, 70%, 80%)
CMYKcmyk(0%, 70.2%, 18%, 19.6%)
CIE-LABlab(50.86, 66.45, -26.70)
CIE-LCHlch(50.86, 71.62, 338.11°)
OKLaboklab(60.42% 0.1979 -0.072)
OKLCHoklch(60.42% 0.211 340)
XYZxyz(33.9143, 19.1470, 38.9478)
Luminance0.1914 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD3DA8 #3DCD62
analogous
#AA3DCD #CD3DA8 #CD3D60
triadic
#CD3DA8 #A8CD3D #3DA8CD
tetradic
#CD3DA8 #CDAA3D #3DCD62 #3D60CD
square
#CD3DA8 #CDAA3D #3DCD62 #3D60CD
split-complementary
#CD3DA8 #60CD3D #3DCDAA
monochromatic
#721D5C #A32A84 #CD3DA8 #DA6EBE #E69ED4

Accessibility & contrast

On white

4.35
#CD3DA8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.83
#CD3DA8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD3DA8
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD3DA8#FFFFFF#000000##000000
##CD3DA81.004.354.834.83
#FFFFFF4.351.0021.0021.00
#0000004.8321.001.001.00
##0000004.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#466AAB
Deuteranopia (green-blind)
#7481A5
Tritanopia (blue-blind)
#D9416D
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #cd3da8;
/* rgb */ color: rgb(205, 61, 168);
/* oklch */ color: oklch(60.4% 0.211 340.0);
Tailwind
colors: {
  custom: {
    50: '#e07fc2',
    500: '#cd3da8',
    950: '#000000',
  },
}
SCSS
$custom: #cd3da8;
$custom-light: #e07fc2;
$custom-dark: #000000;
JSON
{
  "hex": "#cd3da8",
  "rgb": {
    "r": 205,
    "g": 61,
    "b": 168
  },
  "hsl": {
    "h": 315.417,
    "s": 59.016,
    "l": 52.157
  },
  "oklch": {
    "l": 0.60418,
    "c": 0.21059,
    "h": 340
  },
  "luminance": 0.19144
}

Semantic roles & 50–950 ramp

primary
#CD3DA8
secondary
#93D2A4
accent
#E26E46
background
#FEF8FB
surface
#FCEFF7
border
#D5CAD0
text
#160B12
muted
#847C81

Preview Lab

Preview with #CD3DA8

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

Preview Lab → · Contrast checker → · Palette generator →

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