#CD3A8C#CD3A8C

#CD3A8C is a mid, vivid pink. Relative luminance 0.179; OKLCH L 59.0% C 0.198 H 350.7°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#CD3A8C
RGBrgb(205, 58, 140)
HSLhsl(327, 60%, 52%)
HSVhsv(327, 72%, 80%)
CMYKcmyk(0%, 71.7%, 31.7%, 19.6%)
CIE-LABlab(49.38, 63.94, -12.32)
CIE-LCHlch(49.38, 65.12, 349.10°)
OKLaboklab(58.98% 0.1954 -0.032)
OKLCHoklch(58.98% 0.198 350.7)
XYZxyz(31.4252, 17.9023, 26.6064)
Luminance0.1790 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD3A8C #3ACD7B
analogous
#C53ACD #CD3A8C #CD3A43
triadic
#CD3A8C #8CCD3A #3A8CCD
tetradic
#CD3A8C #CDC53A #3ACD7B #3A43CD
square
#CD3A8C #CDC53A #3ACD7B #3A43CD
split-complementary
#CD3A8C #43CD3A #3ACDC5
monochromatic
#701C4B #A1296C #CD3A8C #D96BA8 #E69CC5

Accessibility & contrast

On white

4.59
#CD3A8C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.58
#CD3A8C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #CD3A8C
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD3A8C#FFFFFF#000000##FFFFFF
##CD3A8C1.004.594.584.59
#FFFFFF4.591.0021.001.00
#0000004.5821.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#52658E
Deuteranopia (green-blind)
#7C7F89
Tritanopia (blue-blind)
#DC315E
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #cd3a8c;
/* rgb */ color: rgb(205, 58, 140);
/* oklch */ color: oklch(59.0% 0.198 350.7);
Tailwind
colors: {
  custom: {
    50: '#e17cad',
    500: '#cd3a8c',
    950: '#000000',
  },
}
SCSS
$custom: #cd3a8c;
$custom-light: #e17cad;
$custom-dark: #000000;
JSON
{
  "hex": "#cd3a8c",
  "rgb": {
    "r": 205,
    "g": 58,
    "b": 140
  },
  "hsl": {
    "h": 326.531,
    "s": 59.514,
    "l": 51.569
  },
  "oklch": {
    "l": 0.58975,
    "c": 0.19798,
    "h": 350.7
  },
  "luminance": 0.17899
}

Semantic roles & 50–950 ramp

primary
#CD3A8C
secondary
#91D2AE
accent
#E38B45
background
#FEF8FA
surface
#FDEFF4
border
#D5CACE
text
#160B10
muted
#847C7F

Preview Lab

Preview with #CD3A8C

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

Preview Lab → · Contrast checker → · Palette generator →

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