#CD3F8E#CD3F8E

#CD3F8E is a mid, vivid pink. Relative luminance 0.185; OKLCH L 59.5% C 0.193 H 350.3°. Best body text is #000000 at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#CD3F8E
RGBrgb(205, 63, 142)
HSLhsl(327, 59%, 53%)
HSVhsv(327, 69%, 80%)
CMYKcmyk(0%, 69.3%, 30.7%, 19.6%)
CIE-LABlab(50.09, 62.40, -12.45)
CIE-LCHlch(50.09, 63.63, 348.72°)
OKLaboklab(59.52% 0.1903 -0.0324)
OKLCHoklch(59.52% 0.193 350.3)
XYZxyz(31.8385, 18.4907, 27.4783)
Luminance0.1849 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD3F8E #3FCD7E
analogous
#C53FCD #CD3F8E #CD3F47
triadic
#CD3F8E #8ECD3F #3F8ECD
tetradic
#CD3F8E #CDC53F #3FCD7E #3F47CD
square
#CD3F8E #CDC53F #3FCD7E #3F47CD
split-complementary
#CD3F8E #47CD3F #3FCDC5
monochromatic
#741E4E #A42B6E #CD3F8E #DA70AB #E6A0C7

Accessibility & contrast

On white

4.47
#CD3F8E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.70
#CD3F8E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD3F8E
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD3F8E#FFFFFF#000000##000000
##CD3F8E1.004.474.704.70
#FFFFFF4.471.0021.0021.00
#0000004.7021.001.001.00
##0000004.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#556790
Deuteranopia (green-blind)
#7D808B
Tritanopia (blue-blind)
#DC3761
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #cd3f8e;
/* rgb */ color: rgb(205, 63, 142);
/* oklch */ color: oklch(59.5% 0.193 350.3);
Tailwind
colors: {
  custom: {
    50: '#e17faf',
    500: '#cd3f8e',
    950: '#000000',
  },
}
SCSS
$custom: #cd3f8e;
$custom-light: #e17faf;
$custom-dark: #000000;
JSON
{
  "hex": "#cd3f8e",
  "rgb": {
    "r": 205,
    "g": 63,
    "b": 142
  },
  "hsl": {
    "h": 326.62,
    "s": 58.678,
    "l": 52.549
  },
  "oklch": {
    "l": 0.59517,
    "c": 0.19305,
    "h": 350.3
  },
  "luminance": 0.18487
}

Semantic roles & 50–950 ramp

primary
#CD3F8E
secondary
#95D3B0
accent
#E28B46
background
#FEF8FA
surface
#FDEFF4
border
#D5CACE
text
#160B10
muted
#847C7F

Preview Lab

Preview with #CD3F8E

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

Preview Lab → · Contrast checker → · Palette generator →

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