#CD5081#CD5081

#CD5081 is a mid, vivid pink. Relative luminance 0.203; OKLCH L 60.9% C 0.165 H 358.8°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#CD5081
RGBrgb(205, 80, 129)
HSLhsl(336, 56%, 56%)
HSVhsv(336, 61%, 80%)
CMYKcmyk(0%, 61%, 37.1%, 19.6%)
CIE-LABlab(52.18, 53.99, -1.56)
CIE-LCHlch(52.18, 54.01, 358.35°)
OKLaboklab(60.93% 0.1648 -0.0034)
OKLCHoklch(60.93% 0.165 358.8)
XYZxyz(32.0098, 20.3050, 22.9981)
Luminance0.2030 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD5081 #50CD9C
analogous
#CD50BF #CD5081 #CD5D50
triadic
#CD5081 #81CD50 #5081CD
tetradic
#CD5081 #BFCD50 #50CD9C #5D50CD
square
#CD5081 #BFCD50 #50CD9C #5D50CD
split-complementary
#CD5081 #50CD5D #50BFCD
monochromatic
#7E2448 #AE3262 #CD5081 #DB80A3 #E8AFC6

Accessibility & contrast

On white

4.15
#CD5081 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.06
#CD5081 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD5081
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD5081#FFFFFF#000000##000000
##CD50811.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#666E82
Deuteranopia (green-blind)
#87857E
Tritanopia (blue-blind)
#DD4563
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #cd5081;
/* rgb */ color: rgb(205, 80, 129);
/* oklch */ color: oklch(60.9% 0.165 358.8);
Tailwind
colors: {
  custom: {
    50: '#e087a5',
    500: '#cd5081',
    950: '#000000',
  },
}
SCSS
$custom: #cd5081;
$custom-light: #e087a5;
$custom-dark: #000000;
JSON
{
  "hex": "#cd5081",
  "rgb": {
    "r": 205,
    "g": 80,
    "b": 129
  },
  "hsl": {
    "h": 336.48,
    "s": 55.556,
    "l": 55.882
  },
  "oklch": {
    "l": 0.60925,
    "c": 0.16487,
    "h": 358.8
  },
  "luminance": 0.20301
}

Semantic roles & 50–950 ramp

primary
#CD5081
secondary
#A2D6C2
accent
#DFA449
background
#FEF8FA
surface
#FCF0F4
border
#D5CBCE
text
#160C0F
muted
#847D7F

Preview Lab

Preview with #CD5081

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

Preview Lab → · Contrast checker → · Palette generator →

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