#CD5781#CD5781

#CD5781 is a mid, vivid pink. Relative luminance 0.214; OKLCH L 61.8% C 0.155 H 0.4°. Best body text is #000000 at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#CD5781
RGBrgb(205, 87, 129)
HSLhsl(339, 54%, 57%)
HSVhsv(339, 58%, 80%)
CMYKcmyk(0%, 57.6%, 37.1%, 19.6%)
CIE-LABlab(53.37, 50.82, 0.18)
CIE-LCHlch(53.37, 50.82, 0.20°)
OKLaboklab(61.81% 0.1549 0.0011)
OKLCHoklch(61.81% 0.155 0.4)
XYZxyz(32.5493, 21.3840, 23.1780)
Luminance0.2138 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD5781 #57CDA3
analogous
#CD57BC #CD5781 #CD6857
triadic
#CD5781 #81CD57 #5781CD
tetradic
#CD5781 #BCCD57 #57CDA3 #6857CD
square
#CD5781 #BCCD57 #57CDA3 #6857CD
split-complementary
#CD5781 #57CD68 #57BCCD
monochromatic
#832748 #B23561 #CD5781 #DB86A4 #E9B5C8

Accessibility & contrast

On white

3.98
#CD5781 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.28
#CD5781 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD5781
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD5781#FFFFFF#000000##000000
##CD57811.003.985.285.28
#FFFFFF3.981.0021.0021.00
#0000005.2821.001.001.00
##0000005.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B7182
Deuteranopia (green-blind)
#8B887E
Tritanopia (blue-blind)
#DD4D67
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #cd5781;
/* rgb */ color: rgb(205, 87, 129);
/* oklch */ color: oklch(61.8% 0.155 0.4);
Tailwind
colors: {
  custom: {
    50: '#e08ba5',
    500: '#cd5781',
    950: '#000000',
  },
}
SCSS
$custom: #cd5781;
$custom-light: #e08ba5;
$custom-dark: #000000;
JSON
{
  "hex": "#cd5781",
  "rgb": {
    "r": 205,
    "g": 87,
    "b": 129
  },
  "hsl": {
    "h": 338.644,
    "s": 54.128,
    "l": 57.255
  },
  "oklch": {
    "l": 0.6181,
    "c": 0.15491,
    "h": 0.4
  },
  "luminance": 0.21381
}

Semantic roles & 50–950 ramp

primary
#CD5781
secondary
#A8D8C7
accent
#DDA94A
background
#FEF8FA
surface
#FCF0F4
border
#D5CBCE
text
#160C0F
muted
#847D7F

Preview Lab

Preview with #CD5781

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

Preview Lab → · Contrast checker → · Palette generator →

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