#C031A7#C031A7

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

Color values

HEX#C031A7
RGBrgb(192, 49, 167)
HSLhsl(310, 59%, 47%)
HSVhsv(310, 74%, 75%)
CMYKcmyk(0%, 74.5%, 13%, 24.7%)
CIE-LABlab(47.23, 67.18, -31.93)
CIE-LCHlch(47.23, 74.38, 334.58°)
OKLaboklab(57.36% 0.1972 -0.087)
OKLCHoklch(57.36% 0.216 336.2)
XYZxyz(29.8121, 16.1958, 38.1077)
Luminance0.1619 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C031A7 #31C04A
analogous
#9231C0 #C031A7 #C0315F
triadic
#C031A7 #A7C031 #31A7C0
tetradic
#C031A7 #C09231 #31C04A #315FC0
square
#C031A7 #C09231 #31C04A #315FC0
split-complementary
#C031A7 #5FC031 #31C092
monochromatic
#5E1852 #8F257D #C031A7 #D559BF #E18AD2

Accessibility & contrast

On white

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

On black

4.24
#C031A7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##C031A7#FFFFFF#000000##FFFFFF
##C031A71.004.954.244.95
#FFFFFF4.951.0021.001.00
#0000004.2421.001.0021.00
##FFFFFF4.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3362AA
Deuteranopia (green-blind)
#6678A4
Tritanopia (blue-blind)
#CA3B69
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #c031a7;
/* rgb */ color: rgb(192, 49, 167);
/* oklch */ color: oklch(57.4% 0.216 336.2);
Tailwind
colors: {
  custom: {
    50: '#d778c1',
    500: '#c031a7',
    950: '#000000',
  },
}
SCSS
$custom: #c031a7;
$custom-light: #d778c1;
$custom-dark: #000000;
JSON
{
  "hex": "#c031a7",
  "rgb": {
    "r": 192,
    "g": 49,
    "b": 167
  },
  "hsl": {
    "h": 310.49,
    "s": 59.336,
    "l": 47.255
  },
  "oklch": {
    "l": 0.57364,
    "c": 0.21553,
    "h": 336.2
  },
  "luminance": 0.16193
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C031A7

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

Preview Lab → · Contrast checker → · Palette generator →

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