#CD3B8A#CD3B8A

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

Color values

HEX#CD3B8A
RGBrgb(205, 59, 138)
HSLhsl(328, 59%, 52%)
HSVhsv(328, 71%, 80%)
CMYKcmyk(0%, 71.2%, 32.7%, 19.6%)
CIE-LABlab(49.43, 63.36, -11.04)
CIE-LCHlch(49.43, 64.32, 350.12°)
OKLaboklab(58.99% 0.1938 -0.0285)
OKLCHoklch(58.99% 0.196 351.6)
XYZxyz(31.3300, 17.9456, 25.8538)
Luminance0.1794 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD3B8A #3BCD7E
analogous
#C73BCD #CD3B8A #CD3B41
triadic
#CD3B8A #8ACD3B #3B8ACD
tetradic
#CD3B8A #CDC73B #3BCD7E #3B41CD
square
#CD3B8A #CDC73B #3BCD7E #3B41CD
split-complementary
#CD3B8A #41CD3B #3BCDC7
monochromatic
#711D4A #A2296A #CD3B8A #D96CA7 #E69DC4

Accessibility & contrast

On white

4.58
#CD3B8A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##CD3B8A#FFFFFF#000000##000000
##CD3B8A1.004.584.594.59
#FFFFFF4.581.0021.0021.00
#0000004.5921.001.001.00
##0000004.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#53658C
Deuteranopia (green-blind)
#7D7F87
Tritanopia (blue-blind)
#DC315D
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #cd3b8a;
/* rgb */ color: rgb(205, 59, 138);
/* oklch */ color: oklch(59.0% 0.196 351.6);
Tailwind
colors: {
  custom: {
    50: '#e17dac',
    500: '#cd3b8a',
    950: '#000000',
  },
}
SCSS
$custom: #cd3b8a;
$custom-light: #e17dac;
$custom-dark: #000000;
JSON
{
  "hex": "#cd3b8a",
  "rgb": {
    "r": 205,
    "g": 59,
    "b": 138
  },
  "hsl": {
    "h": 327.534,
    "s": 59.35,
    "l": 51.765
  },
  "oklch": {
    "l": 0.5899,
    "c": 0.19585,
    "h": 351.6
  },
  "luminance": 0.17942
}

Semantic roles & 50–950 ramp

primary
#CD3B8A
secondary
#92D2AF
accent
#E38D45
background
#FEF8FA
surface
#FDEFF4
border
#D5CACE
text
#160B10
muted
#847C7F

Preview Lab

Preview with #CD3B8A

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

Preview Lab → · Contrast checker → · Palette generator →

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