#C031A5#C031A5

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

Color values

HEX#C031A5
RGBrgb(192, 49, 165)
HSLhsl(311, 59%, 47%)
HSVhsv(311, 74%, 75%)
CMYKcmyk(0%, 74.5%, 14.1%, 24.7%)
CIE-LABlab(47.13, 66.89, -30.89)
CIE-LCHlch(47.13, 73.68, 335.21°)
OKLaboklab(57.26% 0.197 -0.0841)
OKLCHoklch(57.26% 0.214 336.9)
XYZxyz(29.6286, 16.1225, 37.1415)
Luminance0.1612 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C031A5 #31C04C
analogous
#9431C0 #C031A5 #C0315D
triadic
#C031A5 #A5C031 #31A5C0
tetradic
#C031A5 #C09431 #31C04C #315DC0
square
#C031A5 #C09431 #31C04C #315DC0
split-complementary
#C031A5 #5DC031 #31C094
monochromatic
#5E1851 #8F257B #C031A5 #D559BD #E18AD1

Accessibility & contrast

On white

4.97
#C031A5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #C031A5
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C031A5#FFFFFF#000000##FFFFFF
##C031A51.004.974.224.97
#FFFFFF4.971.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3562A8
Deuteranopia (green-blind)
#6777A2
Tritanopia (blue-blind)
#CA3A68
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #c031a5;
/* rgb */ color: rgb(192, 49, 165);
/* oklch */ color: oklch(57.3% 0.214 336.9);
Tailwind
colors: {
  custom: {
    50: '#d778c0',
    500: '#c031a5',
    950: '#000000',
  },
}
SCSS
$custom: #c031a5;
$custom-light: #d778c0;
$custom-dark: #000000;
JSON
{
  "hex": "#c031a5",
  "rgb": {
    "r": 192,
    "g": 49,
    "b": 165
  },
  "hsl": {
    "h": 311.329,
    "s": 59.336,
    "l": 47.255
  },
  "oklch": {
    "l": 0.57264,
    "c": 0.21417,
    "h": 336.9
  },
  "luminance": 0.1612
}

Semantic roles & 50–950 ramp

primary
#C031A5
secondary
#82CB8F
accent
#E36345
background
#FDF7FB
surface
#FBEEF7
border
#D4C9D0
text
#150A12
muted
#837C81

Preview Lab

Preview with #C031A5

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

Preview Lab → · Contrast checker → · Palette generator →

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