#CD5180#CD5180

#CD5180 is a mid, vivid pink. Relative luminance 0.204; OKLCH L 61.0% C 0.163 H 359.5°. Best body text is #000000 at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#CD5180
RGBrgb(205, 81, 128)
HSLhsl(337, 55%, 56%)
HSVhsv(337, 60%, 80%)
CMYKcmyk(0%, 60.5%, 37.6%, 19.6%)
CIE-LABlab(52.32, 53.44, -0.76)
CIE-LCHlch(52.32, 53.44, 359.18°)
OKLaboklab(61.02% 0.1631 -0.0013)
OKLCHoklch(61.02% 0.163 359.5)
XYZxyz(32.0174, 20.4260, 22.6744)
Luminance0.2042 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD5180 #51CD9E
analogous
#CD51BE #CD5180 #CD6051
triadic
#CD5180 #80CD51 #5180CD
tetradic
#CD5180 #BECD51 #51CD9E #6051CD
square
#CD5180 #BECD51 #51CD9E #6051CD
split-complementary
#CD5180 #51CD60 #51BECD
monochromatic
#7F2547 #AF3261 #CD5180 #DB81A3 #E8B0C5

Accessibility & contrast

On white

4.13
#CD5180 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.08
#CD5180 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD5180
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD5180#FFFFFF#000000##000000
##CD51801.004.135.085.08
#FFFFFF4.131.0021.0021.00
#0000005.0821.001.001.00
##0000005.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#676E81
Deuteranopia (green-blind)
#88867D
Tritanopia (blue-blind)
#DD4663
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #cd5180;
/* rgb */ color: rgb(205, 81, 128);
/* oklch */ color: oklch(61.0% 0.163 359.5);
Tailwind
colors: {
  custom: {
    50: '#e088a4',
    500: '#cd5180',
    950: '#000000',
  },
}
SCSS
$custom: #cd5180;
$custom-light: #e088a4;
$custom-dark: #000000;
JSON
{
  "hex": "#cd5180",
  "rgb": {
    "r": 205,
    "g": 81,
    "b": 128
  },
  "hsl": {
    "h": 337.258,
    "s": 55.357,
    "l": 56.078
  },
  "oklch": {
    "l": 0.61016,
    "c": 0.16312,
    "h": 359.5
  },
  "luminance": 0.20423
}

Semantic roles & 50–950 ramp

primary
#CD5180
secondary
#A3D7C3
accent
#DFA649
background
#FEF8FA
surface
#FCF0F4
border
#D5CBCE
text
#160C0F
muted
#847D7F

Preview Lab

Preview with #CD5180

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

Preview Lab → · Contrast checker → · Palette generator →

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