#CD5276#CD5276

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

Color values

HEX#CD5276
RGBrgb(205, 82, 118)
HSLhsl(342, 55%, 56%)
HSVhsv(342, 60%, 80%)
CMYKcmyk(0%, 60%, 42.4%, 19.6%)
CIE-LABlab(52.20, 51.91, 5.05)
CIE-LCHlch(52.20, 52.16, 5.55°)
OKLaboklab(60.84% 0.1582 0.0136)
OKLCHoklch(60.84% 0.159 4.9)
XYZxyz(31.4663, 20.3253, 19.4021)
Luminance0.2032 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD5276 #52CDA9
analogous
#CD52B4 #CD5276 #CD6C52
triadic
#CD5276 #76CD52 #5276CD
tetradic
#CD5276 #B4CD52 #52CDA9 #6C52CD
square
#CD5276 #B4CD52 #52CDA9 #6C52CD
split-complementary
#CD5276 #52CD6C #52B4CD
monochromatic
#80253F #AF3357 #CD5276 #DB819C #E8B1C1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CD5276#FFFFFF#000000##000000
##CD52761.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)
#6A6D77
Deuteranopia (green-blind)
#8A8573
Tritanopia (blue-blind)
#DE4460
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #cd5276;
/* rgb */ color: rgb(205, 82, 118);
/* oklch */ color: oklch(60.8% 0.159 4.9);
Tailwind
colors: {
  custom: {
    50: '#e1889d',
    500: '#cd5276',
    950: '#000000',
  },
}
SCSS
$custom: #cd5276;
$custom-light: #e1889d;
$custom-dark: #000000;
JSON
{
  "hex": "#cd5276",
  "rgb": {
    "r": 205,
    "g": 82,
    "b": 118
  },
  "hsl": {
    "h": 342.439,
    "s": 55.157,
    "l": 56.275
  },
  "oklch": {
    "l": 0.60841,
    "c": 0.15878,
    "h": 4.9
  },
  "luminance": 0.20322
}

Semantic roles & 50–950 ramp

primary
#CD5276
secondary
#A4D7C8
accent
#DEB349
background
#FEF8F9
surface
#FDF0F2
border
#D5CBCC
text
#160C0E
muted
#847D7E

Preview Lab

Preview with #CD5276

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

Preview Lab → · Contrast checker → · Palette generator →

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