#CD3F8C#CD3F8C

#CD3F8C is a mid, vivid pink. Relative luminance 0.184; OKLCH L 59.4% C 0.192 H 351.2°. Best body text is #000000 at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#CD3F8C
RGBrgb(205, 63, 140)
HSLhsl(327, 59%, 53%)
HSVhsv(327, 69%, 80%)
CMYKcmyk(0%, 69.3%, 31.7%, 19.6%)
CIE-LABlab(50.02, 62.16, -11.36)
CIE-LCHlch(50.02, 63.19, 349.65°)
OKLaboklab(59.44% 0.1898 -0.0294)
OKLCHoklch(59.44% 0.192 351.2)
XYZxyz(31.6897, 18.4312, 26.6946)
Luminance0.1843 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD3F8C #3FCD80
analogous
#C73FCD #CD3F8C #CD3F45
triadic
#CD3F8C #8CCD3F #3F8CCD
tetradic
#CD3F8C #CDC73F #3FCD80 #3F45CD
square
#CD3F8C #CDC73F #3FCD80 #3F45CD
split-complementary
#CD3F8C #45CD3F #3FCDC7
monochromatic
#741E4C #A42B6D #CD3F8C #DA70A9 #E6A0C6

Accessibility & contrast

On white

4.48
#CD3F8C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.69
#CD3F8C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD3F8C
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD3F8C#FFFFFF#000000##000000
##CD3F8C1.004.484.694.69
#FFFFFF4.481.0021.0021.00
#0000004.6921.001.001.00
##0000004.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#55678E
Deuteranopia (green-blind)
#7E8089
Tritanopia (blue-blind)
#DC3660
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #cd3f8c;
/* rgb */ color: rgb(205, 63, 140);
/* oklch */ color: oklch(59.4% 0.192 351.2);
Tailwind
colors: {
  custom: {
    50: '#e17fad',
    500: '#cd3f8c',
    950: '#000000',
  },
}
SCSS
$custom: #cd3f8c;
$custom-light: #e17fad;
$custom-dark: #000000;
JSON
{
  "hex": "#cd3f8c",
  "rgb": {
    "r": 205,
    "g": 63,
    "b": 140
  },
  "hsl": {
    "h": 327.465,
    "s": 58.678,
    "l": 52.549
  },
  "oklch": {
    "l": 0.59442,
    "c": 0.19206,
    "h": 351.2
  },
  "luminance": 0.18428
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CD3F8C

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

Preview Lab → · Contrast checker → · Palette generator →

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