#C131B9#C131B9

#C131B9 is a mid, highly saturated purple. Relative luminance 0.170; OKLCH L 58.5% C 0.229 H 330.5°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#C131B9
RGBrgb(193, 49, 185)
HSLhsl(303, 60%, 47%)
HSVhsv(303, 75%, 76%)
CMYKcmyk(0%, 74.6%, 4.1%, 24.3%)
CIE-LABlab(48.31, 70.09, -40.81)
CIE-LCHlch(48.31, 81.10, 329.79°)
OKLaboklab(58.47% 0.1991 -0.1126)
OKLCHoklch(58.47% 0.229 330.5)
XYZxyz(31.8475, 17.0394, 47.5011)
Luminance0.1704 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C131B9 #31C139
analogous
#8131C1 #C131B9 #C13171
triadic
#C131B9 #B9C131 #31B9C1
tetradic
#C131B9 #C18131 #31C139 #3171C1
square
#C131B9 #C18131 #31C139 #3171C1
split-complementary
#C131B9 #71C131 #31C181
monochromatic
#5F185B #90258A #C131B9 #D55ACE #E28BDD

Accessibility & contrast

On white

4.76
#C131B9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.41
#C131B9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C131B9
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C131B9#FFFFFF#000000##FFFFFF
##C131B91.004.764.414.76
#FFFFFF4.761.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2066BD
Deuteranopia (green-blind)
#5E7AB6
Tritanopia (blue-blind)
#C84473
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #c131b9;
/* rgb */ color: rgb(193, 49, 185);
/* oklch */ color: oklch(58.5% 0.229 330.5);
Tailwind
colors: {
  custom: {
    50: '#d878ce',
    500: '#c131b9',
    950: '#000000',
  },
}
SCSS
$custom: #c131b9;
$custom-light: #d878ce;
$custom-dark: #000000;
JSON
{
  "hex": "#c131b9",
  "rgb": {
    "r": 193,
    "g": 49,
    "b": 185
  },
  "hsl": {
    "h": 303.333,
    "s": 59.504,
    "l": 47.451
  },
  "oklch": {
    "l": 0.58467,
    "c": 0.22875,
    "h": 330.5
  },
  "luminance": 0.17037
}

Semantic roles & 50–950 ramp

primary
#C131B9
secondary
#82CC86
accent
#E34E45
background
#FDF7FC
surface
#FBEEF9
border
#D4C9D2
text
#150A14
muted
#837C82

Preview Lab

Preview with #C131B9

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

Preview Lab → · Contrast checker → · Palette generator →

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