#CD5295#CD5295

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

Color values

HEX#CD5295
RGBrgb(205, 82, 149)
HSLhsl(327, 55%, 56%)
HSVhsv(327, 60%, 80%)
CMYKcmyk(0%, 60%, 27.3%, 19.6%)
CIE-LABlab(53.15, 55.53, -11.98)
CIE-LCHlch(53.15, 56.81, 347.82°)
OKLaboklab(61.86% 0.1682 -0.0313)
OKLCHoklch(61.86% 0.171 349.5)
XYZxyz(33.6203, 21.1869, 30.7468)
Luminance0.2118 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD5295 #52CD8A
analogous
#C852CD #CD5295 #CD5258
triadic
#CD5295 #95CD52 #5295CD
tetradic
#CD5295 #CDC852 #52CD8A #5258CD
square
#CD5295 #CDC852 #52CD8A #5258CD
split-complementary
#CD5295 #58CD52 #52CDC8
monochromatic
#802556 #AF3376 #CD5295 #DB81B2 #E8B1CF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CD5295#FFFFFF#000000##000000
##CD52951.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)
#617197
Deuteranopia (green-blind)
#838792
Tritanopia (blue-blind)
#DB4D6D
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #cd5295;
/* rgb */ color: rgb(205, 82, 149);
/* oklch */ color: oklch(61.9% 0.171 349.5);
Tailwind
colors: {
  custom: {
    50: '#e089b4',
    500: '#cd5295',
    950: '#000000',
  },
}
SCSS
$custom: #cd5295;
$custom-light: #e089b4;
$custom-dark: #000000;
JSON
{
  "hex": "#cd5295",
  "rgb": {
    "r": 205,
    "g": 82,
    "b": 149
  },
  "hsl": {
    "h": 327.317,
    "s": 55.157,
    "l": 56.275
  },
  "oklch": {
    "l": 0.6186,
    "c": 0.17109,
    "h": 349.5
  },
  "luminance": 0.21184
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CD5295

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

Preview Lab → · Contrast checker → · Palette generator →

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