#C8517C#C8517C

#C8517C is a mid, vivid pink. Relative luminance 0.196; OKLCH L 60.1% C 0.157 H 0.4°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#C8517C
RGBrgb(200, 81, 124)
HSLhsl(338, 52%, 55%)
HSVhsv(338, 60%, 78%)
CMYKcmyk(0%, 59.5%, 38%, 21.6%)
CIE-LABlab(51.41, 51.39, 0.21)
CIE-LCHlch(51.41, 51.39, 0.23°)
OKLaboklab(60.15% 0.1568 0.0012)
OKLCHoklch(60.15% 0.157 0.4)
XYZxyz(30.4017, 19.6228, 21.2514)
Luminance0.1962 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8517C #51C89D
analogous
#C851B8 #C8517C #C86151
triadic
#C8517C #7CC851 #517CC8
tetradic
#C8517C #B8C851 #51C89D #6151C8
square
#C8517C #B8C851 #51C89D #6151C8
split-complementary
#C8517C #51C861 #51B8C8
monochromatic
#792644 #A7355E #C8517C #D7809F #E5AEC2

Accessibility & contrast

On white

4.26
#C8517C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.92
#C8517C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C8517C
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8517C#FFFFFF#000000##000000
##C8517C1.004.264.924.92
#FFFFFF4.261.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#666C7D
Deuteranopia (green-blind)
#868379
Tritanopia (blue-blind)
#D74662
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #c8517c;
/* rgb */ color: rgb(200, 81, 124);
/* oklch */ color: oklch(60.1% 0.157 0.4);
Tailwind
colors: {
  custom: {
    50: '#dd87a1',
    500: '#c8517c',
    950: '#000000',
  },
}
SCSS
$custom: #c8517c;
$custom-light: #dd87a1;
$custom-dark: #000000;
JSON
{
  "hex": "#c8517c",
  "rgb": {
    "r": 200,
    "g": 81,
    "b": 124
  },
  "hsl": {
    "h": 338.319,
    "s": 51.965,
    "l": 55.098
  },
  "oklch": {
    "l": 0.60148,
    "c": 0.1568,
    "h": 0.4
  },
  "luminance": 0.19619
}

Semantic roles & 50–950 ramp

primary
#C8517C
secondary
#A1D3C1
accent
#DBA84C
background
#FEF8F9
surface
#FCF0F2
border
#D5CBCC
text
#160C0F
muted
#847D7E

Preview Lab

Preview with #C8517C

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

Preview Lab → · Contrast checker → · Palette generator →

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