#CD3D8A#CD3D8A

#CD3D8A is a mid, vivid pink. Relative luminance 0.182; OKLCH L 59.2% C 0.194 H 351.8°. Best body text is #000000 at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#CD3D8A
RGBrgb(205, 61, 138)
HSLhsl(328, 59%, 52%)
HSVhsv(328, 70%, 80%)
CMYKcmyk(0%, 70.2%, 32.7%, 19.6%)
CIE-LABlab(49.68, 62.66, -10.65)
CIE-LCHlch(49.68, 63.55, 350.35°)
OKLaboklab(59.18% 0.1915 -0.0275)
OKLCHoklch(59.18% 0.194 351.8)
XYZxyz(31.4348, 18.1552, 25.8887)
Luminance0.1815 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD3D8A #3DCD80
analogous
#C83DCD #CD3D8A #CD3D42
triadic
#CD3D8A #8ACD3D #3D8ACD
tetradic
#CD3D8A #CDC83D #3DCD80 #3D42CD
square
#CD3D8A #CDC83D #3DCD80 #3D42CD
split-complementary
#CD3D8A #42CD3D #3DCDC8
monochromatic
#721D4B #A32A6B #CD3D8A #DA6EA7 #E69EC5

Accessibility & contrast

On white

4.54
#CD3D8A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.63
#CD3D8A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD3D8A
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD3D8A#FFFFFF#000000##000000
##CD3D8A1.004.544.634.63
#FFFFFF4.541.0021.0021.00
#0000004.6321.001.001.00
##0000004.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#55668C
Deuteranopia (green-blind)
#7D8087
Tritanopia (blue-blind)
#DC335E
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #cd3d8a;
/* rgb */ color: rgb(205, 61, 138);
/* oklch */ color: oklch(59.2% 0.194 351.8);
Tailwind
colors: {
  custom: {
    50: '#e17eac',
    500: '#cd3d8a',
    950: '#000000',
  },
}
SCSS
$custom: #cd3d8a;
$custom-light: #e17eac;
$custom-dark: #000000;
JSON
{
  "hex": "#cd3d8a",
  "rgb": {
    "r": 205,
    "g": 61,
    "b": 138
  },
  "hsl": {
    "h": 327.917,
    "s": 59.016,
    "l": 52.157
  },
  "oklch": {
    "l": 0.59176,
    "c": 0.1935,
    "h": 351.8
  },
  "luminance": 0.18152
}

Semantic roles & 50–950 ramp

primary
#CD3D8A
secondary
#93D2B1
accent
#E28E46
background
#FEF8FA
surface
#FDEFF4
border
#D5CACE
text
#160B10
muted
#847C7F

Preview Lab

Preview with #CD3D8A

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

Preview Lab → · Contrast checker → · Palette generator →

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