#C331A4#C331A4

#C331A4 is a mid, highly saturated pink. Relative luminance 0.165; OKLCH L 57.7% C 0.215 H 338.1°. Best body text is #FFFFFF at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#C331A4
RGBrgb(195, 49, 164)
HSLhsl(313, 60%, 48%)
HSVhsv(313, 75%, 76%)
CMYKcmyk(0%, 74.9%, 15.9%, 23.5%)
CIE-LABlab(47.60, 67.44, -29.53)
CIE-LCHlch(47.60, 73.63, 336.35°)
OKLaboklab(57.68% 0.1997 -0.0801)
OKLCHoklch(57.68% 0.215 338.1)
XYZxyz(30.3055, 16.4820, 36.7000)
Luminance0.1648 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C331A4 #31C350
analogous
#9931C3 #C331A4 #C3315B
triadic
#C331A4 #A4C331 #31A4C3
tetradic
#C331A4 #C39931 #31C350 #315BC3
square
#C331A4 #C39931 #31C350 #315BC3
split-complementary
#C331A4 #5BC331 #31C399
monochromatic
#611852 #92257B #C331A4 #D65BBC #E28CD0

Accessibility & contrast

On white

4.89
#C331A4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.30
#C331A4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C331A4
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C331A4#FFFFFF#000000##FFFFFF
##C331A41.004.894.304.89
#FFFFFF4.891.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3863A7
Deuteranopia (green-blind)
#6979A1
Tritanopia (blue-blind)
#CE3967
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #c331a4;
/* rgb */ color: rgb(195, 49, 164);
/* oklch */ color: oklch(57.7% 0.215 338.1);
Tailwind
colors: {
  custom: {
    50: '#d978bf',
    500: '#c331a4',
    950: '#000000',
  },
}
SCSS
$custom: #c331a4;
$custom-light: #d978bf;
$custom-dark: #000000;
JSON
{
  "hex": "#c331a4",
  "rgb": {
    "r": 195,
    "g": 49,
    "b": 164
  },
  "hsl": {
    "h": 312.74,
    "s": 59.836,
    "l": 47.843
  },
  "oklch": {
    "l": 0.57682,
    "c": 0.21522,
    "h": 338.1
  },
  "luminance": 0.16479
}

Semantic roles & 50–950 ramp

primary
#C331A4
secondary
#83CC93
accent
#E36645
background
#FDF7FB
surface
#FBEEF7
border
#D4C9D0
text
#150A12
muted
#837C81

Preview Lab

Preview with #C331A4

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

Preview Lab → · Contrast checker → · Palette generator →

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