#CD3A6F#CD3A6F

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

Color values

HEX#CD3A6F
RGBrgb(205, 58, 111)
HSLhsl(338, 60%, 52%)
HSVhsv(338, 72%, 80%)
CMYKcmyk(0%, 71.7%, 45.9%, 19.6%)
CIE-LABlab(48.46, 60.93, 3.88)
CIE-LCHlch(48.46, 61.06, 3.65°)
OKLaboklab(58% 0.1865 0.0106)
OKLCHoklch(58% 0.187 3.3)
XYZxyz(29.5615, 17.1568, 16.7908)
Luminance0.1715 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD3A6F #3ACD98
analogous
#CD3AB9 #CD3A6F #CD4F3A
triadic
#CD3A6F #6FCD3A #3A6FCD
tetradic
#CD3A6F #B9CD3A #3ACD98 #4F3ACD
square
#CD3A6F #B9CD3A #3ACD98 #4F3ACD
split-complementary
#CD3A6F #3ACD4F #3AB9CD
monochromatic
#701C3B #A12954 #CD3A6F #D96B93 #E69CB6

Accessibility & contrast

On white

4.74
#CD3A6F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#CD3A6F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #CD3A6F
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD3A6F#FFFFFF#000000##FFFFFF
##CD3A6F1.004.744.434.74
#FFFFFF4.741.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B6170
Deuteranopia (green-blind)
#827E6C
Tritanopia (blue-blind)
#DF2150
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #cd3a6f;
/* rgb */ color: rgb(205, 58, 111);
/* oklch */ color: oklch(58.0% 0.187 3.3);
Tailwind
colors: {
  custom: {
    50: '#e27c98',
    500: '#cd3a6f',
    950: '#000000',
  },
}
SCSS
$custom: #cd3a6f;
$custom-light: #e27c98;
$custom-dark: #000000;
JSON
{
  "hex": "#cd3a6f",
  "rgb": {
    "r": 205,
    "g": 58,
    "b": 111
  },
  "hsl": {
    "h": 338.367,
    "s": 59.514,
    "l": 51.569
  },
  "oklch": {
    "l": 0.57997,
    "c": 0.18681,
    "h": 3.3
  },
  "luminance": 0.17153
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CD3A6F

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

Preview Lab → · Contrast checker → · Palette generator →

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