#CD5195#CD5195

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

Color values

HEX#CD5195
RGBrgb(205, 81, 149)
HSLhsl(327, 55%, 56%)
HSVhsv(327, 60%, 80%)
CMYKcmyk(0%, 60.5%, 27.3%, 19.6%)
CIE-LABlab(52.99, 55.98, -12.23)
CIE-LCHlch(52.99, 57.30, 347.68°)
OKLaboklab(61.74% 0.1696 -0.0319)
OKLCHoklch(61.74% 0.173 349.3)
XYZxyz(33.5455, 21.0372, 30.7219)
Luminance0.2103 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD5195 #51CD89
analogous
#C751CD #CD5195 #CD5157
triadic
#CD5195 #95CD51 #5195CD
tetradic
#CD5195 #CDC751 #51CD89 #5157CD
square
#CD5195 #CDC751 #51CD89 #5157CD
split-complementary
#CD5195 #57CD51 #51CDC7
monochromatic
#7F2556 #AF3276 #CD5195 #DB81B2 #E8B0CF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CD5195#FFFFFF#000000##000000
##CD51951.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)
#607197
Deuteranopia (green-blind)
#838792
Tritanopia (blue-blind)
#DB4C6C
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #cd5195;
/* rgb */ color: rgb(205, 81, 149);
/* oklch */ color: oklch(61.7% 0.173 349.3);
Tailwind
colors: {
  custom: {
    50: '#e088b4',
    500: '#cd5195',
    950: '#000000',
  },
}
SCSS
$custom: #cd5195;
$custom-light: #e088b4;
$custom-dark: #000000;
JSON
{
  "hex": "#cd5195",
  "rgb": {
    "r": 205,
    "g": 81,
    "b": 149
  },
  "hsl": {
    "h": 327.097,
    "s": 55.357,
    "l": 56.078
  },
  "oklch": {
    "l": 0.61739,
    "c": 0.17255,
    "h": 349.3
  },
  "luminance": 0.21034
}

Semantic roles & 50–950 ramp

primary
#CD5195
secondary
#A3D7BA
accent
#DF8D49
background
#FEF8FB
surface
#FCF0F6
border
#D5CBD0
text
#160C11
muted
#847D80

Preview Lab

Preview with #CD5195

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

Preview Lab → · Contrast checker → · Palette generator →

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