#CD5881#CD5881

#CD5881 is a mid, vivid pink. Relative luminance 0.215; OKLCH L 61.9% C 0.153 H 0.7°. Best body text is #000000 at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#CD5881
RGBrgb(205, 88, 129)
HSLhsl(339, 54%, 57%)
HSVhsv(339, 57%, 80%)
CMYKcmyk(0%, 57.1%, 37.1%, 19.6%)
CIE-LABlab(53.54, 50.35, 0.44)
CIE-LCHlch(53.54, 50.35, 0.50°)
OKLaboklab(61.94% 0.1535 0.0018)
OKLCHoklch(61.94% 0.153 0.7)
XYZxyz(32.6308, 21.5470, 23.2052)
Luminance0.2154 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD5881 #58CDA4
analogous
#CD58BC #CD5881 #CD6958
triadic
#CD5881 #81CD58 #5881CD
tetradic
#CD5881 #BCCD58 #58CDA4 #6958CD
square
#CD5881 #BCCD58 #58CDA4 #6958CD
split-complementary
#CD5881 #58CD69 #58BCCD
monochromatic
#832748 #B23561 #CD5881 #DB87A5 #E9B6C8

Accessibility & contrast

On white

3.96
#CD5881 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.31
#CD5881 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD5881
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD5881#FFFFFF#000000##000000
##CD58811.003.965.315.31
#FFFFFF3.961.0021.0021.00
#0000005.3121.001.001.00
##0000005.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C7282
Deuteranopia (green-blind)
#8B887E
Tritanopia (blue-blind)
#DD4E68
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #cd5881;
/* rgb */ color: rgb(205, 88, 129);
/* oklch */ color: oklch(61.9% 0.153 0.7);
Tailwind
colors: {
  custom: {
    50: '#e08ca5',
    500: '#cd5881',
    950: '#000000',
  },
}
SCSS
$custom: #cd5881;
$custom-light: #e08ca5;
$custom-dark: #000000;
JSON
{
  "hex": "#cd5881",
  "rgb": {
    "r": 205,
    "g": 88,
    "b": 129
  },
  "hsl": {
    "h": 338.974,
    "s": 53.917,
    "l": 57.451
  },
  "oklch": {
    "l": 0.61942,
    "c": 0.15347,
    "h": 0.7
  },
  "luminance": 0.21544
}

Semantic roles & 50–950 ramp

primary
#CD5881
secondary
#A9D8C7
accent
#DDAA4B
background
#FEF8FA
surface
#FCF0F4
border
#D5CBCE
text
#160C0F
muted
#847D7F

Preview Lab

Preview with #CD5881

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

Preview Lab → · Contrast checker → · Palette generator →

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