#CD3AA8#CD3AA8

#CD3AA8 is a mid, highly saturated pink. Relative luminance 0.188; OKLCH L 60.2% C 0.214 H 339.9°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#CD3AA8
RGBrgb(205, 58, 168)
HSLhsl(315, 60%, 52%)
HSVhsv(315, 72%, 80%)
CMYKcmyk(0%, 71.7%, 18%, 19.6%)
CIE-LABlab(50.49, 67.48, -27.26)
CIE-LCHlch(50.49, 72.78, 338.00°)
OKLaboklab(60.15% 0.201 -0.0736)
OKLCHoklch(60.15% 0.214 339.9)
XYZxyz(33.7587, 18.8357, 38.8959)
Luminance0.1883 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD3AA8 #3ACD5F
analogous
#A93ACD #CD3AA8 #CD3A5F
triadic
#CD3AA8 #A8CD3A #3AA8CD
tetradic
#CD3AA8 #CDA93A #3ACD5F #3A5FCD
square
#CD3AA8 #CDA93A #3ACD5F #3A5FCD
split-complementary
#CD3AA8 #5FCD3A #3ACDA9
monochromatic
#701C5B #A12983 #CD3AA8 #D96BBE #E69CD3

Accessibility & contrast

On white

4.41
#CD3AA8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.77
#CD3AA8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD3AA8
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD3AA8#FFFFFF#000000##000000
##CD3AA81.004.414.774.77
#FFFFFF4.411.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4469AB
Deuteranopia (green-blind)
#7381A5
Tritanopia (blue-blind)
#D93F6C
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #cd3aa8;
/* rgb */ color: rgb(205, 58, 168);
/* oklch */ color: oklch(60.2% 0.214 339.9);
Tailwind
colors: {
  custom: {
    50: '#e07dc2',
    500: '#cd3aa8',
    950: '#000000',
  },
}
SCSS
$custom: #cd3aa8;
$custom-light: #e07dc2;
$custom-dark: #000000;
JSON
{
  "hex": "#cd3aa8",
  "rgb": {
    "r": 205,
    "g": 58,
    "b": 168
  },
  "hsl": {
    "h": 315.102,
    "s": 59.514,
    "l": 51.569
  },
  "oklch": {
    "l": 0.60154,
    "c": 0.21405,
    "h": 339.9
  },
  "luminance": 0.18832
}

Semantic roles & 50–950 ramp

primary
#CD3AA8
secondary
#91D2A1
accent
#E36D45
background
#FEF8FB
surface
#FCEFF7
border
#D5CAD0
text
#160B12
muted
#847C81

Preview Lab

Preview with #CD3AA8

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

Preview Lab → · Contrast checker → · Palette generator →

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