#CD5078#CD5078

#CD5078 is a mid, vivid pink. Relative luminance 0.201; OKLCH L 60.6% C 0.162 H 3.4°. Best body text is #000000 at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#CD5078
RGBrgb(205, 80, 120)
HSLhsl(341, 56%, 56%)
HSVhsv(341, 61%, 80%)
CMYKcmyk(0%, 61%, 41.5%, 19.6%)
CIE-LABlab(51.92, 53.01, 3.45)
CIE-LCHlch(51.92, 53.13, 3.72°)
OKLaboklab(60.65% 0.1617 0.0095)
OKLCHoklch(60.65% 0.162 3.4)
XYZxyz(31.4377, 20.0761, 19.9852)
Luminance0.2007 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD5078 #50CDA5
analogous
#CD50B6 #CD5078 #CD6650
triadic
#CD5078 #78CD50 #5078CD
tetradic
#CD5078 #B6CD50 #50CDA5 #6650CD
square
#CD5078 #B6CD50 #50CDA5 #6650CD
split-complementary
#CD5078 #50CD66 #50B6CD
monochromatic
#7E2441 #AE325A #CD5078 #DB809D #E8AFC1

Accessibility & contrast

On white

4.19
#CD5078 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.01
#CD5078 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD5078
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD5078#FFFFFF#000000##000000
##CD50781.004.195.015.01
#FFFFFF4.191.0021.0021.00
#0000005.0121.001.001.00
##0000005.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#686D79
Deuteranopia (green-blind)
#898575
Tritanopia (blue-blind)
#DE425F
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #cd5078;
/* rgb */ color: rgb(205, 80, 120);
/* oklch */ color: oklch(60.6% 0.162 3.4);
Tailwind
colors: {
  custom: {
    50: '#e1879e',
    500: '#cd5078',
    950: '#000000',
  },
}
SCSS
$custom: #cd5078;
$custom-light: #e1879e;
$custom-dark: #000000;
JSON
{
  "hex": "#cd5078",
  "rgb": {
    "r": 205,
    "g": 80,
    "b": 120
  },
  "hsl": {
    "h": 340.8,
    "s": 55.556,
    "l": 55.882
  },
  "oklch": {
    "l": 0.60649,
    "c": 0.16201,
    "h": 3.4
  },
  "luminance": 0.20073
}

Semantic roles & 50–950 ramp

primary
#CD5078
secondary
#A2D6C6
accent
#DFAF49
background
#FEF8F9
surface
#FDF0F2
border
#D5CBCC
text
#160C0E
muted
#847D7E

Preview Lab

Preview with #CD5078

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

Preview Lab → · Contrast checker → · Palette generator →

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