#CD5299#CD5299

#CD5299 is a light, vivid pink. Relative luminance 0.213; OKLCH L 62.0% C 0.173 H 347.6°. Best body text is #000000 at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#CD5299
RGBrgb(205, 82, 153)
HSLhsl(325, 55%, 56%)
HSVhsv(325, 60%, 80%)
CMYKcmyk(0%, 60%, 25.4%, 19.6%)
CIE-LABlab(53.29, 56.06, -14.13)
CIE-LCHlch(53.29, 57.81, 345.85°)
OKLaboklab(62.01% 0.1693 -0.0371)
OKLCHoklch(62.01% 0.173 347.6)
XYZxyz(33.9452, 21.3169, 32.4577)
Luminance0.2131 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD5299 #52CD86
analogous
#C452CD #CD5299 #CD525C
triadic
#CD5299 #99CD52 #5299CD
tetradic
#CD5299 #CDC452 #52CD86 #525CCD
square
#CD5299 #CDC452 #52CD86 #525CCD
split-complementary
#CD5299 #5CCD52 #52CDC4
monochromatic
#802559 #AF337B #CD5299 #DB81B5 #E8B1D1

Accessibility & contrast

On white

3.99
#CD5299 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.26
#CD5299 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD5299
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD5299#FFFFFF#000000##000000
##CD52991.003.995.265.26
#FFFFFF3.991.0021.0021.00
#0000005.2621.001.001.00
##0000005.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#60729B
Deuteranopia (green-blind)
#828796
Tritanopia (blue-blind)
#DA4F6F
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #cd5299;
/* rgb */ color: rgb(205, 82, 153);
/* oklch */ color: oklch(62.0% 0.173 347.6);
Tailwind
colors: {
  custom: {
    50: '#e089b7',
    500: '#cd5299',
    950: '#000000',
  },
}
SCSS
$custom: #cd5299;
$custom-light: #e089b7;
$custom-dark: #000000;
JSON
{
  "hex": "#cd5299",
  "rgb": {
    "r": 205,
    "g": 82,
    "b": 153
  },
  "hsl": {
    "h": 325.366,
    "s": 55.157,
    "l": 56.275
  },
  "oklch": {
    "l": 0.6201,
    "c": 0.17332,
    "h": 347.6
  },
  "luminance": 0.21314
}

Semantic roles & 50–950 ramp

primary
#CD5299
secondary
#A4D7B9
accent
#DE8849
background
#FEF8FB
surface
#FCF0F6
border
#D5CBD0
text
#160C11
muted
#847D80

Preview Lab

Preview with #CD5299

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

Preview Lab → · Contrast checker → · Palette generator →

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