#C0517C#C0517C

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

Color values

HEX#C0517C
RGBrgb(192, 81, 124)
HSLhsl(337, 47%, 54%)
HSVhsv(337, 58%, 75%)
CMYKcmyk(0%, 57.8%, 35.4%, 24.7%)
CIE-LABlab(50.16, 48.80, -1.77)
CIE-LCHlch(50.16, 48.83, 357.92°)
OKLaboklab(58.97% 0.1487 -0.004)
OKLCHoklch(58.97% 0.149 358.4)
XYZxyz(28.3203, 18.5495, 21.1538)
Luminance0.1855 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C0517C #51C095
analogous
#C051B3 #C0517C #C05D51
triadic
#C0517C #7CC051 #517CC0
tetradic
#C0517C #B3C051 #51C095 #5D51C0
square
#C0517C #B3C051 #51C095 #5D51C0
split-complementary
#C0517C #51C05D #51B3C0
monochromatic
#6F2843 #9B385F #C0517C #D07E9E #E1ABC0

Accessibility & contrast

On white

4.46
#C0517C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##C0517C#FFFFFF#000000##000000
##C0517C1.004.464.714.71
#FFFFFF4.461.0021.0021.00
#0000004.7121.001.001.00
##0000004.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#636A7D
Deuteranopia (green-blind)
#817F79
Tritanopia (blue-blind)
#CE4861
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #c0517c;
/* rgb */ color: rgb(192, 81, 124);
/* oklch */ color: oklch(59.0% 0.149 358.4);
Tailwind
colors: {
  custom: {
    50: '#d787a1',
    500: '#c0517c',
    950: '#000000',
  },
}
SCSS
$custom: #c0517c;
$custom-light: #d787a1;
$custom-dark: #000000;
JSON
{
  "hex": "#c0517c",
  "rgb": {
    "r": 192,
    "g": 81,
    "b": 124
  },
  "hsl": {
    "h": 336.757,
    "s": 46.835,
    "l": 53.529
  },
  "oklch": {
    "l": 0.58968,
    "c": 0.14877,
    "h": 358.4
  },
  "luminance": 0.18547
}

Semantic roles & 50–950 ramp

primary
#C0517C
secondary
#9FCEBC
accent
#D6A351
background
#FDF8F9
surface
#FBF0F2
border
#D4CBCC
text
#150C0F
muted
#837D7E

Preview Lab

Preview with #C0517C

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

Preview Lab → · Contrast checker → · Palette generator →

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