#C8517E#C8517E

#C8517E is a mid, vivid pink. Relative luminance 0.197; OKLCH L 60.2% C 0.158 H 359.4°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#C8517E
RGBrgb(200, 81, 126)
HSLhsl(337, 52%, 55%)
HSVhsv(337, 60%, 78%)
CMYKcmyk(0%, 59.5%, 37%, 21.6%)
CIE-LABlab(51.47, 51.62, -0.90)
CIE-LCHlch(51.47, 51.63, 359.00°)
OKLaboklab(60.21% 0.1575 -0.0017)
OKLCHoklch(60.21% 0.158 359.4)
XYZxyz(30.5295, 19.6739, 21.9243)
Luminance0.1967 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8517E #51C89B
analogous
#C851B9 #C8517E #C86051
triadic
#C8517E #7EC851 #517EC8
tetradic
#C8517E #B9C851 #51C89B #6051C8
square
#C8517E #B9C851 #51C89B #6051C8
split-complementary
#C8517E #51C860 #51B9C8
monochromatic
#792645 #A73560 #C8517E #D780A0 #E5AEC3

Accessibility & contrast

On white

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

On black

4.93
#C8517E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C8517E
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8517E#FFFFFF#000000##000000
##C8517E1.004.264.934.93
#FFFFFF4.261.0021.0021.00
#0000004.9321.001.001.00
##0000004.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#666D7F
Deuteranopia (green-blind)
#85837B
Tritanopia (blue-blind)
#D74662
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #c8517e;
/* rgb */ color: rgb(200, 81, 126);
/* oklch */ color: oklch(60.2% 0.158 359.4);
Tailwind
colors: {
  custom: {
    50: '#dd87a3',
    500: '#c8517e',
    950: '#000000',
  },
}
SCSS
$custom: #c8517e;
$custom-light: #dd87a3;
$custom-dark: #000000;
JSON
{
  "hex": "#c8517e",
  "rgb": {
    "r": 200,
    "g": 81,
    "b": 126
  },
  "hsl": {
    "h": 337.311,
    "s": 51.965,
    "l": 55.098
  },
  "oklch": {
    "l": 0.6021,
    "c": 0.1575,
    "h": 359.4
  },
  "luminance": 0.19671
}

Semantic roles & 50–950 ramp

primary
#C8517E
secondary
#A1D3C0
accent
#DBA54C
background
#FEF8FA
surface
#FCF0F3
border
#D5CBCD
text
#160C0F
muted
#847D7F

Preview Lab

Preview with #C8517E

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

Preview Lab → · Contrast checker → · Palette generator →

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