#C131B2#C131B2

#C131B2 is a mid, highly saturated purple. Relative luminance 0.167; OKLCH L 58.1% C 0.224 H 332.8°. Best body text is #FFFFFF at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#C131B2
RGBrgb(193, 49, 178)
HSLhsl(306, 60%, 47%)
HSVhsv(306, 75%, 76%)
CMYKcmyk(0%, 74.6%, 7.8%, 24.3%)
CIE-LABlab(47.94, 69.02, -37.28)
CIE-LCHlch(47.94, 78.44, 331.62°)
OKLaboklab(58.09% 0.1989 -0.1024)
OKLCHoklch(58.09% 0.224 332.8)
XYZxyz(31.1267, 16.7511, 43.7048)
Luminance0.1675 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C131B2 #31C140
analogous
#8831C1 #C131B2 #C1316A
triadic
#C131B2 #B2C131 #31B2C1
tetradic
#C131B2 #C18831 #31C140 #316AC1
square
#C131B2 #C18831 #31C140 #316AC1
split-complementary
#C131B2 #6AC131 #31C188
monochromatic
#5F1858 #902585 #C131B2 #D55AC8 #E28BD8

Accessibility & contrast

On white

4.83
#C131B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.35
#C131B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C131B2
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C131B2#FFFFFF#000000##FFFFFF
##C131B21.004.834.354.83
#FFFFFF4.831.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2965B5
Deuteranopia (green-blind)
#6179AF
Tritanopia (blue-blind)
#CA416F
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #c131b2;
/* rgb */ color: rgb(193, 49, 178);
/* oklch */ color: oklch(58.1% 0.224 332.8);
Tailwind
colors: {
  custom: {
    50: '#d878c9',
    500: '#c131b2',
    950: '#000000',
  },
}
SCSS
$custom: #c131b2;
$custom-light: #d878c9;
$custom-dark: #000000;
JSON
{
  "hex": "#c131b2",
  "rgb": {
    "r": 193,
    "g": 49,
    "b": 178
  },
  "hsl": {
    "h": 306.25,
    "s": 59.504,
    "l": 47.451
  },
  "oklch": {
    "l": 0.58087,
    "c": 0.22371,
    "h": 332.8
  },
  "luminance": 0.16748
}

Semantic roles & 50–950 ramp

primary
#C131B2
secondary
#82CC8A
accent
#E35645
background
#FDF7FC
surface
#FBEEF8
border
#D4C9D1
text
#150A13
muted
#837C82

Preview Lab

Preview with #C131B2

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

Preview Lab → · Contrast checker → · Palette generator →

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