#C9517D#C9517D

#C9517D is a mid, vivid pink. Relative luminance 0.198; OKLCH L 60.3% C 0.158 H 0.1°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#C9517D
RGBrgb(201, 81, 125)
HSLhsl(338, 53%, 55%)
HSVhsv(338, 60%, 79%)
CMYKcmyk(0%, 59.7%, 37.8%, 21.2%)
CIE-LABlab(51.59, 51.83, -0.10)
CIE-LCHlch(51.59, 51.83, 359.89°)
OKLaboklab(60.33% 0.1581 0.0004)
OKLCHoklch(60.33% 0.158 0.1)
XYZxyz(30.7333, 19.7864, 21.5987)
Luminance0.1978 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C9517D #51C99D
analogous
#C951B9 #C9517D #C96151
triadic
#C9517D #7DC951 #517DC9
tetradic
#C9517D #B9C951 #51C99D #6151C9
square
#C9517D #B9C951 #51C99D #6151C9
split-complementary
#C9517D #51C961 #51B9C9
monochromatic
#7A2645 #A9345F #C9517D #D780A0 #E6AEC3

Accessibility & contrast

On white

4.24
#C9517D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.96
#C9517D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C9517D
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C9517D#FFFFFF#000000##000000
##C9517D1.004.244.964.96
#FFFFFF4.241.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#666D7E
Deuteranopia (green-blind)
#86837A
Tritanopia (blue-blind)
#D94662
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #c9517d;
/* rgb */ color: rgb(201, 81, 125);
/* oklch */ color: oklch(60.3% 0.158 0.1);
Tailwind
colors: {
  custom: {
    50: '#dd87a2',
    500: '#c9517d',
    950: '#000000',
  },
}
SCSS
$custom: #c9517d;
$custom-light: #dd87a2;
$custom-dark: #000000;
JSON
{
  "hex": "#c9517d",
  "rgb": {
    "r": 201,
    "g": 81,
    "b": 125
  },
  "hsl": {
    "h": 338,
    "s": 52.632,
    "l": 55.294
  },
  "oklch": {
    "l": 0.60327,
    "c": 0.15814,
    "h": 0.1
  },
  "luminance": 0.19783
}

Semantic roles & 50–950 ramp

primary
#C9517D
secondary
#A2D4C2
accent
#DCA74C
background
#FEF8F9
surface
#FCF0F2
border
#D5CBCC
text
#160C0F
muted
#847D7E

Preview Lab

Preview with #C9517D

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

Preview Lab → · Contrast checker → · Palette generator →

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