#C931AB#C931AB

#C931AB is a mid, highly saturated pink. Relative luminance 0.176; OKLCH L 59.0% C 0.223 H 337.4°. Best body text is #FFFFFF at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#C931AB
RGBrgb(201, 49, 171)
HSLhsl(312, 61%, 49%)
HSVhsv(312, 76%, 79%)
CMYKcmyk(0%, 75.6%, 14.9%, 21.2%)
CIE-LABlab(48.95, 69.79, -31.48)
CIE-LCHlch(48.95, 76.56, 335.72°)
OKLaboklab(58.96% 0.2061 -0.0856)
OKLCHoklch(58.96% 0.223 337.4)
XYZxyz(32.5371, 17.5575, 40.1955)
Luminance0.1755 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C931AB #31C94F
analogous
#9B31C9 #C931AB #C9315F
triadic
#C931AB #ABC931 #31ABC9
tetradic
#C931AB #C99B31 #31C94F #315FC9
square
#C931AB #C99B31 #31C94F #315FC9
split-complementary
#C931AB #5FC931 #31C99B
monochromatic
#671957 #982581 #C931AB #D85FC0 #E490D4

Accessibility & contrast

On white

4.66
#C931AB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.51
#C931AB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #C931AB
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C931AB#FFFFFF#000000##FFFFFF
##C931AB1.004.664.514.66
#FFFFFF4.661.0021.001.00
#0000004.5121.001.0021.00
##FFFFFF4.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3765AE
Deuteranopia (green-blind)
#6B7DA7
Tritanopia (blue-blind)
#D43A6B
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #c931ab;
/* rgb */ color: rgb(201, 49, 171);
/* oklch */ color: oklch(59.0% 0.223 337.4);
Tailwind
colors: {
  custom: {
    50: '#de79c4',
    500: '#c931ab',
    950: '#000000',
  },
}
SCSS
$custom: #c931ab;
$custom-light: #de79c4;
$custom-dark: #000000;
JSON
{
  "hex": "#c931ab",
  "rgb": {
    "r": 201,
    "g": 49,
    "b": 171
  },
  "hsl": {
    "h": 311.842,
    "s": 60.8,
    "l": 49.02
  },
  "oklch": {
    "l": 0.58958,
    "c": 0.22321,
    "h": 337.4
  },
  "luminance": 0.17554
}

Semantic roles & 50–950 ramp

primary
#C931AB
secondary
#87CF95
accent
#E46344
background
#FEF7FC
surface
#FCEEF8
border
#D5C9D1
text
#160A12
muted
#847C81

Preview Lab

Preview with #C931AB

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

Preview Lab → · Contrast checker → · Palette generator →

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