#CD3781#CD3781

#CD3781 is a mid, vivid pink. Relative luminance 0.173; OKLCH L 58.3% C 0.196 H 355.0°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#CD3781
RGBrgb(205, 55, 129)
HSLhsl(330, 60%, 51%)
HSVhsv(330, 73%, 80%)
CMYKcmyk(0%, 73.2%, 37.1%, 19.6%)
CIE-LABlab(48.64, 63.74, -6.80)
CIE-LCHlch(48.64, 64.10, 353.91°)
OKLaboklab(58.31% 0.1956 -0.0171)
OKLCHoklch(58.31% 0.196 355)
XYZxyz(30.5075, 17.3002, 22.4974)
Luminance0.1730 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD3781 #37CD83
analogous
#CD37CC #CD3781 #CD3837
triadic
#CD3781 #81CD37 #3781CD
tetradic
#CD3781 #CCCD37 #37CD83 #3837CD
square
#CD3781 #CCCD37 #37CD83 #3837CD
split-complementary
#CD3781 #37CD38 #37CCCD
monochromatic
#6E1C44 #9F2863 #CD3781 #D968A0 #E599BF

Accessibility & contrast

On white

4.71
#CD3781 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#CD3781 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #CD3781
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD3781#FFFFFF#000000##FFFFFF
##CD37811.004.714.464.71
#FFFFFF4.711.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#546283
Deuteranopia (green-blind)
#7E7E7E
Tritanopia (blue-blind)
#DD2757
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #cd3781;
/* rgb */ color: rgb(205, 55, 129);
/* oklch */ color: oklch(58.3% 0.196 355.0);
Tailwind
colors: {
  custom: {
    50: '#e17ba5',
    500: '#cd3781',
    950: '#000000',
  },
}
SCSS
$custom: #cd3781;
$custom-light: #e17ba5;
$custom-dark: #000000;
JSON
{
  "hex": "#cd3781",
  "rgb": {
    "r": 205,
    "g": 55,
    "b": 129
  },
  "hsl": {
    "h": 330.4,
    "s": 60,
    "l": 50.98
  },
  "oklch": {
    "l": 0.58307,
    "c": 0.19631,
    "h": 355
  },
  "luminance": 0.17296
}

Semantic roles & 50–950 ramp

primary
#CD3781
secondary
#8FD1B0
accent
#E39545
background
#FEF7FA
surface
#FDEEF4
border
#D5C9CE
text
#160A0F
muted
#847C7F

Preview Lab

Preview with #CD3781

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

Preview Lab → · Contrast checker → · Palette generator →

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