#CD37A1#CD37A1

#CD37A1 is a mid, highly saturated pink. Relative luminance 0.183; OKLCH L 59.6% C 0.213 H 342.3°. Best body text is #000000 at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#CD37A1
RGBrgb(205, 55, 161)
HSLhsl(318, 60%, 51%)
HSVhsv(318, 73%, 80%)
CMYKcmyk(0%, 73.2%, 21.5%, 19.6%)
CIE-LABlab(49.84, 67.53, -24.14)
CIE-LCHlch(49.84, 71.72, 340.33°)
OKLaboklab(59.58% 0.2029 -0.0647)
OKLCHoklch(59.58% 0.213 342.3)
XYZxyz(32.9772, 18.2881, 35.5045)
Luminance0.1829 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD37A1 #37CD63
analogous
#AE37CD #CD37A1 #CD3756
triadic
#CD37A1 #A1CD37 #37A1CD
tetradic
#CD37A1 #CDAE37 #37CD63 #3756CD
square
#CD37A1 #CDAE37 #37CD63 #3756CD
split-complementary
#CD37A1 #56CD37 #37CDAE
monochromatic
#6E1C56 #9F287C #CD37A1 #D968B8 #E599CF

Accessibility & contrast

On white

4.51
#CD37A1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.66
#CD37A1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD37A1
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD37A1#FFFFFF#000000##000000
##CD37A11.004.514.664.66
#FFFFFF4.511.0021.0021.00
#0000004.6621.001.001.00
##0000004.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4567A4
Deuteranopia (green-blind)
#747F9E
Tritanopia (blue-blind)
#DA3968
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #cd37a1;
/* rgb */ color: rgb(205, 55, 161);
/* oklch */ color: oklch(59.6% 0.213 342.3);
Tailwind
colors: {
  custom: {
    50: '#e07cbd',
    500: '#cd37a1',
    950: '#000000',
  },
}
SCSS
$custom: #cd37a1;
$custom-light: #e07cbd;
$custom-dark: #000000;
JSON
{
  "hex": "#cd37a1",
  "rgb": {
    "r": 205,
    "g": 55,
    "b": 161
  },
  "hsl": {
    "h": 317.6,
    "s": 60,
    "l": 50.98
  },
  "oklch": {
    "l": 0.59583,
    "c": 0.21299,
    "h": 342.3
  },
  "luminance": 0.18285
}

Semantic roles & 50–950 ramp

primary
#CD37A1
secondary
#8FD1A2
accent
#E37345
background
#FEF8FB
surface
#FDEFF6
border
#D5CAD0
text
#160B12
muted
#847C81

Preview Lab

Preview with #CD37A1

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

Preview Lab → · Contrast checker → · Palette generator →

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