#CD5296#CD5296

#CD5296 is a mid, vivid pink. Relative luminance 0.212; OKLCH L 61.9% C 0.172 H 349.0°. Best body text is #000000 at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#CD5296
RGBrgb(205, 82, 150)
HSLhsl(327, 55%, 56%)
HSVhsv(327, 60%, 80%)
CMYKcmyk(0%, 60%, 26.8%, 19.6%)
CIE-LABlab(53.19, 55.67, -12.52)
CIE-LCHlch(53.19, 57.06, 347.32°)
OKLaboklab(61.9% 0.1685 -0.0327)
OKLCHoklch(61.9% 0.172 349)
XYZxyz(33.7005, 21.2190, 31.1691)
Luminance0.2122 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD5296 #52CD89
analogous
#C752CD #CD5296 #CD5259
triadic
#CD5296 #96CD52 #5296CD
tetradic
#CD5296 #CDC752 #52CD89 #5259CD
square
#CD5296 #CDC752 #52CD89 #5259CD
split-complementary
#CD5296 #59CD52 #52CDC7
monochromatic
#802557 #AF3377 #CD5296 #DB81B3 #E8B1D0

Accessibility & contrast

On white

4.01
#CD5296 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.24
#CD5296 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD5296
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD5296#FFFFFF#000000##000000
##CD52961.004.015.245.24
#FFFFFF4.011.0021.0021.00
#0000005.2421.001.001.00
##0000005.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#617198
Deuteranopia (green-blind)
#838793
Tritanopia (blue-blind)
#DB4E6D
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #cd5296;
/* rgb */ color: rgb(205, 82, 150);
/* oklch */ color: oklch(61.9% 0.172 349.0);
Tailwind
colors: {
  custom: {
    50: '#e089b5',
    500: '#cd5296',
    950: '#000000',
  },
}
SCSS
$custom: #cd5296;
$custom-light: #e089b5;
$custom-dark: #000000;
JSON
{
  "hex": "#cd5296",
  "rgb": {
    "r": 205,
    "g": 82,
    "b": 150
  },
  "hsl": {
    "h": 326.829,
    "s": 55.157,
    "l": 56.275
  },
  "oklch": {
    "l": 0.61897,
    "c": 0.17163,
    "h": 349
  },
  "luminance": 0.21216
}

Semantic roles & 50–950 ramp

primary
#CD5296
secondary
#A4D7BB
accent
#DE8C49
background
#FEF8FB
surface
#FCF0F6
border
#D5CBD0
text
#160C11
muted
#847D80

Preview Lab

Preview with #CD5296

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

Preview Lab → · Contrast checker → · Palette generator →

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