#C7517E#C7517E

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

Color values

HEX#C7517E
RGBrgb(199, 81, 126)
HSLhsl(337, 51%, 55%)
HSVhsv(337, 59%, 78%)
CMYKcmyk(0%, 59.3%, 36.7%, 22%)
CIE-LABlab(51.31, 51.30, -1.15)
CIE-LCHlch(51.31, 51.31, 358.71°)
OKLaboklab(60.06% 0.1565 -0.0024)
OKLCHoklch(60.06% 0.157 359.1)
XYZxyz(30.2632, 19.5366, 21.9118)
Luminance0.1953 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7517E #51C79A
analogous
#C751B9 #C7517E #C75F51
triadic
#C7517E #7EC751 #517EC7
tetradic
#C7517E #B9C751 #51C79A #5F51C7
square
#C7517E #B9C751 #51C79A #5F51C7
split-complementary
#C7517E #51C75F #51B9C7
monochromatic
#772645 #A63560 #C7517E #D67FA0 #E5AEC3

Accessibility & contrast

On white

4.28
#C7517E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.91
#C7517E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C7517E
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7517E#FFFFFF#000000##000000
##C7517E1.004.284.914.91
#FFFFFF4.281.0021.0021.00
#0000004.9121.001.001.00
##0000004.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#656C7F
Deuteranopia (green-blind)
#85837B
Tritanopia (blue-blind)
#D64762
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #c7517e;
/* rgb */ color: rgb(199, 81, 126);
/* oklch */ color: oklch(60.1% 0.157 359.1);
Tailwind
colors: {
  custom: {
    50: '#dc87a3',
    500: '#c7517e',
    950: '#000000',
  },
}
SCSS
$custom: #c7517e;
$custom-light: #dc87a3;
$custom-dark: #000000;
JSON
{
  "hex": "#c7517e",
  "rgb": {
    "r": 199,
    "g": 81,
    "b": 126
  },
  "hsl": {
    "h": 337.119,
    "s": 51.304,
    "l": 54.902
  },
  "oklch": {
    "l": 0.60062,
    "c": 0.15651,
    "h": 359.1
  },
  "luminance": 0.19533
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C7517E

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

Preview Lab → · Contrast checker → · Palette generator →

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