#CD5284#CD5284

#CD5284 is a mid, vivid pink. Relative luminance 0.207; OKLCH L 61.3% C 0.163 H 357.7°. Best body text is #000000 at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#CD5284
RGBrgb(205, 82, 132)
HSLhsl(336, 55%, 56%)
HSVhsv(336, 60%, 80%)
CMYKcmyk(0%, 60%, 35.6%, 19.6%)
CIE-LABlab(52.60, 53.44, -2.73)
CIE-LCHlch(52.60, 53.51, 357.08°)
OKLaboklab(61.27% 0.1631 -0.0065)
OKLCHoklch(61.27% 0.163 357.7)
XYZxyz(32.3608, 20.6831, 24.1133)
Luminance0.2068 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD5284 #52CD9B
analogous
#CD52C2 #CD5284 #CD5E52
triadic
#CD5284 #84CD52 #5284CD
tetradic
#CD5284 #C2CD52 #52CD9B #5E52CD
square
#CD5284 #C2CD52 #52CD9B #5E52CD
split-complementary
#CD5284 #52CD5E #52C2CD
monochromatic
#80254A #AF3365 #CD5284 #DB81A6 #E8B1C8

Accessibility & contrast

On white

4.09
#CD5284 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.14
#CD5284 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD5284
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD5284#FFFFFF#000000##000000
##CD52841.004.095.145.14
#FFFFFF4.091.0021.0021.00
#0000005.1421.001.001.00
##0000005.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#676F85
Deuteranopia (green-blind)
#888681
Tritanopia (blue-blind)
#DC4865
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #cd5284;
/* rgb */ color: rgb(205, 82, 132);
/* oklch */ color: oklch(61.3% 0.163 357.7);
Tailwind
colors: {
  custom: {
    50: '#e088a7',
    500: '#cd5284',
    950: '#000000',
  },
}
SCSS
$custom: #cd5284;
$custom-light: #e088a7;
$custom-dark: #000000;
JSON
{
  "hex": "#cd5284",
  "rgb": {
    "r": 205,
    "g": 82,
    "b": 132
  },
  "hsl": {
    "h": 335.61,
    "s": 55.157,
    "l": 56.275
  },
  "oklch": {
    "l": 0.61268,
    "c": 0.16318,
    "h": 357.7
  },
  "luminance": 0.2068
}

Semantic roles & 50–950 ramp

primary
#CD5284
secondary
#A4D7C2
accent
#DEA249
background
#FEF8FA
surface
#FCF0F4
border
#D5CBCE
text
#160C0F
muted
#847D7F

Preview Lab

Preview with #CD5284

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

Preview Lab → · Contrast checker → · Palette generator →

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