#C731AA#C731AA

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

Color values

HEX#C731AA
RGBrgb(199, 49, 170)
HSLhsl(312, 60%, 49%)
HSVhsv(312, 75%, 78%)
CMYKcmyk(0%, 75.4%, 14.6%, 22%)
CIE-LABlab(48.57, 69.20, -31.52)
CIE-LCHlch(48.57, 76.04, 335.51°)
OKLaboklab(58.6% 0.2042 -0.0858)
OKLCHoklch(58.6% 0.221 337.2)
XYZxyz(31.9078, 17.2440, 39.6704)
Luminance0.1724 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C731AA #31C74E
analogous
#9931C7 #C731AA #C7315F
triadic
#C731AA #AAC731 #31AAC7
tetradic
#C731AA #C79931 #31C74E #315FC7
square
#C731AA #C79931 #31C74E #315FC7
split-complementary
#C731AA #5FC731 #31C799
monochromatic
#651956 #962580 #C731AA #D75EC0 #E38FD3

Accessibility & contrast

On white

4.72
#C731AA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.45
#C731AA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C731AA
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C731AA#FFFFFF#000000##FFFFFF
##C731AA1.004.724.454.72
#FFFFFF4.721.0021.001.00
#0000004.4521.001.0021.00
##FFFFFF4.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3665AD
Deuteranopia (green-blind)
#6A7BA7
Tritanopia (blue-blind)
#D23B6B
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #c731aa;
/* rgb */ color: rgb(199, 49, 170);
/* oklch */ color: oklch(58.6% 0.221 337.2);
Tailwind
colors: {
  custom: {
    50: '#dc79c3',
    500: '#c731aa',
    950: '#000000',
  },
}
SCSS
$custom: #c731aa;
$custom-light: #dc79c3;
$custom-dark: #000000;
JSON
{
  "hex": "#c731aa",
  "rgb": {
    "r": 199,
    "g": 49,
    "b": 170
  },
  "hsl": {
    "h": 311.6,
    "s": 60.484,
    "l": 48.627
  },
  "oklch": {
    "l": 0.58598,
    "c": 0.22143,
    "h": 337.2
  },
  "luminance": 0.17241
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C731AA

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

Preview Lab → · Contrast checker → · Palette generator →

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