#CD5071#CD5071

#CD5071 is a mid, vivid pink. Relative luminance 0.199; OKLCH L 60.5% C 0.160 H 7.0°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#CD5071
RGBrgb(205, 80, 113)
HSLhsl(344, 56%, 56%)
HSVhsv(344, 61%, 80%)
CMYKcmyk(0%, 61%, 44.9%, 19.6%)
CIE-LABlab(51.74, 52.30, 7.37)
CIE-LCHlch(51.74, 52.82, 8.02°)
OKLaboklab(60.45% 0.1592 0.0194)
OKLCHoklch(60.45% 0.16 7)
XYZxyz(31.0284, 19.9124, 17.8291)
Luminance0.1991 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD5071 #50CDAC
analogous
#CD50AF #CD5071 #CD6D50
triadic
#CD5071 #71CD50 #5071CD
tetradic
#CD5071 #AFCD50 #50CDAC #6D50CD
square
#CD5071 #AFCD50 #50CDAC #6D50CD
split-complementary
#CD5071 #50CD6D #50AFCD
monochromatic
#7E243C #AE3253 #CD5071 #DB8098 #E8AFBE

Accessibility & contrast

On white

4.22
#CD5071 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.98
#CD5071 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD5071
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD5071#FFFFFF#000000##000000
##CD50711.004.224.984.98
#FFFFFF4.221.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A6C72
Deuteranopia (green-blind)
#8A856E
Tritanopia (blue-blind)
#DE405D
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #cd5071;
/* rgb */ color: rgb(205, 80, 113);
/* oklch */ color: oklch(60.5% 0.160 7.0);
Tailwind
colors: {
  custom: {
    50: '#e18799',
    500: '#cd5071',
    950: '#000000',
  },
}
SCSS
$custom: #cd5071;
$custom-light: #e18799;
$custom-dark: #000000;
JSON
{
  "hex": "#cd5071",
  "rgb": {
    "r": 205,
    "g": 80,
    "b": 113
  },
  "hsl": {
    "h": 344.16,
    "s": 55.556,
    "l": 55.882
  },
  "oklch": {
    "l": 0.60451,
    "c": 0.16037,
    "h": 7
  },
  "luminance": 0.19909
}

Semantic roles & 50–950 ramp

primary
#CD5071
secondary
#A2D6C9
accent
#DFB749
background
#FEF8F9
surface
#FDF0F2
border
#D5CBCC
text
#160C0D
muted
#847D7E

Preview Lab

Preview with #CD5071

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

Preview Lab → · Contrast checker → · Palette generator →

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