#CD3E8C#CD3E8C

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

Color values

HEX#CD3E8C
RGBrgb(205, 62, 140)
HSLhsl(327, 59%, 52%)
HSVhsv(327, 70%, 80%)
CMYKcmyk(0%, 69.8%, 31.7%, 19.6%)
CIE-LABlab(49.88, 62.53, -11.55)
CIE-LCHlch(49.88, 63.58, 349.53°)
OKLaboklab(59.35% 0.1909 -0.03)
OKLCHoklch(59.35% 0.193 351.1)
XYZxyz(31.6348, 18.3214, 26.6763)
Luminance0.1832 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD3E8C #3ECD7F
analogous
#C73ECD #CD3E8C #CD3E44
triadic
#CD3E8C #8CCD3E #3E8CCD
tetradic
#CD3E8C #CDC73E #3ECD7F #3E44CD
square
#CD3E8C #CDC73E #3ECD7F #3E44CD
split-complementary
#CD3E8C #44CD3E #3ECDC7
monochromatic
#731E4C #A32A6C #CD3E8C #DA6FA9 #E69FC6

Accessibility & contrast

On white

4.50
#CD3E8C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.66
#CD3E8C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD3E8C
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD3E8C#FFFFFF#000000##000000
##CD3E8C1.004.504.664.66
#FFFFFF4.501.0021.0021.00
#0000004.6621.001.001.00
##0000004.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#55668E
Deuteranopia (green-blind)
#7D8089
Tritanopia (blue-blind)
#DC3560
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #cd3e8c;
/* rgb */ color: rgb(205, 62, 140);
/* oklch */ color: oklch(59.3% 0.193 351.1);
Tailwind
colors: {
  custom: {
    50: '#e17ead',
    500: '#cd3e8c',
    950: '#000000',
  },
}
SCSS
$custom: #cd3e8c;
$custom-light: #e17ead;
$custom-dark: #000000;
JSON
{
  "hex": "#cd3e8c",
  "rgb": {
    "r": 205,
    "g": 62,
    "b": 140
  },
  "hsl": {
    "h": 327.273,
    "s": 58.848,
    "l": 52.353
  },
  "oklch": {
    "l": 0.59346,
    "c": 0.19327,
    "h": 351.1
  },
  "luminance": 0.18318
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CD3E8C

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

Preview Lab → · Contrast checker → · Palette generator →

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