#CD3E7A#CD3E7A

#CD3E7A is a mid, vivid pink. Relative luminance 0.178; OKLCH L 58.7% C 0.186 H 358.9°. Best body text is #FFFFFF at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#CD3E7A
RGBrgb(205, 62, 122)
HSLhsl(335, 59%, 52%)
HSVhsv(335, 70%, 80%)
CMYKcmyk(0%, 69.8%, 40.5%, 19.6%)
CIE-LABlab(49.29, 60.56, -1.58)
CIE-LCHlch(49.29, 60.58, 358.50°)
OKLaboklab(58.72% 0.1856 -0.0034)
OKLCHoklch(58.72% 0.186 358.9)
XYZxyz(30.4144, 17.8333, 20.2491)
Luminance0.1783 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD3E7A #3ECD91
analogous
#CD3EC2 #CD3E7A #CD493E
triadic
#CD3E7A #7ACD3E #3E7ACD
tetradic
#CD3E7A #C2CD3E #3ECD91 #493ECD
square
#CD3E7A #C2CD3E #3ECD91 #493ECD
split-complementary
#CD3E7A #3ECD49 #3EC2CD
monochromatic
#731E41 #A32A5D #CD3E7A #DA6F9B #E69FBD

Accessibility & contrast

On white

4.60
#CD3E7A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #CD3E7A
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD3E7A#FFFFFF#000000##FFFFFF
##CD3E7A1.004.604.574.60
#FFFFFF4.601.0021.001.00
#0000004.5721.001.0021.00
##FFFFFF4.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B647C
Deuteranopia (green-blind)
#817F77
Tritanopia (blue-blind)
#DE2C57
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #cd3e7a;
/* rgb */ color: rgb(205, 62, 122);
/* oklch */ color: oklch(58.7% 0.186 358.9);
Tailwind
colors: {
  custom: {
    50: '#e17ea0',
    500: '#cd3e7a',
    950: '#000000',
  },
}
SCSS
$custom: #cd3e7a;
$custom-light: #e17ea0;
$custom-dark: #000000;
JSON
{
  "hex": "#cd3e7a",
  "rgb": {
    "r": 205,
    "g": 62,
    "b": 122
  },
  "hsl": {
    "h": 334.825,
    "s": 58.848,
    "l": 52.353
  },
  "oklch": {
    "l": 0.58718,
    "c": 0.18565,
    "h": 358.9
  },
  "luminance": 0.1783
}

Semantic roles & 50–950 ramp

primary
#CD3E7A
secondary
#94D3B8
accent
#E2A046
background
#FEF8F9
surface
#FDEFF2
border
#D5CACC
text
#160B0E
muted
#847C7E

Preview Lab

Preview with #CD3E7A

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

Preview Lab → · Contrast checker → · Palette generator →

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