#C6517C#C6517C

#C6517C is a mid, vivid pink. Relative luminance 0.193; OKLCH L 59.9% C 0.155 H 360.0°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#C6517C
RGBrgb(198, 81, 124)
HSLhsl(338, 51%, 55%)
HSVhsv(338, 59%, 78%)
CMYKcmyk(0%, 59.1%, 37.4%, 22.4%)
CIE-LABlab(51.09, 50.75, -0.29)
CIE-LCHlch(51.09, 50.75, 359.67°)
OKLaboklab(59.85% 0.1548 -0.0001)
OKLCHoklch(59.85% 0.155 0)
XYZxyz(29.8710, 19.3491, 21.2265)
Luminance0.1935 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C6517C #51C69B
analogous
#C651B6 #C6517C #C66151
triadic
#C6517C #7CC651 #517CC6
tetradic
#C6517C #B6C651 #51C69B #6151C6
square
#C6517C #B6C651 #51C69B #6151C6
split-complementary
#C6517C #51C661 #51B6C6
monochromatic
#762744 #A4365E #C6517C #D57F9F #E4ADC1

Accessibility & contrast

On white

4.31
#C6517C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.87
#C6517C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C6517C
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C6517C#FFFFFF#000000##000000
##C6517C1.004.314.874.87
#FFFFFF4.311.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#656C7D
Deuteranopia (green-blind)
#848279
Tritanopia (blue-blind)
#D54661
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #c6517c;
/* rgb */ color: rgb(198, 81, 124);
/* oklch */ color: oklch(59.9% 0.155 360.0);
Tailwind
colors: {
  custom: {
    50: '#db87a1',
    500: '#c6517c',
    950: '#000000',
  },
}
SCSS
$custom: #c6517c;
$custom-light: #db87a1;
$custom-dark: #000000;
JSON
{
  "hex": "#c6517c",
  "rgb": {
    "r": 198,
    "g": 81,
    "b": 124
  },
  "hsl": {
    "h": 337.949,
    "s": 50.649,
    "l": 54.706
  },
  "oklch": {
    "l": 0.59851,
    "c": 0.1548,
    "h": 360
  },
  "luminance": 0.19346
}

Semantic roles & 50–950 ramp

primary
#C6517C
secondary
#A1D2C0
accent
#DAA74E
background
#FDF8F9
surface
#FBF0F2
border
#D4CBCC
text
#150C0F
muted
#837D7E

Preview Lab

Preview with #C6517C

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

Preview Lab → · Contrast checker → · Palette generator →

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