#CD3A8E#CD3A8E

#CD3A8E is a mid, vivid pink. Relative luminance 0.180; OKLCH L 59.1% C 0.199 H 349.9°. Best body text is #000000 at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#CD3A8E
RGBrgb(205, 58, 142)
HSLhsl(326, 60%, 52%)
HSVhsv(326, 72%, 80%)
CMYKcmyk(0%, 71.7%, 30.7%, 19.6%)
CIE-LABlab(49.45, 64.17, -13.41)
CIE-LCHlch(49.45, 65.56, 348.20°)
OKLaboklab(59.05% 0.1959 -0.035)
OKLCHoklch(59.05% 0.199 349.9)
XYZxyz(31.5740, 17.9618, 27.3902)
Luminance0.1796 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD3A8E #3ACD79
analogous
#C23ACD #CD3A8E #CD3A45
triadic
#CD3A8E #8ECD3A #3A8ECD
tetradic
#CD3A8E #CDC23A #3ACD79 #3A45CD
square
#CD3A8E #CDC23A #3ACD79 #3A45CD
split-complementary
#CD3A8E #45CD3A #3ACDC2
monochromatic
#701C4C #A1296D #CD3A8E #D96BAA #E69CC6

Accessibility & contrast

On white

4.57
#CD3A8E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.59
#CD3A8E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD3A8E
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD3A8E#FFFFFF#000000##000000
##CD3A8E1.004.574.594.59
#FFFFFF4.571.0021.0021.00
#0000004.5921.001.001.00
##0000004.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#516590
Deuteranopia (green-blind)
#7B7F8B
Tritanopia (blue-blind)
#DC325F
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #cd3a8e;
/* rgb */ color: rgb(205, 58, 142);
/* oklch */ color: oklch(59.1% 0.199 349.9);
Tailwind
colors: {
  custom: {
    50: '#e17caf',
    500: '#cd3a8e',
    950: '#000000',
  },
}
SCSS
$custom: #cd3a8e;
$custom-light: #e17caf;
$custom-dark: #000000;
JSON
{
  "hex": "#cd3a8e",
  "rgb": {
    "r": 205,
    "g": 58,
    "b": 142
  },
  "hsl": {
    "h": 325.714,
    "s": 59.514,
    "l": 51.569
  },
  "oklch": {
    "l": 0.59051,
    "c": 0.19897,
    "h": 349.9
  },
  "luminance": 0.17958
}

Semantic roles & 50–950 ramp

primary
#CD3A8E
secondary
#91D2AD
accent
#E38945
background
#FEF8FA
surface
#FDEFF4
border
#D5CACE
text
#160B10
muted
#847C7F

Preview Lab

Preview with #CD3A8E

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

Preview Lab → · Contrast checker → · Palette generator →

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