#C0517D#C0517D

#C0517D is a mid, vivid pink. Relative luminance 0.186; OKLCH L 59.0% C 0.149 H 357.9°. Best body text is #000000 at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#C0517D
RGBrgb(192, 81, 125)
HSLhsl(336, 47%, 54%)
HSVhsv(336, 58%, 75%)
CMYKcmyk(0%, 57.8%, 34.9%, 24.7%)
CIE-LABlab(50.19, 48.92, -2.33)
CIE-LCHlch(50.19, 48.98, 357.27°)
OKLaboklab(59% 0.1491 -0.0055)
OKLCHoklch(59% 0.149 357.9)
XYZxyz(28.3838, 18.5749, 21.4886)
Luminance0.1857 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C0517D #51C094
analogous
#C051B4 #C0517D #C05C51
triadic
#C0517D #7DC051 #517DC0
tetradic
#C0517D #B4C051 #51C094 #5C51C0
square
#C0517D #B4C051 #51C094 #5C51C0
split-complementary
#C0517D #51C05C #51B4C0
monochromatic
#6F2844 #9B3860 #C0517D #D07E9F #E1ABC0

Accessibility & contrast

On white

4.45
#C0517D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.71
#C0517D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C0517D
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C0517D#FFFFFF#000000##000000
##C0517D1.004.454.714.71
#FFFFFF4.451.0021.0021.00
#0000004.7121.001.001.00
##0000004.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#636A7E
Deuteranopia (green-blind)
#807F7A
Tritanopia (blue-blind)
#CE4862
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #c0517d;
/* rgb */ color: rgb(192, 81, 125);
/* oklch */ color: oklch(59.0% 0.149 357.9);
Tailwind
colors: {
  custom: {
    50: '#d787a2',
    500: '#c0517d',
    950: '#000000',
  },
}
SCSS
$custom: #c0517d;
$custom-light: #d787a2;
$custom-dark: #000000;
JSON
{
  "hex": "#c0517d",
  "rgb": {
    "r": 192,
    "g": 81,
    "b": 125
  },
  "hsl": {
    "h": 336.216,
    "s": 46.835,
    "l": 53.529
  },
  "oklch": {
    "l": 0.59,
    "c": 0.14916,
    "h": 357.9
  },
  "luminance": 0.18572
}

Semantic roles & 50–950 ramp

primary
#C0517D
secondary
#9FCEBB
accent
#D6A251
background
#FDF8F9
surface
#FBF0F2
border
#D4CBCC
text
#150C0F
muted
#837D7E

Preview Lab

Preview with #C0517D

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

Preview Lab → · Contrast checker → · Palette generator →

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