#C0518F#C0518F

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

Color values

HEX#C0518F
RGBrgb(192, 81, 143)
HSLhsl(326, 47%, 54%)
HSVhsv(326, 58%, 75%)
CMYKcmyk(0%, 57.8%, 25.5%, 24.7%)
CIE-LABlab(50.78, 51.23, -12.20)
CIE-LCHlch(50.78, 52.66, 346.60°)
OKLaboklab(59.64% 0.1546 -0.032)
OKLCHoklch(59.64% 0.158 348.3)
XYZxyz(29.6396, 19.0773, 28.1026)
Luminance0.1907 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C0518F #51C082
analogous
#B951C0 #C0518F #C05157
triadic
#C0518F #8FC051 #518FC0
tetradic
#C0518F #C0B951 #51C082 #5157C0
square
#C0518F #C0B951 #51C082 #5157C0
split-complementary
#C0518F #57C051 #51C0B9
monochromatic
#6F284F #9B3870 #C0518F #D07EAC #E1ABC9

Accessibility & contrast

On white

4.36
#C0518F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##C0518F#FFFFFF#000000##000000
##C0518F1.004.364.814.81
#FFFFFF4.361.0021.0021.00
#0000004.8121.001.001.00
##0000004.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D6D91
Deuteranopia (green-blind)
#7C808C
Tritanopia (blue-blind)
#CC4E6A
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #c0518f;
/* rgb */ color: rgb(192, 81, 143);
/* oklch */ color: oklch(59.6% 0.158 348.3);
Tailwind
colors: {
  custom: {
    50: '#d687af',
    500: '#c0518f',
    950: '#000000',
  },
}
SCSS
$custom: #c0518f;
$custom-light: #d687af;
$custom-dark: #000000;
JSON
{
  "hex": "#c0518f",
  "rgb": {
    "r": 192,
    "g": 81,
    "b": 143
  },
  "hsl": {
    "h": 326.486,
    "s": 46.835,
    "l": 53.529
  },
  "oklch": {
    "l": 0.59635,
    "c": 0.1579,
    "h": 348.3
  },
  "luminance": 0.19074
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C0518F

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

Preview Lab → · Contrast checker → · Palette generator →

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