#C031A2#C031A2

#C031A2 is a mid, highly saturated pink. Relative luminance 0.160; OKLCH L 57.1% C 0.212 H 338.0°. Best body text is #FFFFFF at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#C031A2
RGBrgb(192, 49, 162)
HSLhsl(313, 59%, 47%)
HSVhsv(313, 74%, 75%)
CMYKcmyk(0%, 74.5%, 15.6%, 24.7%)
CIE-LABlab(46.99, 66.47, -29.33)
CIE-LCHlch(46.99, 72.65, 336.19°)
OKLaboklab(57.12% 0.1967 -0.0796)
OKLCHoklch(57.12% 0.212 338)
XYZxyz(29.3588, 16.0145, 35.7203)
Luminance0.1601 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C031A2 #31C04F
analogous
#9631C0 #C031A2 #C0315B
triadic
#C031A2 #A2C031 #31A2C0
tetradic
#C031A2 #C09631 #31C04F #315BC0
square
#C031A2 #C09631 #31C04F #315BC0
split-complementary
#C031A2 #5BC031 #31C096
monochromatic
#5E1850 #8F2579 #C031A2 #D559BB #E18ACF

Accessibility & contrast

On white

5.00
#C031A2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#C031A2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C031A2
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C031A2#FFFFFF#000000##FFFFFF
##C031A21.005.004.205.00
#FFFFFF5.001.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3761A5
Deuteranopia (green-blind)
#68779F
Tritanopia (blue-blind)
#CB3966
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #c031a2;
/* rgb */ color: rgb(192, 49, 162);
/* oklch */ color: oklch(57.1% 0.212 338.0);
Tailwind
colors: {
  custom: {
    50: '#d777be',
    500: '#c031a2',
    950: '#000000',
  },
}
SCSS
$custom: #c031a2;
$custom-light: #d777be;
$custom-dark: #000000;
JSON
{
  "hex": "#c031a2",
  "rgb": {
    "r": 192,
    "g": 49,
    "b": 162
  },
  "hsl": {
    "h": 312.587,
    "s": 59.336,
    "l": 47.255
  },
  "oklch": {
    "l": 0.57117,
    "c": 0.21217,
    "h": 338
  },
  "luminance": 0.16012
}

Semantic roles & 50–950 ramp

primary
#C031A2
secondary
#82CB91
accent
#E36645
background
#FDF7FB
surface
#FBEEF6
border
#D4C9D0
text
#150A12
muted
#837C81

Preview Lab

Preview with #C031A2

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

Preview Lab → · Contrast checker → · Palette generator →

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