#C731A9#C731A9

#C731A9 is a mid, highly saturated pink. Relative luminance 0.172; OKLCH L 58.5% C 0.221 H 337.6°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#C731A9
RGBrgb(199, 49, 169)
HSLhsl(312, 60%, 49%)
HSVhsv(312, 75%, 78%)
CMYKcmyk(0%, 75.4%, 15.1%, 22%)
CIE-LABlab(48.52, 69.06, -31.01)
CIE-LCHlch(48.52, 75.70, 335.82°)
OKLaboklab(58.55% 0.2041 -0.0843)
OKLCHoklch(58.55% 0.221 337.6)
XYZxyz(31.8136, 17.2063, 39.1741)
Luminance0.1720 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C731A9 #31C74F
analogous
#9A31C7 #C731A9 #C7315E
triadic
#C731A9 #A9C731 #31A9C7
tetradic
#C731A9 #C79A31 #31C74F #315EC7
square
#C731A9 #C79A31 #31C74F #315EC7
split-complementary
#C731A9 #5EC731 #31C79A
monochromatic
#651956 #96257F #C731A9 #D75EBF #E38FD3

Accessibility & contrast

On white

4.73
#C731A9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#C731A9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C731A9
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C731A9#FFFFFF#000000##FFFFFF
##C731A91.004.734.444.73
#FFFFFF4.731.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3765AC
Deuteranopia (green-blind)
#6B7BA6
Tritanopia (blue-blind)
#D23A6A
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #c731a9;
/* rgb */ color: rgb(199, 49, 169);
/* oklch */ color: oklch(58.5% 0.221 337.6);
Tailwind
colors: {
  custom: {
    50: '#dc79c3',
    500: '#c731a9',
    950: '#000000',
  },
}
SCSS
$custom: #c731a9;
$custom-light: #dc79c3;
$custom-dark: #000000;
JSON
{
  "hex": "#c731a9",
  "rgb": {
    "r": 199,
    "g": 49,
    "b": 169
  },
  "hsl": {
    "h": 312,
    "s": 60.484,
    "l": 48.627
  },
  "oklch": {
    "l": 0.58549,
    "c": 0.22077,
    "h": 337.6
  },
  "luminance": 0.17203
}

Semantic roles & 50–950 ramp

primary
#C731A9
secondary
#86CE94
accent
#E46444
background
#FEF7FC
surface
#FCEEF8
border
#D5C9D1
text
#160A12
muted
#847C81

Preview Lab

Preview with #C731A9

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

Preview Lab → · Contrast checker → · Palette generator →

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