#CD39A8#CD39A8

#CD39A8 is a mid, highly saturated pink. Relative luminance 0.187; OKLCH L 60.1% C 0.215 H 339.9°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#CD39A8
RGBrgb(205, 57, 168)
HSLhsl(315, 60%, 51%)
HSVhsv(315, 72%, 80%)
CMYKcmyk(0%, 72.2%, 18%, 19.6%)
CIE-LABlab(50.38, 67.81, -27.45)
CIE-LCHlch(50.38, 73.16, 337.96°)
OKLaboklab(60.07% 0.202 -0.0741)
OKLCHoklch(60.07% 0.215 339.9)
XYZxyz(33.7087, 18.7358, 38.8793)
Luminance0.1873 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD39A8 #39CD5E
analogous
#A839CD #CD39A8 #CD395E
triadic
#CD39A8 #A8CD39 #39A8CD
tetradic
#CD39A8 #CDA839 #39CD5E #395ECD
square
#CD39A8 #CDA839 #39CD5E #395ECD
split-complementary
#CD39A8 #5ECD39 #39CDA8
monochromatic
#6F1C5B #A02882 #CD39A8 #D96ABD #E69BD3

Accessibility & contrast

On white

4.42
#CD39A8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.75
#CD39A8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD39A8
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD39A8#FFFFFF#000000##000000
##CD39A81.004.424.754.75
#FFFFFF4.421.0021.0021.00
#0000004.7521.001.001.00
##0000004.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4369AB
Deuteranopia (green-blind)
#7380A5
Tritanopia (blue-blind)
#D93E6C
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #cd39a8;
/* rgb */ color: rgb(205, 57, 168);
/* oklch */ color: oklch(60.1% 0.215 339.9);
Tailwind
colors: {
  custom: {
    50: '#e07dc2',
    500: '#cd39a8',
    950: '#000000',
  },
}
SCSS
$custom: #cd39a8;
$custom-light: #e07dc2;
$custom-dark: #000000;
JSON
{
  "hex": "#cd39a8",
  "rgb": {
    "r": 205,
    "g": 57,
    "b": 168
  },
  "hsl": {
    "h": 315,
    "s": 59.677,
    "l": 51.373
  },
  "oklch": {
    "l": 0.60068,
    "c": 0.21517,
    "h": 339.9
  },
  "luminance": 0.18733
}

Semantic roles & 50–950 ramp

primary
#CD39A8
secondary
#90D2A1
accent
#E36C45
background
#FEF8FB
surface
#FCEFF7
border
#D5CAD0
text
#160B12
muted
#847C81

Preview Lab

Preview with #CD39A8

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

Preview Lab → · Contrast checker → · Palette generator →

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