#CD5282#CD5282

#CD5282 is a mid, vivid pink. Relative luminance 0.206; OKLCH L 61.2% C 0.162 H 358.7°. Best body text is #000000 at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#CD5282
RGBrgb(205, 82, 130)
HSLhsl(337, 55%, 56%)
HSVhsv(337, 60%, 80%)
CMYKcmyk(0%, 60%, 36.6%, 19.6%)
CIE-LABlab(52.54, 53.21, -1.62)
CIE-LCHlch(52.54, 53.24, 358.25°)
OKLaboklab(61.2% 0.1624 -0.0036)
OKLCHoklch(61.2% 0.162 358.7)
XYZxyz(32.2252, 20.6289, 23.3995)
Luminance0.2062 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD5282 #52CD9D
analogous
#CD52C0 #CD5282 #CD6052
triadic
#CD5282 #82CD52 #5282CD
tetradic
#CD5282 #C0CD52 #52CD9D #6052CD
square
#CD5282 #C0CD52 #52CD9D #6052CD
split-complementary
#CD5282 #52CD60 #52C0CD
monochromatic
#802548 #AF3363 #CD5282 #DB81A4 #E8B1C7

Accessibility & contrast

On white

4.10
#CD5282 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.12
#CD5282 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD5282
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD5282#FFFFFF#000000##000000
##CD52821.004.105.125.12
#FFFFFF4.101.0021.0021.00
#0000005.1221.001.001.00
##0000005.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#676F83
Deuteranopia (green-blind)
#88867F
Tritanopia (blue-blind)
#DD4765
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #cd5282;
/* rgb */ color: rgb(205, 82, 130);
/* oklch */ color: oklch(61.2% 0.162 358.7);
Tailwind
colors: {
  custom: {
    50: '#e088a6',
    500: '#cd5282',
    950: '#000000',
  },
}
SCSS
$custom: #cd5282;
$custom-light: #e088a6;
$custom-dark: #000000;
JSON
{
  "hex": "#cd5282",
  "rgb": {
    "r": 205,
    "g": 82,
    "b": 130
  },
  "hsl": {
    "h": 336.585,
    "s": 55.157,
    "l": 56.275
  },
  "oklch": {
    "l": 0.61204,
    "c": 0.16242,
    "h": 358.7
  },
  "luminance": 0.20625
}

Semantic roles & 50–950 ramp

primary
#CD5282
secondary
#A4D7C3
accent
#DEA449
background
#FEF8FA
surface
#FCF0F4
border
#D5CBCE
text
#160C0F
muted
#847D7F

Preview Lab

Preview with #CD5282

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

Preview Lab → · Contrast checker → · Palette generator →

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