#CD5294#CD5294

#CD5294 is a mid, vivid pink. Relative luminance 0.212; OKLCH L 61.8% C 0.171 H 349.9°. Best body text is #000000 at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#CD5294
RGBrgb(205, 82, 148)
HSLhsl(328, 55%, 56%)
HSVhsv(328, 60%, 80%)
CMYKcmyk(0%, 60%, 27.8%, 19.6%)
CIE-LABlab(53.12, 55.41, -11.44)
CIE-LCHlch(53.12, 56.57, 348.33°)
OKLaboklab(61.82% 0.1679 -0.0298)
OKLCHoklch(61.82% 0.171 349.9)
XYZxyz(33.5408, 21.1551, 30.3282)
Luminance0.2115 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD5294 #52CD8B
analogous
#C952CD #CD5294 #CD5257
triadic
#CD5294 #94CD52 #5294CD
tetradic
#CD5294 #CDC952 #52CD8B #5257CD
square
#CD5294 #CDC952 #52CD8B #5257CD
split-complementary
#CD5294 #57CD52 #52CDC9
monochromatic
#802556 #AF3375 #CD5294 #DB81B1 #E8B1CF

Accessibility & contrast

On white

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

On black

5.23
#CD5294 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD5294
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD5294#FFFFFF#000000##000000
##CD52941.004.015.235.23
#FFFFFF4.011.0021.0021.00
#0000005.2321.001.001.00
##0000005.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#627196
Deuteranopia (green-blind)
#848791
Tritanopia (blue-blind)
#DB4D6C
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #cd5294;
/* rgb */ color: rgb(205, 82, 148);
/* oklch */ color: oklch(61.8% 0.171 349.9);
Tailwind
colors: {
  custom: {
    50: '#e089b3',
    500: '#cd5294',
    950: '#000000',
  },
}
SCSS
$custom: #cd5294;
$custom-light: #e089b3;
$custom-dark: #000000;
JSON
{
  "hex": "#cd5294",
  "rgb": {
    "r": 205,
    "g": 82,
    "b": 148
  },
  "hsl": {
    "h": 327.805,
    "s": 55.157,
    "l": 56.275
  },
  "oklch": {
    "l": 0.61823,
    "c": 0.17056,
    "h": 349.9
  },
  "luminance": 0.21152
}

Semantic roles & 50–950 ramp

primary
#CD5294
secondary
#A4D7BC
accent
#DE8E49
background
#FEF8FB
surface
#FCF0F6
border
#D5CBD0
text
#160C11
muted
#847D80

Preview Lab

Preview with #CD5294

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

Preview Lab → · Contrast checker → · Palette generator →

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