#CD37A6#CD37A6

#CD37A6 is a mid, highly saturated pink. Relative luminance 0.185; OKLCH L 59.8% C 0.216 H 340.5°. Best body text is #000000 at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#CD37A6
RGBrgb(205, 55, 166)
HSLhsl(316, 60%, 51%)
HSVhsv(316, 73%, 80%)
CMYKcmyk(0%, 73.2%, 19%, 19.6%)
CIE-LABlab(50.06, 68.19, -26.76)
CIE-LCHlch(50.06, 73.26, 338.57°)
OKLaboklab(59.81% 0.2037 -0.0722)
OKLCHoklch(59.81% 0.216 340.5)
XYZxyz(33.4269, 18.4680, 37.8733)
Luminance0.1847 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD37A6 #37CD5E
analogous
#A937CD #CD37A6 #CD375B
triadic
#CD37A6 #A6CD37 #37A6CD
tetradic
#CD37A6 #CDA937 #37CD5E #375BCD
square
#CD37A6 #CDA937 #37CD5E #375BCD
split-complementary
#CD37A6 #5BCD37 #37CDA9
monochromatic
#6E1C59 #9F2880 #CD37A6 #D968BC #E599D2

Accessibility & contrast

On white

4.47
#CD37A6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.69
#CD37A6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD37A6
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD37A6#FFFFFF#000000##000000
##CD37A61.004.474.694.69
#FFFFFF4.471.0021.0021.00
#0000004.6921.001.001.00
##0000004.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4268A9
Deuteranopia (green-blind)
#7380A3
Tritanopia (blue-blind)
#D93B6A
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #cd37a6;
/* rgb */ color: rgb(205, 55, 166);
/* oklch */ color: oklch(59.8% 0.216 340.5);
Tailwind
colors: {
  custom: {
    50: '#e07cc0',
    500: '#cd37a6',
    950: '#000000',
  },
}
SCSS
$custom: #cd37a6;
$custom-light: #e07cc0;
$custom-dark: #000000;
JSON
{
  "hex": "#cd37a6",
  "rgb": {
    "r": 205,
    "g": 55,
    "b": 166
  },
  "hsl": {
    "h": 315.6,
    "s": 60,
    "l": 50.98
  },
  "oklch": {
    "l": 0.59809,
    "c": 0.21609,
    "h": 340.5
  },
  "luminance": 0.18465
}

Semantic roles & 50–950 ramp

primary
#CD37A6
secondary
#8FD1A0
accent
#E36E45
background
#FEF8FB
surface
#FDEFF7
border
#D5CAD0
text
#160B12
muted
#847C81

Preview Lab

Preview with #CD37A6

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

Preview Lab → · Contrast checker → · Palette generator →

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