#C0518E#C0518E

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

Color values

HEX#C0518E
RGBrgb(192, 81, 142)
HSLhsl(327, 47%, 54%)
HSVhsv(327, 58%, 75%)
CMYKcmyk(0%, 57.8%, 26%, 24.7%)
CIE-LABlab(50.74, 51.09, -11.66)
CIE-LCHlch(50.74, 52.41, 347.14°)
OKLaboklab(59.6% 0.1543 -0.0305)
OKLCHoklch(59.6% 0.157 348.8)
XYZxyz(29.5642, 19.0471, 27.7054)
Luminance0.1904 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C0518E #51C083
analogous
#BA51C0 #C0518E #C05156
triadic
#C0518E #8EC051 #518EC0
tetradic
#C0518E #C0BA51 #51C083 #5156C0
square
#C0518E #C0BA51 #51C083 #5156C0
split-complementary
#C0518E #56C051 #51C0BA
monochromatic
#6F284F #9B386F #C0518E #D07EAB #E1ABC8

Accessibility & contrast

On white

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

On black

4.81
#C0518E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C0518E
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C0518E#FFFFFF#000000##000000
##C0518E1.004.374.814.81
#FFFFFF4.371.0021.0021.00
#0000004.8121.001.001.00
##0000004.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E6D90
Deuteranopia (green-blind)
#7C808B
Tritanopia (blue-blind)
#CC4D69
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #c0518e;
/* rgb */ color: rgb(192, 81, 142);
/* oklch */ color: oklch(59.6% 0.157 348.8);
Tailwind
colors: {
  custom: {
    50: '#d687af',
    500: '#c0518e',
    950: '#000000',
  },
}
SCSS
$custom: #c0518e;
$custom-light: #d687af;
$custom-dark: #000000;
JSON
{
  "hex": "#c0518e",
  "rgb": {
    "r": 192,
    "g": 81,
    "b": 142
  },
  "hsl": {
    "h": 327.027,
    "s": 46.835,
    "l": 53.529
  },
  "oklch": {
    "l": 0.59597,
    "c": 0.15733,
    "h": 348.8
  },
  "luminance": 0.19044
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C0518E

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

Preview Lab → · Contrast checker → · Palette generator →

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