#CD3B71#CD3B71

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

Color values

HEX#CD3B71
RGBrgb(205, 59, 113)
HSLhsl(338, 59%, 52%)
HSVhsv(338, 71%, 80%)
CMYKcmyk(0%, 71.2%, 44.9%, 19.6%)
CIE-LABlab(48.64, 60.76, 2.93)
CIE-LCHlch(48.64, 60.84, 2.76°)
OKLaboklab(58.15% 0.1861 0.0082)
OKLCHoklch(58.15% 0.186 2.5)
XYZxyz(29.7237, 17.3031, 17.3942)
Luminance0.1730 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD3B71 #3BCD97
analogous
#CD3BBA #CD3B71 #CD4E3B
triadic
#CD3B71 #71CD3B #3B71CD
tetradic
#CD3B71 #BACD3B #3BCD97 #4E3BCD
square
#CD3B71 #BACD3B #3BCD97 #4E3BCD
split-complementary
#CD3B71 #3BCD4E #3BBACD
monochromatic
#711D3C #A22956 #CD3B71 #D96C94 #E69DB8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CD3B71#FFFFFF#000000##FFFFFF
##CD3B711.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)
#5B6172
Deuteranopia (green-blind)
#827E6E
Tritanopia (blue-blind)
#DE2351
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #cd3b71;
/* rgb */ color: rgb(205, 59, 113);
/* oklch */ color: oklch(58.1% 0.186 2.5);
Tailwind
colors: {
  custom: {
    50: '#e27c99',
    500: '#cd3b71',
    950: '#000000',
  },
}
SCSS
$custom: #cd3b71;
$custom-light: #e27c99;
$custom-dark: #000000;
JSON
{
  "hex": "#cd3b71",
  "rgb": {
    "r": 205,
    "g": 59,
    "b": 113
  },
  "hsl": {
    "h": 337.808,
    "s": 59.35,
    "l": 51.765
  },
  "oklch": {
    "l": 0.5815,
    "c": 0.18625,
    "h": 2.5
  },
  "luminance": 0.17299
}

Semantic roles & 50–950 ramp

primary
#CD3B71
secondary
#92D2BA
accent
#E3A845
background
#FEF8F9
surface
#FDEFF2
border
#D5CACC
text
#160A0D
muted
#847C7E

Preview Lab

Preview with #CD3B71

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

Preview Lab → · Contrast checker → · Palette generator →

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