#CD37B1#CD37B1

#CD37B1 is a mid, highly saturated pink. Relative luminance 0.189; OKLCH L 60.3% C 0.223 H 336.7°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#CD37B1
RGBrgb(205, 55, 177)
HSLhsl(311, 60%, 51%)
HSVhsv(311, 73%, 80%)
CMYKcmyk(0%, 73.2%, 13.7%, 19.6%)
CIE-LABlab(50.56, 69.71, -32.45)
CIE-LCHlch(50.56, 76.90, 335.04°)
OKLaboklab(60.33% 0.205 -0.0883)
OKLCHoklch(60.33% 0.223 336.7)
XYZxyz(34.4794, 18.8890, 43.4165)
Luminance0.1889 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD37B1 #37CD53
analogous
#9E37CD #CD37B1 #CD3766
triadic
#CD37B1 #B1CD37 #37B1CD
tetradic
#CD37B1 #CD9E37 #37CD53 #3766CD
square
#CD37B1 #CD9E37 #37CD53 #3766CD
split-complementary
#CD37B1 #66CD37 #37CD9E
monochromatic
#6E1C5F #9F2889 #CD37B1 #D968C4 #E599D7

Accessibility & contrast

On white

4.40
#CD37B1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.78
#CD37B1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD37B1
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD37B1#FFFFFF#000000##000000
##CD37B11.004.404.784.78
#FFFFFF4.401.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#3B6AB4
Deuteranopia (green-blind)
#6E80AD
Tritanopia (blue-blind)
#D84170
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #cd37b1;
/* rgb */ color: rgb(205, 55, 177);
/* oklch */ color: oklch(60.3% 0.223 336.7);
Tailwind
colors: {
  custom: {
    50: '#e07cc8',
    500: '#cd37b1',
    950: '#000000',
  },
}
SCSS
$custom: #cd37b1;
$custom-light: #e07cc8;
$custom-dark: #000000;
JSON
{
  "hex": "#cd37b1",
  "rgb": {
    "r": 205,
    "g": 55,
    "b": 177
  },
  "hsl": {
    "h": 311.2,
    "s": 60,
    "l": 50.98
  },
  "oklch": {
    "l": 0.60332,
    "c": 0.22326,
    "h": 336.7
  },
  "luminance": 0.18886
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CD37B1

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

Preview Lab → · Contrast checker → · Palette generator →

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