#C331A1#C331A1

#C331A1 is a mid, highly saturated pink. Relative luminance 0.164; OKLCH L 57.5% C 0.213 H 339.2°. Best body text is #FFFFFF at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#C331A1
RGBrgb(195, 49, 161)
HSLhsl(314, 60%, 48%)
HSVhsv(314, 75%, 76%)
CMYKcmyk(0%, 74.9%, 17.4%, 23.5%)
CIE-LABlab(47.46, 67.03, -27.96)
CIE-LCHlch(47.46, 72.63, 337.36°)
OKLaboklab(57.54% 0.1994 -0.0757)
OKLCHoklch(57.54% 0.213 339.2)
XYZxyz(30.0378, 16.3749, 35.2900)
Luminance0.1637 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C331A1 #31C353
analogous
#9C31C3 #C331A1 #C33158
triadic
#C331A1 #A1C331 #31A1C3
tetradic
#C331A1 #C39C31 #31C353 #3158C3
square
#C331A1 #C39C31 #31C353 #3158C3
split-complementary
#C331A1 #58C331 #31C39C
monochromatic
#611850 #922579 #C331A1 #D65BB9 #E28CCE

Accessibility & contrast

On white

4.91
#C331A1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.27
#C331A1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C331A1
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C331A1#FFFFFF#000000##FFFFFF
##C331A11.004.914.274.91
#FFFFFF4.911.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A62A4
Deuteranopia (green-blind)
#6B799E
Tritanopia (blue-blind)
#CE3766
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #c331a1;
/* rgb */ color: rgb(195, 49, 161);
/* oklch */ color: oklch(57.5% 0.213 339.2);
Tailwind
colors: {
  custom: {
    50: '#d978bd',
    500: '#c331a1',
    950: '#000000',
  },
}
SCSS
$custom: #c331a1;
$custom-light: #d978bd;
$custom-dark: #000000;
JSON
{
  "hex": "#c331a1",
  "rgb": {
    "r": 195,
    "g": 49,
    "b": 161
  },
  "hsl": {
    "h": 313.973,
    "s": 59.836,
    "l": 47.843
  },
  "oklch": {
    "l": 0.57537,
    "c": 0.21326,
    "h": 339.2
  },
  "luminance": 0.16372
}

Semantic roles & 50–950 ramp

primary
#C331A1
secondary
#83CC94
accent
#E36A45
background
#FDF7FB
surface
#FBEEF6
border
#D4C9D0
text
#150A12
muted
#837C81

Preview Lab

Preview with #C331A1

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

Preview Lab → · Contrast checker → · Palette generator →

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