#CD5279#CD5279

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

Color values

HEX#CD5279
RGBrgb(205, 82, 121)
HSLhsl(341, 55%, 56%)
HSVhsv(341, 60%, 80%)
CMYKcmyk(0%, 60%, 41%, 19.6%)
CIE-LABlab(52.28, 52.23, 3.37)
CIE-LCHlch(52.28, 52.33, 3.69°)
OKLaboklab(60.93% 0.1593 0.0093)
OKLCHoklch(60.93% 0.16 3.4)
XYZxyz(31.6474, 20.3978, 20.3560)
Luminance0.2039 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD5279 #52CDA6
analogous
#CD52B7 #CD5279 #CD6952
triadic
#CD5279 #79CD52 #5279CD
tetradic
#CD5279 #B7CD52 #52CDA6 #6952CD
square
#CD5279 #B7CD52 #52CDA6 #6952CD
split-complementary
#CD5279 #52CD69 #52B7CD
monochromatic
#802542 #AF335A #CD5279 #DB819E #E8B1C3

Accessibility & contrast

On white

4.13
#CD5279 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.08
#CD5279 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD5279
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD5279#FFFFFF#000000##000000
##CD52791.004.135.085.08
#FFFFFF4.131.0021.0021.00
#0000005.0821.001.001.00
##0000005.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#696E7A
Deuteranopia (green-blind)
#8A8676
Tritanopia (blue-blind)
#DD4561
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #cd5279;
/* rgb */ color: rgb(205, 82, 121);
/* oklch */ color: oklch(60.9% 0.160 3.4);
Tailwind
colors: {
  custom: {
    50: '#e1889f',
    500: '#cd5279',
    950: '#000000',
  },
}
SCSS
$custom: #cd5279;
$custom-light: #e1889f;
$custom-dark: #000000;
JSON
{
  "hex": "#cd5279",
  "rgb": {
    "r": 205,
    "g": 82,
    "b": 121
  },
  "hsl": {
    "h": 340.976,
    "s": 55.157,
    "l": 56.275
  },
  "oklch": {
    "l": 0.60928,
    "c": 0.15955,
    "h": 3.4
  },
  "luminance": 0.20394
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CD5279

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

Preview Lab → · Contrast checker → · Palette generator →

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