#CD3A8B#CD3A8B

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

Color values

HEX#CD3A8B
RGBrgb(205, 58, 139)
HSLhsl(327, 60%, 52%)
HSVhsv(327, 72%, 80%)
CMYKcmyk(0%, 71.7%, 32.2%, 19.6%)
CIE-LABlab(49.34, 63.83, -11.77)
CIE-LCHlch(49.34, 64.90, 349.55°)
OKLaboklab(58.94% 0.1951 -0.0305)
OKLCHoklch(58.94% 0.197 351.1)
XYZxyz(31.3518, 17.8729, 26.2199)
Luminance0.1787 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD3A8B #3ACD7C
analogous
#C63ACD #CD3A8B #CD3A42
triadic
#CD3A8B #8BCD3A #3A8BCD
tetradic
#CD3A8B #CDC63A #3ACD7C #3A42CD
square
#CD3A8B #CDC63A #3ACD7C #3A42CD
split-complementary
#CD3A8B #42CD3A #3ACDC6
monochromatic
#701C4B #A1296B #CD3A8B #D96BA8 #E69CC4

Accessibility & contrast

On white

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

On black

4.57
#CD3A8B on #000000
AA ✓AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##CD3A8B#FFFFFF#000000##FFFFFF
##CD3A8B1.004.594.574.59
#FFFFFF4.591.0021.001.00
#0000004.5721.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#52658D
Deuteranopia (green-blind)
#7C7F88
Tritanopia (blue-blind)
#DC305D
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #cd3a8b;
/* rgb */ color: rgb(205, 58, 139);
/* oklch */ color: oklch(58.9% 0.197 351.1);
Tailwind
colors: {
  custom: {
    50: '#e17cac',
    500: '#cd3a8b',
    950: '#000000',
  },
}
SCSS
$custom: #cd3a8b;
$custom-light: #e17cac;
$custom-dark: #000000;
JSON
{
  "hex": "#cd3a8b",
  "rgb": {
    "r": 205,
    "g": 58,
    "b": 139
  },
  "hsl": {
    "h": 326.939,
    "s": 59.514,
    "l": 51.569
  },
  "oklch": {
    "l": 0.58937,
    "c": 0.19748,
    "h": 351.1
  },
  "luminance": 0.17869
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CD3A8B

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

Preview Lab → · Contrast checker → · Palette generator →

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