#CD3A71#CD3A71

#CD3A71 is a mid, vivid pink. Relative luminance 0.172; OKLCH L 58.1% C 0.187 H 2.4°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#CD3A71
RGBrgb(205, 58, 113)
HSLhsl(338, 60%, 52%)
HSVhsv(338, 72%, 80%)
CMYKcmyk(0%, 71.7%, 44.9%, 19.6%)
CIE-LABlab(48.51, 61.12, 2.74)
CIE-LCHlch(48.51, 61.18, 2.57°)
OKLaboklab(58.06% 0.1872 0.0077)
OKLCHoklch(58.06% 0.187 2.4)
XYZxyz(29.6728, 17.2013, 17.3772)
Luminance0.1720 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD3A71 #3ACD96
analogous
#CD3ABB #CD3A71 #CD4D3A
triadic
#CD3A71 #71CD3A #3A71CD
tetradic
#CD3A71 #BBCD3A #3ACD96 #4D3ACD
square
#CD3A71 #BBCD3A #3ACD96 #4D3ACD
split-complementary
#CD3A71 #3ACD4D #3ABBCD
monochromatic
#701C3C #A12956 #CD3A71 #D96B94 #E69CB7

Accessibility & contrast

On white

4.73
#CD3A71 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#CD3A71 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #CD3A71
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD3A71#FFFFFF#000000##FFFFFF
##CD3A711.004.734.444.73
#FFFFFF4.731.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B6172
Deuteranopia (green-blind)
#827E6E
Tritanopia (blue-blind)
#DE2251
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #cd3a71;
/* rgb */ color: rgb(205, 58, 113);
/* oklch */ color: oklch(58.1% 0.187 2.4);
Tailwind
colors: {
  custom: {
    50: '#e27c99',
    500: '#cd3a71',
    950: '#000000',
  },
}
SCSS
$custom: #cd3a71;
$custom-light: #e27c99;
$custom-dark: #000000;
JSON
{
  "hex": "#cd3a71",
  "rgb": {
    "r": 205,
    "g": 58,
    "b": 113
  },
  "hsl": {
    "h": 337.551,
    "s": 59.514,
    "l": 51.569
  },
  "oklch": {
    "l": 0.58056,
    "c": 0.18736,
    "h": 2.4
  },
  "luminance": 0.17198
}

Semantic roles & 50–950 ramp

primary
#CD3A71
secondary
#91D2BA
accent
#E3A845
background
#FEF8F9
surface
#FDEFF2
border
#D5CACC
text
#160A0D
muted
#847C7E

Preview Lab

Preview with #CD3A71

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

Preview Lab → · Contrast checker → · Palette generator →

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