#C131B8#C131B8

#C131B8 is a mid, highly saturated purple. Relative luminance 0.170; OKLCH L 58.4% C 0.228 H 330.8°. Best body text is #FFFFFF at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#C131B8
RGBrgb(193, 49, 184)
HSLhsl(304, 60%, 47%)
HSVhsv(304, 75%, 76%)
CMYKcmyk(0%, 74.6%, 4.7%, 24.3%)
CIE-LABlab(48.26, 69.93, -40.31)
CIE-LCHlch(48.26, 80.72, 330.04°)
OKLaboklab(58.41% 0.1991 -0.1112)
OKLCHoklch(58.41% 0.228 330.8)
XYZxyz(31.7423, 16.9973, 46.9471)
Luminance0.1699 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C131B8 #31C13A
analogous
#8231C1 #C131B8 #C13170
triadic
#C131B8 #B8C131 #31B8C1
tetradic
#C131B8 #C18231 #31C13A #3170C1
square
#C131B8 #C18231 #31C13A #3170C1
split-complementary
#C131B8 #70C131 #31C182
monochromatic
#5F185B #902589 #C131B8 #D55ACD #E28BDC

Accessibility & contrast

On white

4.77
#C131B8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.40
#C131B8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C131B8
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C131B8#FFFFFF#000000##FFFFFF
##C131B81.004.774.404.77
#FFFFFF4.771.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2166BC
Deuteranopia (green-blind)
#5E79B5
Tritanopia (blue-blind)
#C94472
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #c131b8;
/* rgb */ color: rgb(193, 49, 184);
/* oklch */ color: oklch(58.4% 0.228 330.8);
Tailwind
colors: {
  custom: {
    50: '#d878ce',
    500: '#c131b8',
    950: '#000000',
  },
}
SCSS
$custom: #c131b8;
$custom-light: #d878ce;
$custom-dark: #000000;
JSON
{
  "hex": "#c131b8",
  "rgb": {
    "r": 193,
    "g": 49,
    "b": 184
  },
  "hsl": {
    "h": 303.75,
    "s": 59.504,
    "l": 47.451
  },
  "oklch": {
    "l": 0.58412,
    "c": 0.22802,
    "h": 330.8
  },
  "luminance": 0.16995
}

Semantic roles & 50–950 ramp

primary
#C131B8
secondary
#82CC87
accent
#E34F45
background
#FDF7FC
surface
#FBEEF9
border
#D4C9D2
text
#150A13
muted
#837C82

Preview Lab

Preview with #C131B8

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

Preview Lab → · Contrast checker → · Palette generator →

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