#CD39B2#CD39B2

#CD39B2 is a mid, highly saturated pink. Relative luminance 0.191; OKLCH L 60.5% C 0.222 H 336.4°. Best body text is #000000 at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#CD39B2
RGBrgb(205, 57, 178)
HSLhsl(311, 60%, 51%)
HSVhsv(311, 72%, 80%)
CMYKcmyk(0%, 72.2%, 13.2%, 19.6%)
CIE-LABlab(50.83, 69.21, -32.61)
CIE-LCHlch(50.83, 76.51, 334.77°)
OKLaboklab(60.55% 0.2032 -0.0888)
OKLCHoklch(60.55% 0.222 336.4)
XYZxyz(34.6764, 19.1229, 43.9757)
Luminance0.1912 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD39B2 #39CD54
analogous
#9E39CD #CD39B2 #CD3968
triadic
#CD39B2 #B2CD39 #39B2CD
tetradic
#CD39B2 #CD9E39 #39CD54 #3968CD
square
#CD39B2 #CD9E39 #39CD54 #3968CD
split-complementary
#CD39B2 #68CD39 #39CD9E
monochromatic
#6F1C60 #A0288A #CD39B2 #D96AC5 #E69BD8

Accessibility & contrast

On white

4.35
#CD39B2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.82
#CD39B2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD39B2
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD39B2#FFFFFF#000000##000000
##CD39B21.004.354.824.82
#FFFFFF4.351.0021.0021.00
#0000004.8221.001.001.00
##0000004.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#3C6BB5
Deuteranopia (green-blind)
#6F81AE
Tritanopia (blue-blind)
#D84371
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #cd39b2;
/* rgb */ color: rgb(205, 57, 178);
/* oklch */ color: oklch(60.5% 0.222 336.4);
Tailwind
colors: {
  custom: {
    50: '#e07dc9',
    500: '#cd39b2',
    950: '#000000',
  },
}
SCSS
$custom: #cd39b2;
$custom-light: #e07dc9;
$custom-dark: #000000;
JSON
{
  "hex": "#cd39b2",
  "rgb": {
    "r": 205,
    "g": 57,
    "b": 178
  },
  "hsl": {
    "h": 310.946,
    "s": 59.677,
    "l": 51.373
  },
  "oklch": {
    "l": 0.60545,
    "c": 0.22178,
    "h": 336.4
  },
  "luminance": 0.1912
}

Semantic roles & 50–950 ramp

primary
#CD39B2
secondary
#90D29C
accent
#E36245
background
#FEF8FC
surface
#FCEFF8
border
#D5CAD1
text
#160B13
muted
#847C82

Preview Lab

Preview with #CD39B2

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

Preview Lab → · Contrast checker → · Palette generator →

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