#CD3771#CD3771

#CD3771 is a mid, vivid pink. Relative luminance 0.169; OKLCH L 57.8% C 0.191 H 1.9°. Best body text is #FFFFFF at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#CD3771
RGBrgb(205, 55, 113)
HSLhsl(337, 60%, 51%)
HSVhsv(337, 73%, 80%)
CMYKcmyk(0%, 73.2%, 44.9%, 19.6%)
CIE-LABlab(48.14, 62.15, 2.21)
CIE-LCHlch(48.14, 62.19, 2.04°)
OKLaboklab(57.78% 0.1905 0.0064)
OKLCHoklch(57.78% 0.191 1.9)
XYZxyz(29.5260, 16.9076, 17.3283)
Luminance0.1690 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD3771 #37CD93
analogous
#CD37BC #CD3771 #CD4837
triadic
#CD3771 #71CD37 #3771CD
tetradic
#CD3771 #BCCD37 #37CD93 #4837CD
square
#CD3771 #BCCD37 #37CD93 #4837CD
split-complementary
#CD3771 #37CD48 #37BCCD
monochromatic
#6E1C3B #9F2856 #CD3771 #D96894 #E599B7

Accessibility & contrast

On white

4.79
#CD3771 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.38
#CD3771 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #CD3771
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD3771#FFFFFF#000000##FFFFFF
##CD37711.004.794.384.79
#FFFFFF4.791.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#596072
Deuteranopia (green-blind)
#817D6D
Tritanopia (blue-blind)
#DE1D50
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #cd3771;
/* rgb */ color: rgb(205, 55, 113);
/* oklch */ color: oklch(57.8% 0.191 1.9);
Tailwind
colors: {
  custom: {
    50: '#e27a99',
    500: '#cd3771',
    950: '#000000',
  },
}
SCSS
$custom: #cd3771;
$custom-light: #e27a99;
$custom-dark: #000000;
JSON
{
  "hex": "#cd3771",
  "rgb": {
    "r": 205,
    "g": 55,
    "b": 113
  },
  "hsl": {
    "h": 336.8,
    "s": 60,
    "l": 50.98
  },
  "oklch": {
    "l": 0.57784,
    "c": 0.19061,
    "h": 1.9
  },
  "luminance": 0.16904
}

Semantic roles & 50–950 ramp

primary
#CD3771
secondary
#8FD1B7
accent
#E3A645
background
#FEF7F9
surface
#FDEEF2
border
#D5C9CC
text
#160A0D
muted
#847C7E

Preview Lab

Preview with #CD3771

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

Preview Lab → · Contrast checker → · Palette generator →

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