#C131B6#C131B6

#C131B6 is a mid, highly saturated purple. Relative luminance 0.169; OKLCH L 58.3% C 0.227 H 331.5°. Best body text is #FFFFFF at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#C131B6
RGBrgb(193, 49, 182)
HSLhsl(305, 60%, 47%)
HSVhsv(305, 75%, 76%)
CMYKcmyk(0%, 74.6%, 5.7%, 24.3%)
CIE-LABlab(48.15, 69.62, -39.30)
CIE-LCHlch(48.15, 79.95, 330.56°)
OKLaboklab(58.3% 0.199 -0.1082)
OKLCHoklch(58.3% 0.227 331.5)
XYZxyz(31.5341, 16.9141, 45.8508)
Luminance0.1691 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C131B6 #31C13C
analogous
#8431C1 #C131B6 #C1316E
triadic
#C131B6 #B6C131 #31B6C1
tetradic
#C131B6 #C18431 #31C13C #316EC1
square
#C131B6 #C18431 #31C13C #316EC1
split-complementary
#C131B6 #6EC131 #31C184
monochromatic
#5F185A #902588 #C131B6 #D55ACC #E28BDB

Accessibility & contrast

On white

4.79
#C131B6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.38
#C131B6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C131B6
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C131B6#FFFFFF#000000##FFFFFF
##C131B61.004.794.384.79
#FFFFFF4.791.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2466BA
Deuteranopia (green-blind)
#5F79B3
Tritanopia (blue-blind)
#C94371
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #c131b6;
/* rgb */ color: rgb(193, 49, 182);
/* oklch */ color: oklch(58.3% 0.227 331.5);
Tailwind
colors: {
  custom: {
    50: '#d878cc',
    500: '#c131b6',
    950: '#000000',
  },
}
SCSS
$custom: #c131b6;
$custom-light: #d878cc;
$custom-dark: #000000;
JSON
{
  "hex": "#c131b6",
  "rgb": {
    "r": 193,
    "g": 49,
    "b": 182
  },
  "hsl": {
    "h": 304.583,
    "s": 59.504,
    "l": 47.451
  },
  "oklch": {
    "l": 0.58302,
    "c": 0.22657,
    "h": 331.5
  },
  "luminance": 0.16911
}

Semantic roles & 50–950 ramp

primary
#C131B6
secondary
#82CC88
accent
#E35145
background
#FDF7FC
surface
#FBEEF9
border
#D4C9D2
text
#150A13
muted
#837C82

Preview Lab

Preview with #C131B6

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

Preview Lab → · Contrast checker → · Palette generator →

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