#C331A7#C331A7

#C331A7 is a mid, highly saturated pink. Relative luminance 0.166; OKLCH L 57.8% C 0.217 H 337.1°. Best body text is #FFFFFF at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#C331A7
RGBrgb(195, 49, 167)
HSLhsl(312, 60%, 48%)
HSVhsv(312, 75%, 76%)
CMYKcmyk(0%, 74.9%, 14.4%, 23.5%)
CIE-LABlab(47.74, 67.86, -31.09)
CIE-LCHlch(47.74, 74.65, 335.39°)
OKLaboklab(57.83% 0.2001 -0.0846)
OKLCHoklch(57.83% 0.217 337.1)
XYZxyz(30.5796, 16.5916, 38.1437)
Luminance0.1659 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C331A7 #31C34D
analogous
#9631C3 #C331A7 #C3315E
triadic
#C331A7 #A7C331 #31A7C3
tetradic
#C331A7 #C39631 #31C34D #315EC3
square
#C331A7 #C39631 #31C34D #315EC3
split-complementary
#C331A7 #5EC331 #31C396
monochromatic
#611853 #92257D #C331A7 #D65BBE #E28CD2

Accessibility & contrast

On white

4.86
#C331A7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.32
#C331A7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C331A7
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C331A7#FFFFFF#000000##FFFFFF
##C331A71.004.864.324.86
#FFFFFF4.861.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3663AA
Deuteranopia (green-blind)
#6879A4
Tritanopia (blue-blind)
#CD3A69
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #c331a7;
/* rgb */ color: rgb(195, 49, 167);
/* oklch */ color: oklch(57.8% 0.217 337.1);
Tailwind
colors: {
  custom: {
    50: '#d978c1',
    500: '#c331a7',
    950: '#000000',
  },
}
SCSS
$custom: #c331a7;
$custom-light: #d978c1;
$custom-dark: #000000;
JSON
{
  "hex": "#c331a7",
  "rgb": {
    "r": 195,
    "g": 49,
    "b": 167
  },
  "hsl": {
    "h": 311.507,
    "s": 59.836,
    "l": 47.843
  },
  "oklch": {
    "l": 0.57829,
    "c": 0.2172,
    "h": 337.1
  },
  "luminance": 0.16589
}

Semantic roles & 50–950 ramp

primary
#C331A7
secondary
#83CC91
accent
#E36345
background
#FDF7FB
surface
#FBEEF7
border
#D4C9D0
text
#150A12
muted
#837C81

Preview Lab

Preview with #C331A7

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

Preview Lab → · Contrast checker → · Palette generator →

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