#C031A4#C031A4

#C031A4 is a mid, highly saturated pink. Relative luminance 0.161; OKLCH L 57.2% C 0.214 H 337.2°. Best body text is #FFFFFF at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#C031A4
RGBrgb(192, 49, 164)
HSLhsl(312, 59%, 47%)
HSVhsv(312, 74%, 75%)
CMYKcmyk(0%, 74.5%, 14.6%, 24.7%)
CIE-LABlab(47.09, 66.75, -30.37)
CIE-LCHlch(47.09, 73.33, 335.53°)
OKLaboklab(57.22% 0.1969 -0.0826)
OKLCHoklch(57.22% 0.214 337.2)
XYZxyz(29.5380, 16.0862, 36.6641)
Luminance0.1608 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C031A4 #31C04D
analogous
#9431C0 #C031A4 #C0315D
triadic
#C031A4 #A4C031 #31A4C0
tetradic
#C031A4 #C09431 #31C04D #315DC0
square
#C031A4 #C09431 #31C04D #315DC0
split-complementary
#C031A4 #5DC031 #31C094
monochromatic
#5E1851 #8F257A #C031A4 #D559BD #E18AD0

Accessibility & contrast

On white

4.98
#C031A4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.22
#C031A4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C031A4
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C031A4#FFFFFF#000000##FFFFFF
##C031A41.004.984.224.98
#FFFFFF4.981.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3662A7
Deuteranopia (green-blind)
#6777A1
Tritanopia (blue-blind)
#CA3A67
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #c031a4;
/* rgb */ color: rgb(192, 49, 164);
/* oklch */ color: oklch(57.2% 0.214 337.2);
Tailwind
colors: {
  custom: {
    50: '#d778bf',
    500: '#c031a4',
    950: '#000000',
  },
}
SCSS
$custom: #c031a4;
$custom-light: #d778bf;
$custom-dark: #000000;
JSON
{
  "hex": "#c031a4",
  "rgb": {
    "r": 192,
    "g": 49,
    "b": 164
  },
  "hsl": {
    "h": 311.748,
    "s": 59.336,
    "l": 47.255
  },
  "oklch": {
    "l": 0.57215,
    "c": 0.21351,
    "h": 337.2
  },
  "luminance": 0.16083
}

Semantic roles & 50–950 ramp

primary
#C031A4
secondary
#82CB90
accent
#E36445
background
#FDF7FB
surface
#FBEEF7
border
#D4C9D0
text
#150A12
muted
#837C81

Preview Lab

Preview with #C031A4

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

Preview Lab → · Contrast checker → · Palette generator →

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