#CD39A7#CD39A7

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

Color values

HEX#CD39A7
RGBrgb(205, 57, 167)
HSLhsl(315, 60%, 51%)
HSVhsv(315, 72%, 80%)
CMYKcmyk(0%, 72.2%, 18.5%, 19.6%)
CIE-LABlab(50.33, 67.68, -26.93)
CIE-LCHlch(50.33, 72.84, 338.31°)
OKLaboklab(60.02% 0.2019 -0.0726)
OKLCHoklch(60.02% 0.215 340.2)
XYZxyz(33.6159, 18.6987, 38.3905)
Luminance0.1870 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD39A7 #39CD5F
analogous
#A939CD #CD39A7 #CD395D
triadic
#CD39A7 #A7CD39 #39A7CD
tetradic
#CD39A7 #CDA939 #39CD5F #395DCD
square
#CD39A7 #CDA939 #39CD5F #395DCD
split-complementary
#CD39A7 #5DCD39 #39CDA9
monochromatic
#6F1C5A #A02882 #CD39A7 #D96ABD #E69BD2

Accessibility & contrast

On white

4.43
#CD39A7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.74
#CD39A7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD39A7
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD39A7#FFFFFF#000000##000000
##CD39A71.004.434.744.74
#FFFFFF4.431.0021.0021.00
#0000004.7421.001.001.00
##0000004.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4369AA
Deuteranopia (green-blind)
#7380A4
Tritanopia (blue-blind)
#D93D6C
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #cd39a7;
/* rgb */ color: rgb(205, 57, 167);
/* oklch */ color: oklch(60.0% 0.215 340.2);
Tailwind
colors: {
  custom: {
    50: '#e07dc1',
    500: '#cd39a7',
    950: '#000000',
  },
}
SCSS
$custom: #cd39a7;
$custom-light: #e07dc1;
$custom-dark: #000000;
JSON
{
  "hex": "#cd39a7",
  "rgb": {
    "r": 205,
    "g": 57,
    "b": 167
  },
  "hsl": {
    "h": 315.405,
    "s": 59.677,
    "l": 51.373
  },
  "oklch": {
    "l": 0.60022,
    "c": 0.21453,
    "h": 340.2
  },
  "luminance": 0.18695
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CD39A7

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

Preview Lab → · Contrast checker → · Palette generator →

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