#CD5176#CD5176

#CD5176 is a mid, vivid pink. Relative luminance 0.202; OKLCH L 60.7% C 0.160 H 4.6°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#CD5176
RGBrgb(205, 81, 118)
HSLhsl(342, 55%, 56%)
HSVhsv(342, 60%, 80%)
CMYKcmyk(0%, 60.5%, 42.4%, 19.6%)
CIE-LABlab(52.04, 52.36, 4.81)
CIE-LCHlch(52.04, 52.58, 5.24°)
OKLaboklab(60.72% 0.1596 0.013)
OKLCHoklch(60.72% 0.16 4.6)
XYZxyz(31.3914, 20.1756, 19.3772)
Luminance0.2017 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD5176 #51CDA8
analogous
#CD51B4 #CD5176 #CD6A51
triadic
#CD5176 #76CD51 #5176CD
tetradic
#CD5176 #B4CD51 #51CDA8 #6A51CD
square
#CD5176 #B4CD51 #51CDA8 #6A51CD
split-complementary
#CD5176 #51CD6A #51B4CD
monochromatic
#7F2540 #AF3257 #CD5176 #DB819B #E8B0C1

Accessibility & contrast

On white

4.17
#CD5176 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.03
#CD5176 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD5176
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD5176#FFFFFF#000000##000000
##CD51761.004.175.035.03
#FFFFFF4.171.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#696D77
Deuteranopia (green-blind)
#8A8573
Tritanopia (blue-blind)
#DE435F
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #cd5176;
/* rgb */ color: rgb(205, 81, 118);
/* oklch */ color: oklch(60.7% 0.160 4.6);
Tailwind
colors: {
  custom: {
    50: '#e1889d',
    500: '#cd5176',
    950: '#000000',
  },
}
SCSS
$custom: #cd5176;
$custom-light: #e1889d;
$custom-dark: #000000;
JSON
{
  "hex": "#cd5176",
  "rgb": {
    "r": 205,
    "g": 81,
    "b": 118
  },
  "hsl": {
    "h": 342.097,
    "s": 55.357,
    "l": 56.078
  },
  "oklch": {
    "l": 0.60715,
    "c": 0.16014,
    "h": 4.6
  },
  "luminance": 0.20172
}

Semantic roles & 50–950 ramp

primary
#CD5176
secondary
#A3D7C7
accent
#DFB249
background
#FEF8F9
surface
#FDF0F2
border
#D5CBCC
text
#160C0E
muted
#847D7E

Preview Lab

Preview with #CD5176

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

Preview Lab → · Contrast checker → · Palette generator →

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