#C031A6#C031A6

#C031A6 is a mid, highly saturated pink. Relative luminance 0.162; OKLCH L 57.3% C 0.215 H 336.5°. Best body text is #FFFFFF at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#C031A6
RGBrgb(192, 49, 166)
HSLhsl(311, 59%, 47%)
HSVhsv(311, 74%, 75%)
CMYKcmyk(0%, 74.5%, 13.5%, 24.7%)
CIE-LABlab(47.18, 67.03, -31.41)
CIE-LCHlch(47.18, 74.03, 334.89°)
OKLaboklab(57.31% 0.1971 -0.0856)
OKLCHoklch(57.31% 0.215 336.5)
XYZxyz(29.7200, 16.1590, 37.6228)
Luminance0.1616 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C031A6 #31C04B
analogous
#9331C0 #C031A6 #C0315F
triadic
#C031A6 #A6C031 #31A6C0
tetradic
#C031A6 #C09331 #31C04B #315FC0
square
#C031A6 #C09331 #31C04B #315FC0
split-complementary
#C031A6 #5FC031 #31C093
monochromatic
#5E1852 #8F257C #C031A6 #D559BE #E18AD1

Accessibility & contrast

On white

4.96
#C031A6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.23
#C031A6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C031A6
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C031A6#FFFFFF#000000##FFFFFF
##C031A61.004.964.234.96
#FFFFFF4.961.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3462A9
Deuteranopia (green-blind)
#6678A3
Tritanopia (blue-blind)
#CA3B68
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #c031a6;
/* rgb */ color: rgb(192, 49, 166);
/* oklch */ color: oklch(57.3% 0.215 336.5);
Tailwind
colors: {
  custom: {
    50: '#d778c1',
    500: '#c031a6',
    950: '#000000',
  },
}
SCSS
$custom: #c031a6;
$custom-light: #d778c1;
$custom-dark: #000000;
JSON
{
  "hex": "#c031a6",
  "rgb": {
    "r": 192,
    "g": 49,
    "b": 166
  },
  "hsl": {
    "h": 310.909,
    "s": 59.336,
    "l": 47.255
  },
  "oklch": {
    "l": 0.57314,
    "c": 0.21484,
    "h": 336.5
  },
  "luminance": 0.16156
}

Semantic roles & 50–950 ramp

primary
#C031A6
secondary
#82CB8F
accent
#E36245
background
#FDF7FB
surface
#FBEEF7
border
#D4C9D0
text
#150A12
muted
#837C81

Preview Lab

Preview with #C031A6

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

Preview Lab → · Contrast checker → · Palette generator →

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