#C331AA#C331AA

#C331AA is a mid, highly saturated pink. Relative luminance 0.167; OKLCH L 58.0% C 0.219 H 336.0°. Best body text is #FFFFFF at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#C331AA
RGBrgb(195, 49, 170)
HSLhsl(310, 60%, 48%)
HSVhsv(310, 75%, 76%)
CMYKcmyk(0%, 74.9%, 12.8%, 23.5%)
CIE-LABlab(47.88, 68.29, -32.64)
CIE-LCHlch(47.88, 75.69, 334.45°)
OKLaboklab(57.98% 0.2003 -0.089)
OKLCHoklch(57.98% 0.219 336)
XYZxyz(30.8602, 16.7038, 39.6213)
Luminance0.1670 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C331AA #31C34A
analogous
#9331C3 #C331AA #C33161
triadic
#C331AA #AAC331 #31AAC3
tetradic
#C331AA #C39331 #31C34A #3161C3
square
#C331AA #C39331 #31C34A #3161C3
split-complementary
#C331AA #61C331 #31C393
monochromatic
#611855 #92257F #C331AA #D65BC1 #E28CD3

Accessibility & contrast

On white

4.84
#C331AA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.34
#C331AA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C331AA
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C331AA#FFFFFF#000000##FFFFFF
##C331AA1.004.844.344.84
#FFFFFF4.841.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3364AD
Deuteranopia (green-blind)
#6779A7
Tritanopia (blue-blind)
#CD3C6B
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #c331aa;
/* rgb */ color: rgb(195, 49, 170);
/* oklch */ color: oklch(58.0% 0.219 336.0);
Tailwind
colors: {
  custom: {
    50: '#d978c3',
    500: '#c331aa',
    950: '#000000',
  },
}
SCSS
$custom: #c331aa;
$custom-light: #d978c3;
$custom-dark: #000000;
JSON
{
  "hex": "#c331aa",
  "rgb": {
    "r": 195,
    "g": 49,
    "b": 170
  },
  "hsl": {
    "h": 310.274,
    "s": 59.836,
    "l": 47.843
  },
  "oklch": {
    "l": 0.57979,
    "c": 0.21922,
    "h": 336
  },
  "luminance": 0.16701
}

Semantic roles & 50–950 ramp

primary
#C331AA
secondary
#83CC90
accent
#E36045
background
#FDF7FC
surface
#FBEEF8
border
#D4C9D1
text
#150A12
muted
#837C81

Preview Lab

Preview with #C331AA

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

Preview Lab → · Contrast checker → · Palette generator →

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