#CD5179#CD5179

#CD5179 is a mid, vivid pink. Relative luminance 0.202; OKLCH L 60.8% C 0.161 H 3.1°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#CD5179
RGBrgb(205, 81, 121)
HSLhsl(341, 55%, 56%)
HSVhsv(341, 60%, 80%)
CMYKcmyk(0%, 60.5%, 41%, 19.6%)
CIE-LABlab(52.12, 52.67, 3.13)
CIE-LCHlch(52.12, 52.77, 3.40°)
OKLaboklab(60.8% 0.1607 0.0087)
OKLCHoklch(60.8% 0.161 3.1)
XYZxyz(31.5725, 20.2481, 20.3310)
Luminance0.2024 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD5179 #51CDA5
analogous
#CD51B7 #CD5179 #CD6751
triadic
#CD5179 #79CD51 #5179CD
tetradic
#CD5179 #B7CD51 #51CDA5 #6751CD
square
#CD5179 #B7CD51 #51CDA5 #6751CD
split-complementary
#CD5179 #51CD67 #51B7CD
monochromatic
#7F2542 #AF325A #CD5179 #DB819E #E8B0C2

Accessibility & contrast

On white

4.16
#CD5179 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.05
#CD5179 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD5179
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD5179#FFFFFF#000000##000000
##CD51791.004.165.055.05
#FFFFFF4.161.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#696D7A
Deuteranopia (green-blind)
#898576
Tritanopia (blue-blind)
#DD4360
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #cd5179;
/* rgb */ color: rgb(205, 81, 121);
/* oklch */ color: oklch(60.8% 0.161 3.1);
Tailwind
colors: {
  custom: {
    50: '#e1889f',
    500: '#cd5179',
    950: '#000000',
  },
}
SCSS
$custom: #cd5179;
$custom-light: #e1889f;
$custom-dark: #000000;
JSON
{
  "hex": "#cd5179",
  "rgb": {
    "r": 205,
    "g": 81,
    "b": 121
  },
  "hsl": {
    "h": 340.645,
    "s": 55.357,
    "l": 56.078
  },
  "oklch": {
    "l": 0.60803,
    "c": 0.16093,
    "h": 3.1
  },
  "luminance": 0.20244
}

Semantic roles & 50–950 ramp

primary
#CD5179
secondary
#A3D7C6
accent
#DFAE49
background
#FEF8F9
surface
#FDF0F2
border
#D5CBCC
text
#160C0E
muted
#847D7E

Preview Lab

Preview with #CD5179

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

Preview Lab → · Contrast checker → · Palette generator →

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