#C031A3#C031A3

#C031A3 is a mid, highly saturated pink. Relative luminance 0.160; OKLCH L 57.2% C 0.213 H 337.6°. Best body text is #FFFFFF at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#C031A3
RGBrgb(192, 49, 163)
HSLhsl(312, 59%, 47%)
HSVhsv(312, 74%, 75%)
CMYKcmyk(0%, 74.5%, 15.1%, 24.7%)
CIE-LABlab(47.04, 66.61, -29.85)
CIE-LCHlch(47.04, 72.99, 335.86°)
OKLaboklab(57.17% 0.1968 -0.0811)
OKLCHoklch(57.17% 0.213 337.6)
XYZxyz(29.4480, 16.0502, 36.1903)
Luminance0.1605 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C031A3 #31C04E
analogous
#9631C0 #C031A3 #C0315B
triadic
#C031A3 #A3C031 #31A3C0
tetradic
#C031A3 #C09631 #31C04E #315BC0
square
#C031A3 #C09631 #31C04E #315BC0
split-complementary
#C031A3 #5BC031 #31C096
monochromatic
#5E1850 #8F257A #C031A3 #D559BC #E18AD0

Accessibility & contrast

On white

4.99
#C031A3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.21
#C031A3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C031A3
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C031A3#FFFFFF#000000##FFFFFF
##C031A31.004.994.214.99
#FFFFFF4.991.0021.001.00
#0000004.2121.001.0021.00
##FFFFFF4.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3762A6
Deuteranopia (green-blind)
#6777A0
Tritanopia (blue-blind)
#CB3967
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #c031a3;
/* rgb */ color: rgb(192, 49, 163);
/* oklch */ color: oklch(57.2% 0.213 337.6);
Tailwind
colors: {
  custom: {
    50: '#d778be',
    500: '#c031a3',
    950: '#000000',
  },
}
SCSS
$custom: #c031a3;
$custom-light: #d778be;
$custom-dark: #000000;
JSON
{
  "hex": "#c031a3",
  "rgb": {
    "r": 192,
    "g": 49,
    "b": 163
  },
  "hsl": {
    "h": 312.168,
    "s": 59.336,
    "l": 47.255
  },
  "oklch": {
    "l": 0.57166,
    "c": 0.21283,
    "h": 337.6
  },
  "luminance": 0.16047
}

Semantic roles & 50–950 ramp

primary
#C031A3
secondary
#82CB91
accent
#E36545
background
#FDF7FB
surface
#FBEEF7
border
#D4C9D0
text
#150A12
muted
#837C81

Preview Lab

Preview with #C031A3

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

Preview Lab → · Contrast checker → · Palette generator →

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