#CD5291#CD5291

#CD5291 is a mid, vivid pink. Relative luminance 0.211; OKLCH L 61.7% C 0.169 H 351.3°. Best body text is #000000 at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#CD5291
RGBrgb(205, 82, 145)
HSLhsl(329, 55%, 56%)
HSVhsv(329, 60%, 80%)
CMYKcmyk(0%, 60%, 29.3%, 19.6%)
CIE-LABlab(53.02, 55.02, -9.82)
CIE-LCHlch(53.02, 55.89, 349.88°)
OKLaboklab(61.71% 0.1671 -0.0254)
OKLCHoklch(61.71% 0.169 351.3)
XYZxyz(33.3064, 21.0614, 29.0938)
Luminance0.2106 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD5291 #52CD8E
analogous
#CC52CD #CD5291 #CD5254
triadic
#CD5291 #91CD52 #5291CD
tetradic
#CD5291 #CDCC52 #52CD8E #5254CD
square
#CD5291 #CDCC52 #52CD8E #5254CD
split-complementary
#CD5291 #54CD52 #52CDCC
monochromatic
#802553 #AF3372 #CD5291 #DB81AF #E8B1CD

Accessibility & contrast

On white

4.03
#CD5291 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.21
#CD5291 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD5291
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD5291#FFFFFF#000000##000000
##CD52911.004.035.215.21
#FFFFFF4.031.0021.0021.00
#0000005.2121.001.001.00
##0000005.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#637193
Deuteranopia (green-blind)
#84878E
Tritanopia (blue-blind)
#DB4C6B
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #cd5291;
/* rgb */ color: rgb(205, 82, 145);
/* oklch */ color: oklch(61.7% 0.169 351.3);
Tailwind
colors: {
  custom: {
    50: '#e089b1',
    500: '#cd5291',
    950: '#000000',
  },
}
SCSS
$custom: #cd5291;
$custom-light: #e089b1;
$custom-dark: #000000;
JSON
{
  "hex": "#cd5291",
  "rgb": {
    "r": 205,
    "g": 82,
    "b": 145
  },
  "hsl": {
    "h": 329.268,
    "s": 55.157,
    "l": 56.275
  },
  "oklch": {
    "l": 0.61713,
    "c": 0.16899,
    "h": 351.3
  },
  "luminance": 0.21058
}

Semantic roles & 50–950 ramp

primary
#CD5291
secondary
#A4D7BD
accent
#DE9249
background
#FEF8FA
surface
#FCF0F5
border
#D5CBCF
text
#160C10
muted
#847D7F

Preview Lab

Preview with #CD5291

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

Preview Lab → · Contrast checker → · Palette generator →

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