#CD5173#CD5173

#CD5173 is a mid, vivid pink. Relative luminance 0.201; OKLCH L 60.6% C 0.159 H 6.2°. Best body text is #000000 at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#CD5173
RGBrgb(205, 81, 115)
HSLhsl(344, 55%, 56%)
HSVhsv(344, 60%, 80%)
CMYKcmyk(0%, 60.5%, 43.9%, 19.6%)
CIE-LABlab(51.96, 52.06, 6.49)
CIE-LCHlch(51.96, 52.46, 7.10°)
OKLaboklab(60.63% 0.1585 0.0172)
OKLCHoklch(60.63% 0.159 6.2)
XYZxyz(31.2160, 20.1054, 18.4532)
Luminance0.2010 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD5173 #51CDAB
analogous
#CD51B1 #CD5173 #CD6D51
triadic
#CD5173 #73CD51 #5173CD
tetradic
#CD5173 #B1CD51 #51CDAB #6D51CD
square
#CD5173 #B1CD51 #51CDAB #6D51CD
split-complementary
#CD5173 #51CD6D #51B1CD
monochromatic
#7F253D #AF3254 #CD5173 #DB8199 #E8B0BF

Accessibility & contrast

On white

4.18
#CD5173 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.02
#CD5173 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD5173
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD5173#FFFFFF#000000##000000
##CD51731.004.185.025.02
#FFFFFF4.181.0021.0021.00
#0000005.0221.001.001.00
##0000005.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A6D74
Deuteranopia (green-blind)
#8A8570
Tritanopia (blue-blind)
#DE425E
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #cd5173;
/* rgb */ color: rgb(205, 81, 115);
/* oklch */ color: oklch(60.6% 0.159 6.2);
Tailwind
colors: {
  custom: {
    50: '#e1879b',
    500: '#cd5173',
    950: '#000000',
  },
}
SCSS
$custom: #cd5173;
$custom-light: #e1879b;
$custom-dark: #000000;
JSON
{
  "hex": "#cd5173",
  "rgb": {
    "r": 205,
    "g": 81,
    "b": 115
  },
  "hsl": {
    "h": 343.548,
    "s": 55.357,
    "l": 56.078
  },
  "oklch": {
    "l": 0.6063,
    "c": 0.15945,
    "h": 6.2
  },
  "luminance": 0.20102
}

Semantic roles & 50–950 ramp

primary
#CD5173
secondary
#A3D7C8
accent
#DFB649
background
#FEF8F9
surface
#FDF0F2
border
#D5CBCC
text
#160C0E
muted
#847D7E

Preview Lab

Preview with #CD5173

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

Preview Lab → · Contrast checker → · Palette generator →

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