#C931AF#C931AF

#C931AF is a mid, highly saturated pink. Relative luminance 0.177; OKLCH L 59.2% C 0.226 H 336.1°. Best body text is #FFFFFF at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#C931AF
RGBrgb(201, 49, 175)
HSLhsl(310, 61%, 49%)
HSVhsv(310, 76%, 79%)
CMYKcmyk(0%, 75.6%, 12.9%, 21.2%)
CIE-LABlab(49.15, 70.35, -33.54)
CIE-LCHlch(49.15, 77.94, 334.51°)
OKLaboklab(59.16% 0.2065 -0.0915)
OKLCHoklch(59.16% 0.226 336.1)
XYZxyz(32.9241, 17.7123, 42.2340)
Luminance0.1771 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C931AF #31C94B
analogous
#9731C9 #C931AF #C93163
triadic
#C931AF #AFC931 #31AFC9
tetradic
#C931AF #C99731 #31C94B #3163C9
square
#C931AF #C99731 #31C94B #3163C9
split-complementary
#C931AF #63C931 #31C997
monochromatic
#671959 #982584 #C931AF #D85FC3 #E490D6

Accessibility & contrast

On white

4.62
#C931AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.54
#C931AF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #C931AF
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C931AF#FFFFFF#000000##FFFFFF
##C931AF1.004.624.544.62
#FFFFFF4.621.0021.001.00
#0000004.5421.001.0021.00
##FFFFFF4.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3366B2
Deuteranopia (green-blind)
#6A7DAB
Tritanopia (blue-blind)
#D33D6D
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #c931af;
/* rgb */ color: rgb(201, 49, 175);
/* oklch */ color: oklch(59.2% 0.226 336.1);
Tailwind
colors: {
  custom: {
    50: '#de79c7',
    500: '#c931af',
    950: '#000000',
  },
}
SCSS
$custom: #c931af;
$custom-light: #de79c7;
$custom-dark: #000000;
JSON
{
  "hex": "#c931af",
  "rgb": {
    "r": 201,
    "g": 49,
    "b": 175
  },
  "hsl": {
    "h": 310.263,
    "s": 60.8,
    "l": 49.02
  },
  "oklch": {
    "l": 0.59157,
    "c": 0.22586,
    "h": 336.1
  },
  "luminance": 0.17709
}

Semantic roles & 50–950 ramp

primary
#C931AF
secondary
#87CF93
accent
#E45F44
background
#FEF7FC
surface
#FCEEF8
border
#D5C9D1
text
#160A13
muted
#847C82

Preview Lab

Preview with #C931AF

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

Preview Lab → · Contrast checker → · Palette generator →

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