#CD5278#CD5278

#CD5278 is a mid, vivid pink. Relative luminance 0.204; OKLCH L 60.9% C 0.159 H 3.9°. Best body text is #000000 at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#CD5278
RGBrgb(205, 82, 120)
HSLhsl(341, 55%, 56%)
HSVhsv(341, 60%, 80%)
CMYKcmyk(0%, 60%, 41.5%, 19.6%)
CIE-LABlab(52.26, 52.12, 3.93)
CIE-LCHlch(52.26, 52.27, 4.31°)
OKLaboklab(60.9% 0.1589 0.0107)
OKLCHoklch(60.9% 0.159 3.9)
XYZxyz(31.5864, 20.3734, 20.0347)
Luminance0.2037 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD5278 #52CDA7
analogous
#CD52B6 #CD5278 #CD6A52
triadic
#CD5278 #78CD52 #5278CD
tetradic
#CD5278 #B6CD52 #52CDA7 #6A52CD
square
#CD5278 #B6CD52 #52CDA7 #6A52CD
split-complementary
#CD5278 #52CD6A #52B6CD
monochromatic
#802541 #AF3359 #CD5278 #DB819D #E8B1C2

Accessibility & contrast

On white

4.14
#CD5278 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.07
#CD5278 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD5278
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD5278#FFFFFF#000000##000000
##CD52781.004.145.075.07
#FFFFFF4.141.0021.0021.00
#0000005.0721.001.001.00
##0000005.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A6E79
Deuteranopia (green-blind)
#8A8675
Tritanopia (blue-blind)
#DD4461
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #cd5278;
/* rgb */ color: rgb(205, 82, 120);
/* oklch */ color: oklch(60.9% 0.159 3.9);
Tailwind
colors: {
  custom: {
    50: '#e1889e',
    500: '#cd5278',
    950: '#000000',
  },
}
SCSS
$custom: #cd5278;
$custom-light: #e1889e;
$custom-dark: #000000;
JSON
{
  "hex": "#cd5278",
  "rgb": {
    "r": 205,
    "g": 82,
    "b": 120
  },
  "hsl": {
    "h": 341.463,
    "s": 55.157,
    "l": 56.275
  },
  "oklch": {
    "l": 0.60898,
    "c": 0.15928,
    "h": 3.9
  },
  "luminance": 0.2037
}

Semantic roles & 50–950 ramp

primary
#CD5278
secondary
#A4D7C7
accent
#DEB049
background
#FEF8F9
surface
#FDF0F2
border
#D5CBCC
text
#160C0E
muted
#847D7E

Preview Lab

Preview with #CD5278

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

Preview Lab → · Contrast checker → · Palette generator →

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