#CD37A7#CD37A7

#CD37A7 is a mid, highly saturated pink. Relative luminance 0.185; OKLCH L 59.9% C 0.217 H 340.1°. Best body text is #000000 at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#CD37A7
RGBrgb(205, 55, 167)
HSLhsl(315, 60%, 51%)
HSVhsv(315, 73%, 80%)
CMYKcmyk(0%, 73.2%, 18.5%, 19.6%)
CIE-LABlab(50.10, 68.33, -27.28)
CIE-LCHlch(50.10, 73.57, 338.23°)
OKLaboklab(59.86% 0.2038 -0.0736)
OKLCHoklch(59.86% 0.217 340.1)
XYZxyz(33.5190, 18.5048, 38.3582)
Luminance0.1850 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD37A7 #37CD5D
analogous
#A837CD #CD37A7 #CD375C
triadic
#CD37A7 #A7CD37 #37A7CD
tetradic
#CD37A7 #CDA837 #37CD5D #375CCD
square
#CD37A7 #CDA837 #37CD5D #375CCD
split-complementary
#CD37A7 #5CCD37 #37CDA8
monochromatic
#6E1C59 #9F2881 #CD37A7 #D968BD #E599D2

Accessibility & contrast

On white

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

On black

4.70
#CD37A7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD37A7
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD37A7#FFFFFF#000000##000000
##CD37A71.004.474.704.70
#FFFFFF4.471.0021.0021.00
#0000004.7021.001.001.00
##0000004.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4268AA
Deuteranopia (green-blind)
#7280A4
Tritanopia (blue-blind)
#D93C6B
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #cd37a7;
/* rgb */ color: rgb(205, 55, 167);
/* oklch */ color: oklch(59.9% 0.217 340.1);
Tailwind
colors: {
  custom: {
    50: '#e07cc1',
    500: '#cd37a7',
    950: '#000000',
  },
}
SCSS
$custom: #cd37a7;
$custom-light: #e07cc1;
$custom-dark: #000000;
JSON
{
  "hex": "#cd37a7",
  "rgb": {
    "r": 205,
    "g": 55,
    "b": 167
  },
  "hsl": {
    "h": 315.2,
    "s": 60,
    "l": 50.98
  },
  "oklch": {
    "l": 0.59855,
    "c": 0.21672,
    "h": 340.1
  },
  "luminance": 0.18502
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CD37A7

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

Preview Lab → · Contrast checker → · Palette generator →

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