#CD3C8C#CD3C8C

#CD3C8C is a mid, vivid pink. Relative luminance 0.181; OKLCH L 59.2% C 0.196 H 350.9°. Best body text is #000000 at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#CD3C8C
RGBrgb(205, 60, 140)
HSLhsl(327, 59%, 52%)
HSVhsv(327, 71%, 80%)
CMYKcmyk(0%, 70.7%, 31.7%, 19.6%)
CIE-LABlab(49.63, 63.24, -11.94)
CIE-LCHlch(49.63, 64.36, 349.31°)
OKLaboklab(59.16% 0.1932 -0.031)
OKLCHoklch(59.16% 0.196 350.9)
XYZxyz(31.5280, 18.1079, 26.6407)
Luminance0.1810 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD3C8C #3CCD7D
analogous
#C63CCD #CD3C8C #CD3C43
triadic
#CD3C8C #8CCD3C #3C8CCD
tetradic
#CD3C8C #CDC63C #3CCD7D #3C43CD
square
#CD3C8C #CDC63C #3CCD7D #3C43CD
split-complementary
#CD3C8C #43CD3C #3CCDC6
monochromatic
#711D4C #A22A6C #CD3C8C #D96DA9 #E69DC5

Accessibility & contrast

On white

4.54
#CD3C8C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.62
#CD3C8C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD3C8C
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD3C8C#FFFFFF#000000##000000
##CD3C8C1.004.544.624.62
#FFFFFF4.541.0021.0021.00
#0000004.6221.001.001.00
##0000004.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#53658E
Deuteranopia (green-blind)
#7D7F89
Tritanopia (blue-blind)
#DC335F
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #cd3c8c;
/* rgb */ color: rgb(205, 60, 140);
/* oklch */ color: oklch(59.2% 0.196 350.9);
Tailwind
colors: {
  custom: {
    50: '#e17dad',
    500: '#cd3c8c',
    950: '#000000',
  },
}
SCSS
$custom: #cd3c8c;
$custom-light: #e17dad;
$custom-dark: #000000;
JSON
{
  "hex": "#cd3c8c",
  "rgb": {
    "r": 205,
    "g": 60,
    "b": 140
  },
  "hsl": {
    "h": 326.897,
    "s": 59.184,
    "l": 51.961
  },
  "oklch": {
    "l": 0.59157,
    "c": 0.19565,
    "h": 350.9
  },
  "luminance": 0.18104
}

Semantic roles & 50–950 ramp

primary
#CD3C8C
secondary
#93D2AF
accent
#E28C45
background
#FEF8FA
surface
#FDEFF4
border
#D5CACE
text
#160B10
muted
#847C7F

Preview Lab

Preview with #CD3C8C

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

Preview Lab → · Contrast checker → · Palette generator →

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