#C031A8#C031A8

#C031A8 is a mid, highly saturated pink. Relative luminance 0.162; OKLCH L 57.4% C 0.216 H 335.8°. Best body text is #FFFFFF at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#C031A8
RGBrgb(192, 49, 168)
HSLhsl(310, 59%, 47%)
HSVhsv(310, 74%, 75%)
CMYKcmyk(0%, 74.5%, 12.5%, 24.7%)
CIE-LABlab(47.28, 67.32, -32.44)
CIE-LCHlch(47.28, 74.73, 334.27°)
OKLaboklab(57.42% 0.1973 -0.0885)
OKLCHoklch(57.42% 0.216 335.8)
XYZxyz(29.9049, 16.2330, 38.5965)
Luminance0.1623 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C031A8 #31C049
analogous
#9131C0 #C031A8 #C03161
triadic
#C031A8 #A8C031 #31A8C0
tetradic
#C031A8 #C09131 #31C049 #3161C0
square
#C031A8 #C09131 #31C049 #3161C0
split-complementary
#C031A8 #61C031 #31C091
monochromatic
#5E1853 #8F257D #C031A8 #D559C0 #E18AD3

Accessibility & contrast

On white

4.95
#C031A8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.25
#C031A8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C031A8
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C031A8#FFFFFF#000000##FFFFFF
##C031A81.004.954.254.95
#FFFFFF4.951.0021.001.00
#0000004.2521.001.0021.00
##FFFFFF4.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3262AB
Deuteranopia (green-blind)
#6578A5
Tritanopia (blue-blind)
#CA3C6A
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #c031a8;
/* rgb */ color: rgb(192, 49, 168);
/* oklch */ color: oklch(57.4% 0.216 335.8);
Tailwind
colors: {
  custom: {
    50: '#d778c2',
    500: '#c031a8',
    950: '#000000',
  },
}
SCSS
$custom: #c031a8;
$custom-light: #d778c2;
$custom-dark: #000000;
JSON
{
  "hex": "#c031a8",
  "rgb": {
    "r": 192,
    "g": 49,
    "b": 168
  },
  "hsl": {
    "h": 310.07,
    "s": 59.336,
    "l": 47.255
  },
  "oklch": {
    "l": 0.57415,
    "c": 0.21621,
    "h": 335.8
  },
  "luminance": 0.1623
}

Semantic roles & 50–950 ramp

primary
#C031A8
secondary
#82CB8E
accent
#E36045
background
#FDF7FB
surface
#FBEEF7
border
#D4C9D0
text
#150A12
muted
#837C81

Preview Lab

Preview with #C031A8

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

Preview Lab → · Contrast checker → · Palette generator →

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