#C9517E#C9517E

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

Color values

HEX#C9517E
RGBrgb(201, 81, 126)
HSLhsl(338, 53%, 55%)
HSVhsv(338, 60%, 79%)
CMYKcmyk(0%, 59.7%, 37.3%, 21.2%)
CIE-LABlab(51.62, 51.94, -0.65)
CIE-LCHlch(51.62, 51.94, 359.28°)
OKLaboklab(60.36% 0.1585 -0.0011)
OKLCHoklch(60.36% 0.158 359.6)
XYZxyz(30.7975, 19.8121, 21.9368)
Luminance0.1981 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C9517E #51C99C
analogous
#C951BA #C9517E #C96051
triadic
#C9517E #7EC951 #517EC9
tetradic
#C9517E #BAC951 #51C99C #6051C9
square
#C9517E #BAC951 #51C99C #6051C9
split-complementary
#C9517E #51C960 #51BAC9
monochromatic
#7A2645 #A93460 #C9517E #D780A1 #E6AEC3

Accessibility & contrast

On white

4.23
#C9517E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##C9517E#FFFFFF#000000##000000
##C9517E1.004.234.964.96
#FFFFFF4.231.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c9517e;
/* rgb */ color: rgb(201, 81, 126);
/* oklch */ color: oklch(60.4% 0.158 359.6);
Tailwind
colors: {
  custom: {
    50: '#dd87a3',
    500: '#c9517e',
    950: '#000000',
  },
}
SCSS
$custom: #c9517e;
$custom-light: #dd87a3;
$custom-dark: #000000;
JSON
{
  "hex": "#c9517e",
  "rgb": {
    "r": 201,
    "g": 81,
    "b": 126
  },
  "hsl": {
    "h": 337.5,
    "s": 52.632,
    "l": 55.294
  },
  "oklch": {
    "l": 0.60359,
    "c": 0.15848,
    "h": 359.6
  },
  "luminance": 0.19809
}

Semantic roles & 50–950 ramp

primary
#C9517E
secondary
#A2D4C1
accent
#DCA64C
background
#FEF8FA
surface
#FCF0F3
border
#D5CBCD
text
#160C0F
muted
#847D7F

Preview Lab

Preview with #C9517E

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

Preview Lab → · Contrast checker → · Palette generator →

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