#CD37A8#CD37A8

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

Color values

HEX#CD37A8
RGBrgb(205, 55, 168)
HSLhsl(315, 60%, 51%)
HSVhsv(315, 73%, 80%)
CMYKcmyk(0%, 73.2%, 18%, 19.6%)
CIE-LABlab(50.15, 68.46, -27.80)
CIE-LCHlch(50.15, 73.89, 337.90°)
OKLaboklab(59.9% 0.204 -0.0751)
OKLCHoklch(59.9% 0.217 339.8)
XYZxyz(33.6118, 18.5420, 38.8470)
Luminance0.1854 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD37A8 #37CD5C
analogous
#A737CD #CD37A8 #CD375D
triadic
#CD37A8 #A8CD37 #37A8CD
tetradic
#CD37A8 #CDA737 #37CD5C #375DCD
square
#CD37A8 #CDA737 #37CD5C #375DCD
split-complementary
#CD37A8 #5DCD37 #37CDA7
monochromatic
#6E1C5A #9F2882 #CD37A8 #D968BD #E599D3

Accessibility & contrast

On white

4.46
#CD37A8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.71
#CD37A8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD37A8
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD37A8#FFFFFF#000000##000000
##CD37A81.004.464.714.71
#FFFFFF4.461.0021.0021.00
#0000004.7121.001.001.00
##0000004.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4168AB
Deuteranopia (green-blind)
#7280A5
Tritanopia (blue-blind)
#D93C6B
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #cd37a8;
/* rgb */ color: rgb(205, 55, 168);
/* oklch */ color: oklch(59.9% 0.217 339.8);
Tailwind
colors: {
  custom: {
    50: '#e07cc2',
    500: '#cd37a8',
    950: '#000000',
  },
}
SCSS
$custom: #cd37a8;
$custom-light: #e07cc2;
$custom-dark: #000000;
JSON
{
  "hex": "#cd37a8",
  "rgb": {
    "r": 205,
    "g": 55,
    "b": 168
  },
  "hsl": {
    "h": 314.8,
    "s": 60,
    "l": 50.98
  },
  "oklch": {
    "l": 0.59902,
    "c": 0.21736,
    "h": 339.8
  },
  "luminance": 0.18539
}

Semantic roles & 50–950 ramp

primary
#CD37A8
secondary
#8FD19F
accent
#E36C45
background
#FEF8FB
surface
#FCEFF7
border
#D5CAD0
text
#160B12
muted
#847C81

Preview Lab

Preview with #CD37A8

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

Preview Lab → · Contrast checker → · Palette generator →

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