#CD3A7F#CD3A7F

#CD3A7F is a mid, vivid pink. Relative luminance 0.175; OKLCH L 58.5% C 0.192 H 356.2°. Best body text is #FFFFFF at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#CD3A7F
RGBrgb(205, 58, 127)
HSLhsl(332, 60%, 52%)
HSVhsv(332, 72%, 80%)
CMYKcmyk(0%, 71.7%, 38%, 19.6%)
CIE-LABlab(48.94, 62.51, -5.14)
CIE-LCHlch(48.94, 62.72, 355.30°)
OKLaboklab(58.51% 0.1917 -0.0127)
OKLCHoklch(58.51% 0.192 356.2)
XYZxyz(30.5227, 17.5413, 21.8530)
Luminance0.1754 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD3A7F #3ACD88
analogous
#CD3AC8 #CD3A7F #CD3F3A
triadic
#CD3A7F #7FCD3A #3A7FCD
tetradic
#CD3A7F #C8CD3A #3ACD88 #3F3ACD
square
#CD3A7F #C8CD3A #3ACD88 #3F3ACD
split-complementary
#CD3A7F #3ACD3F #3AC8CD
monochromatic
#701C44 #A12961 #CD3A7F #D96B9F #E69CBE

Accessibility & contrast

On white

4.66
#CD3A7F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.51
#CD3A7F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #CD3A7F
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD3A7F#FFFFFF#000000##FFFFFF
##CD3A7F1.004.664.514.66
#FFFFFF4.661.0021.001.00
#0000004.5121.001.0021.00
##FFFFFF4.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#566381
Deuteranopia (green-blind)
#7F7E7C
Tritanopia (blue-blind)
#DD2A58
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #cd3a7f;
/* rgb */ color: rgb(205, 58, 127);
/* oklch */ color: oklch(58.5% 0.192 356.2);
Tailwind
colors: {
  custom: {
    50: '#e17ca4',
    500: '#cd3a7f',
    950: '#000000',
  },
}
SCSS
$custom: #cd3a7f;
$custom-light: #e17ca4;
$custom-dark: #000000;
JSON
{
  "hex": "#cd3a7f",
  "rgb": {
    "r": 205,
    "g": 58,
    "b": 127
  },
  "hsl": {
    "h": 331.837,
    "s": 59.514,
    "l": 51.569
  },
  "oklch": {
    "l": 0.58505,
    "c": 0.19215,
    "h": 356.2
  },
  "luminance": 0.17538
}

Semantic roles & 50–950 ramp

primary
#CD3A7F
secondary
#91D2B3
accent
#E39945
background
#FEF8FA
surface
#FDEFF3
border
#D5CACD
text
#160A0F
muted
#847C7F

Preview Lab

Preview with #CD3A7F

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

Preview Lab → · Contrast checker → · Palette generator →

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