#C0518D#C0518D

#C0518D is a mid, vivid pink. Relative luminance 0.190; OKLCH L 59.6% C 0.157 H 349.3°. Best body text is #000000 at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#C0518D
RGBrgb(192, 81, 141)
HSLhsl(328, 47%, 54%)
HSVhsv(328, 58%, 75%)
CMYKcmyk(0%, 57.8%, 26.6%, 24.7%)
CIE-LABlab(50.71, 50.96, -11.12)
CIE-LCHlch(50.71, 52.16, 347.69°)
OKLaboklab(59.56% 0.1541 -0.029)
OKLCHoklch(59.56% 0.157 349.3)
XYZxyz(29.4895, 19.0172, 27.3117)
Luminance0.1901 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C0518D #51C084
analogous
#BB51C0 #C0518D #C05155
triadic
#C0518D #8DC051 #518DC0
tetradic
#C0518D #C0BB51 #51C084 #5155C0
square
#C0518D #C0BB51 #51C084 #5155C0
split-complementary
#C0518D #55C051 #51C0BB
monochromatic
#6F284E #9B386E #C0518D #D07EAA #E1ABC8

Accessibility & contrast

On white

4.37
#C0518D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.80
#C0518D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C0518D
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C0518D#FFFFFF#000000##000000
##C0518D1.004.374.804.80
#FFFFFF4.371.0021.0021.00
#0000004.8021.001.001.00
##0000004.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E6D8F
Deuteranopia (green-blind)
#7D808A
Tritanopia (blue-blind)
#CD4D69
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #c0518d;
/* rgb */ color: rgb(192, 81, 141);
/* oklch */ color: oklch(59.6% 0.157 349.3);
Tailwind
colors: {
  custom: {
    50: '#d687ae',
    500: '#c0518d',
    950: '#000000',
  },
}
SCSS
$custom: #c0518d;
$custom-light: #d687ae;
$custom-dark: #000000;
JSON
{
  "hex": "#c0518d",
  "rgb": {
    "r": 192,
    "g": 81,
    "b": 141
  },
  "hsl": {
    "h": 327.568,
    "s": 46.835,
    "l": 53.529
  },
  "oklch": {
    "l": 0.5956,
    "c": 0.15677,
    "h": 349.3
  },
  "luminance": 0.19014
}

Semantic roles & 50–950 ramp

primary
#C0518D
secondary
#9FCEB4
accent
#D68F51
background
#FDF8FA
surface
#FBF0F4
border
#D4CBCE
text
#150C10
muted
#837D7F

Preview Lab

Preview with #C0518D

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

Preview Lab → · Contrast checker → · Palette generator →

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