#CD5288#CD5288

#CD5288 is a mid, vivid pink. Relative luminance 0.208; OKLCH L 61.4% C 0.165 H 355.7°. Best body text is #000000 at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#CD5288
RGBrgb(205, 82, 136)
HSLhsl(334, 55%, 56%)
HSVhsv(334, 60%, 80%)
CMYKcmyk(0%, 60%, 33.7%, 19.6%)
CIE-LABlab(52.72, 53.91, -4.92)
CIE-LCHlch(52.72, 54.14, 354.78°)
OKLaboklab(61.4% 0.1643 -0.0123)
OKLCHoklch(61.4% 0.165 355.7)
XYZxyz(32.6398, 20.7947, 25.5826)
Luminance0.2079 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD5288 #52CD97
analogous
#CD52C5 #CD5288 #CD5A52
triadic
#CD5288 #88CD52 #5288CD
tetradic
#CD5288 #C5CD52 #52CD97 #5A52CD
square
#CD5288 #C5CD52 #52CD97 #5A52CD
split-complementary
#CD5288 #52CD5A #52C5CD
monochromatic
#80254D #AF3369 #CD5288 #DB81A9 #E8B1C9

Accessibility & contrast

On white

4.07
#CD5288 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.16
#CD5288 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD5288
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD5288#FFFFFF#000000##000000
##CD52881.004.075.165.16
#FFFFFF4.071.0021.0021.00
#0000005.1621.001.001.00
##0000005.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#65708A
Deuteranopia (green-blind)
#878685
Tritanopia (blue-blind)
#DC4967
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #cd5288;
/* rgb */ color: rgb(205, 82, 136);
/* oklch */ color: oklch(61.4% 0.165 355.7);
Tailwind
colors: {
  custom: {
    50: '#e088aa',
    500: '#cd5288',
    950: '#000000',
  },
}
SCSS
$custom: #cd5288;
$custom-light: #e088aa;
$custom-dark: #000000;
JSON
{
  "hex": "#cd5288",
  "rgb": {
    "r": 205,
    "g": 82,
    "b": 136
  },
  "hsl": {
    "h": 333.659,
    "s": 55.157,
    "l": 56.275
  },
  "oklch": {
    "l": 0.614,
    "c": 0.1648,
    "h": 355.7
  },
  "luminance": 0.20791
}

Semantic roles & 50–950 ramp

primary
#CD5288
secondary
#A4D7C0
accent
#DE9D49
background
#FEF8FA
surface
#FCF0F4
border
#D5CBCE
text
#160C10
muted
#847D7F

Preview Lab

Preview with #CD5288

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

Preview Lab → · Contrast checker → · Palette generator →

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