#CD3E8A#CD3E8A

#CD3E8A is a mid, vivid pink. Relative luminance 0.183; OKLCH L 59.3% C 0.192 H 351.9°. Best body text is #000000 at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#CD3E8A
RGBrgb(205, 62, 138)
HSLhsl(328, 59%, 52%)
HSVhsv(328, 70%, 80%)
CMYKcmyk(0%, 69.8%, 32.7%, 19.6%)
CIE-LABlab(49.81, 62.29, -10.46)
CIE-LCHlch(49.81, 63.17, 350.47°)
OKLaboklab(59.27% 0.1904 -0.027)
OKLCHoklch(59.27% 0.192 351.9)
XYZxyz(31.4886, 18.2629, 25.9067)
Luminance0.1826 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD3E8A #3ECD81
analogous
#C93ECD #CD3E8A #CD3E42
triadic
#CD3E8A #8ACD3E #3E8ACD
tetradic
#CD3E8A #CDC93E #3ECD81 #3E42CD
square
#CD3E8A #CDC93E #3ECD81 #3E42CD
split-complementary
#CD3E8A #42CD3E #3ECDC9
monochromatic
#731E4B #A32A6B #CD3E8A #DA6FA7 #E69FC5

Accessibility & contrast

On white

4.51
#CD3E8A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.65
#CD3E8A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD3E8A
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD3E8A#FFFFFF#000000##000000
##CD3E8A1.004.514.654.65
#FFFFFF4.511.0021.0021.00
#0000004.6521.001.001.00
##0000004.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#55668C
Deuteranopia (green-blind)
#7E8087
Tritanopia (blue-blind)
#DC345F
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #cd3e8a;
/* rgb */ color: rgb(205, 62, 138);
/* oklch */ color: oklch(59.3% 0.192 351.9);
Tailwind
colors: {
  custom: {
    50: '#e17eac',
    500: '#cd3e8a',
    950: '#000000',
  },
}
SCSS
$custom: #cd3e8a;
$custom-light: #e17eac;
$custom-dark: #000000;
JSON
{
  "hex": "#cd3e8a",
  "rgb": {
    "r": 205,
    "g": 62,
    "b": 138
  },
  "hsl": {
    "h": 328.112,
    "s": 58.848,
    "l": 52.353
  },
  "oklch": {
    "l": 0.59271,
    "c": 0.1923,
    "h": 351.9
  },
  "luminance": 0.18259
}

Semantic roles & 50–950 ramp

primary
#CD3E8A
secondary
#94D3B1
accent
#E28F46
background
#FEF8FA
surface
#FDEFF4
border
#D5CACE
text
#160B10
muted
#847C7F

Preview Lab

Preview with #CD3E8A

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

Preview Lab → · Contrast checker → · Palette generator →

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