#C8517F#C8517F

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

Color values

HEX#C8517F
RGBrgb(200, 81, 127)
HSLhsl(337, 52%, 55%)
HSVhsv(337, 60%, 78%)
CMYKcmyk(0%, 59.5%, 36.5%, 21.6%)
CIE-LABlab(51.50, 51.73, -1.46)
CIE-LCHlch(51.50, 51.75, 358.39°)
OKLaboklab(60.24% 0.1578 -0.0032)
OKLCHoklch(60.24% 0.158 358.8)
XYZxyz(30.5943, 19.6998, 22.2658)
Luminance0.1970 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8517F #51C89A
analogous
#C851BA #C8517F #C85F51
triadic
#C8517F #7FC851 #517FC8
tetradic
#C8517F #BAC851 #51C89A #5F51C8
square
#C8517F #BAC851 #51C89A #5F51C8
split-complementary
#C8517F #51C85F #51BAC8
monochromatic
#792646 #A73561 #C8517F #D780A1 #E5AEC3

Accessibility & contrast

On white

4.25
#C8517F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.94
#C8517F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C8517F
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8517F#FFFFFF#000000##000000
##C8517F1.004.254.944.94
#FFFFFF4.251.0021.0021.00
#0000004.9421.001.001.00
##0000004.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#656D80
Deuteranopia (green-blind)
#85837C
Tritanopia (blue-blind)
#D74763
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #c8517f;
/* rgb */ color: rgb(200, 81, 127);
/* oklch */ color: oklch(60.2% 0.158 358.8);
Tailwind
colors: {
  custom: {
    50: '#dd87a4',
    500: '#c8517f',
    950: '#000000',
  },
}
SCSS
$custom: #c8517f;
$custom-light: #dd87a4;
$custom-dark: #000000;
JSON
{
  "hex": "#c8517f",
  "rgb": {
    "r": 200,
    "g": 81,
    "b": 127
  },
  "hsl": {
    "h": 336.807,
    "s": 51.965,
    "l": 55.098
  },
  "oklch": {
    "l": 0.60242,
    "c": 0.15785,
    "h": 358.8
  },
  "luminance": 0.19697
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C8517F

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

Preview Lab → · Contrast checker → · Palette generator →

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