#CD37B2#CD37B2

#CD37B2 is a mid, highly saturated pink. Relative luminance 0.189; OKLCH L 60.4% C 0.224 H 336.4°. Best body text is #000000 at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#CD37B2
RGBrgb(205, 55, 178)
HSLhsl(311, 60%, 51%)
HSVhsv(311, 73%, 80%)
CMYKcmyk(0%, 73.2%, 13.2%, 19.6%)
CIE-LABlab(50.60, 69.85, -32.97)
CIE-LCHlch(50.60, 77.24, 334.74°)
OKLaboklab(60.38% 0.2051 -0.0898)
OKLCHoklch(60.38% 0.224 336.4)
XYZxyz(34.5795, 18.9290, 43.9433)
Luminance0.1893 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD37B2 #37CD52
analogous
#9D37CD #CD37B2 #CD3767
triadic
#CD37B2 #B2CD37 #37B2CD
tetradic
#CD37B2 #CD9D37 #37CD52 #3767CD
square
#CD37B2 #CD9D37 #37CD52 #3767CD
split-complementary
#CD37B2 #67CD37 #37CD9D
monochromatic
#6E1C5F #9F288A #CD37B2 #D968C5 #E599D8

Accessibility & contrast

On white

4.39
#CD37B2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.79
#CD37B2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD37B2
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD37B2#FFFFFF#000000##000000
##CD37B21.004.394.794.79
#FFFFFF4.391.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3A6AB5
Deuteranopia (green-blind)
#6E81AE
Tritanopia (blue-blind)
#D84171
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #cd37b2;
/* rgb */ color: rgb(205, 55, 178);
/* oklch */ color: oklch(60.4% 0.224 336.4);
Tailwind
colors: {
  custom: {
    50: '#e07cc9',
    500: '#cd37b2',
    950: '#000000',
  },
}
SCSS
$custom: #cd37b2;
$custom-light: #e07cc9;
$custom-dark: #000000;
JSON
{
  "hex": "#cd37b2",
  "rgb": {
    "r": 205,
    "g": 55,
    "b": 178
  },
  "hsl": {
    "h": 310.8,
    "s": 60,
    "l": 50.98
  },
  "oklch": {
    "l": 0.60381,
    "c": 0.22394,
    "h": 336.4
  },
  "luminance": 0.18926
}

Semantic roles & 50–950 ramp

primary
#CD37B2
secondary
#8FD19B
accent
#E36145
background
#FEF8FC
surface
#FCEFF8
border
#D5CAD1
text
#160B13
muted
#847C82

Preview Lab

Preview with #CD37B2

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

Preview Lab → · Contrast checker → · Palette generator →

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