#CD337C#CD337C

#CD337C is a mid, vivid pink. Relative luminance 0.168; OKLCH L 57.8% C 0.199 H 356.7°. Best body text is #FFFFFF at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#CD337C
RGBrgb(205, 51, 124)
HSLhsl(332, 61%, 50%)
HSVhsv(332, 75%, 80%)
CMYKcmyk(0%, 75.1%, 39.5%, 19.6%)
CIE-LABlab(48.01, 64.51, -4.68)
CIE-LCHlch(48.01, 64.68, 355.85°)
OKLaboklab(57.8% 0.1982 -0.0115)
OKLCHoklch(57.8% 0.199 356.7)
XYZxyz(30.0009, 16.8058, 20.7289)
Luminance0.1680 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD337C #33CD84
analogous
#CD33C9 #CD337C #CD3733
triadic
#CD337C #7CCD33 #337CCD
tetradic
#CD337C #C9CD33 #33CD84 #3733CD
square
#CD337C #C9CD33 #33CD84 #3733CD
split-complementary
#CD337C #33CD37 #33C9CD
monochromatic
#6B1A41 #9C265E #CD337C #D9649C #E595BB

Accessibility & contrast

On white

4.82
#CD337C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.36
#CD337C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #CD337C
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD337C#FFFFFF#000000##FFFFFF
##CD337C1.004.824.364.82
#FFFFFF4.821.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#53607E
Deuteranopia (green-blind)
#7D7C78
Tritanopia (blue-blind)
#DE1E53
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #cd337c;
/* rgb */ color: rgb(205, 51, 124);
/* oklch */ color: oklch(57.8% 0.199 356.7);
Tailwind
colors: {
  custom: {
    50: '#e279a1',
    500: '#cd337c',
    950: '#000000',
  },
}
SCSS
$custom: #cd337c;
$custom-light: #e279a1;
$custom-dark: #000000;
JSON
{
  "hex": "#cd337c",
  "rgb": {
    "r": 205,
    "g": 51,
    "b": 124
  },
  "hsl": {
    "h": 331.558,
    "s": 60.63,
    "l": 50.196
  },
  "oklch": {
    "l": 0.57798,
    "c": 0.19852,
    "h": 356.7
  },
  "luminance": 0.16802
}

Semantic roles & 50–950 ramp

primary
#CD337C
secondary
#8BD0B0
accent
#E49844
background
#FEF7F9
surface
#FDEEF2
border
#D5C9CC
text
#160A0F
muted
#847C7E

Preview Lab

Preview with #CD337C

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

Preview Lab → · Contrast checker → · Palette generator →

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