#CD5177#CD5177

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

Color values

HEX#CD5177
RGBrgb(205, 81, 119)
HSLhsl(342, 55%, 56%)
HSVhsv(342, 60%, 80%)
CMYKcmyk(0%, 60.5%, 42%, 19.6%)
CIE-LABlab(52.06, 52.46, 4.25)
CIE-LCHlch(52.06, 52.64, 4.63°)
OKLaboklab(60.74% 0.16 0.0116)
OKLCHoklch(60.74% 0.16 4.1)
XYZxyz(31.4511, 20.1995, 19.6918)
Luminance0.2020 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD5177 #51CDA7
analogous
#CD51B5 #CD5177 #CD6951
triadic
#CD5177 #77CD51 #5177CD
tetradic
#CD5177 #B5CD51 #51CDA7 #6951CD
square
#CD5177 #B5CD51 #51CDA7 #6951CD
split-complementary
#CD5177 #51CD69 #51B5CD
monochromatic
#7F2540 #AF3258 #CD5177 #DB819C #E8B0C1

Accessibility & contrast

On white

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

On black

5.04
#CD5177 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD5177
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD5177#FFFFFF#000000##000000
##CD51771.004.175.045.04
#FFFFFF4.171.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#696D78
Deuteranopia (green-blind)
#8A8574
Tritanopia (blue-blind)
#DE4360
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #cd5177;
/* rgb */ color: rgb(205, 81, 119);
/* oklch */ color: oklch(60.7% 0.160 4.1);
Tailwind
colors: {
  custom: {
    50: '#e1889e',
    500: '#cd5177',
    950: '#000000',
  },
}
SCSS
$custom: #cd5177;
$custom-light: #e1889e;
$custom-dark: #000000;
JSON
{
  "hex": "#cd5177",
  "rgb": {
    "r": 205,
    "g": 81,
    "b": 119
  },
  "hsl": {
    "h": 341.613,
    "s": 55.357,
    "l": 56.078
  },
  "oklch": {
    "l": 0.60744,
    "c": 0.16039,
    "h": 4.1
  },
  "luminance": 0.20196
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CD5177

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

Preview Lab → · Contrast checker → · Palette generator →

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