#CD5196#CD5196

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

Color values

HEX#CD5196
RGBrgb(205, 81, 150)
HSLhsl(327, 55%, 56%)
HSVhsv(327, 60%, 80%)
CMYKcmyk(0%, 60.5%, 26.8%, 19.6%)
CIE-LABlab(53.03, 56.11, -12.77)
CIE-LCHlch(53.03, 57.54, 347.18°)
OKLaboklab(61.78% 0.1698 -0.0334)
OKLCHoklch(61.78% 0.173 348.9)
XYZxyz(33.6256, 21.0693, 31.1441)
Luminance0.2107 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD5196 #51CD88
analogous
#C651CD #CD5196 #CD5158
triadic
#CD5196 #96CD51 #5196CD
tetradic
#CD5196 #CDC651 #51CD88 #5158CD
square
#CD5196 #CDC651 #51CD88 #5158CD
split-complementary
#CD5196 #58CD51 #51CDC6
monochromatic
#7F2557 #AF3277 #CD5196 #DB81B3 #E8B0CF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CD5196#FFFFFF#000000##000000
##CD51961.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)
#607198
Deuteranopia (green-blind)
#838793
Tritanopia (blue-blind)
#DB4D6D
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #cd5196;
/* rgb */ color: rgb(205, 81, 150);
/* oklch */ color: oklch(61.8% 0.173 348.9);
Tailwind
colors: {
  custom: {
    50: '#e088b5',
    500: '#cd5196',
    950: '#000000',
  },
}
SCSS
$custom: #cd5196;
$custom-light: #e088b5;
$custom-dark: #000000;
JSON
{
  "hex": "#cd5196",
  "rgb": {
    "r": 205,
    "g": 81,
    "b": 150
  },
  "hsl": {
    "h": 326.613,
    "s": 55.357,
    "l": 56.078
  },
  "oklch": {
    "l": 0.61776,
    "c": 0.17309,
    "h": 348.9
  },
  "luminance": 0.21066
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CD5196

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

Preview Lab → · Contrast checker → · Palette generator →

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