#C131B4#C131B4

#C131B4 is a mid, highly saturated purple. Relative luminance 0.168; OKLCH L 58.2% C 0.225 H 332.1°. Best body text is #FFFFFF at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#C131B4
RGBrgb(193, 49, 180)
HSLhsl(305, 60%, 47%)
HSVhsv(305, 75%, 76%)
CMYKcmyk(0%, 74.6%, 6.7%, 24.3%)
CIE-LABlab(48.05, 69.32, -38.29)
CIE-LCHlch(48.05, 79.19, 331.08°)
OKLaboklab(58.19% 0.199 -0.1053)
OKLCHoklch(58.19% 0.225 332.1)
XYZxyz(31.3289, 16.8320, 44.7700)
Luminance0.1683 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C131B4 #31C13E
analogous
#8631C1 #C131B4 #C1316C
triadic
#C131B4 #B4C131 #31B4C1
tetradic
#C131B4 #C18631 #31C13E #316CC1
square
#C131B4 #C18631 #31C13E #316CC1
split-complementary
#C131B4 #6CC131 #31C186
monochromatic
#5F1859 #902586 #C131B4 #D55ACA #E28BDA

Accessibility & contrast

On white

4.81
#C131B4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.37
#C131B4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C131B4
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C131B4#FFFFFF#000000##FFFFFF
##C131B41.004.814.374.81
#FFFFFF4.811.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2765B8
Deuteranopia (green-blind)
#6179B1
Tritanopia (blue-blind)
#C94270
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #c131b4;
/* rgb */ color: rgb(193, 49, 180);
/* oklch */ color: oklch(58.2% 0.225 332.1);
Tailwind
colors: {
  custom: {
    50: '#d878cb',
    500: '#c131b4',
    950: '#000000',
  },
}
SCSS
$custom: #c131b4;
$custom-light: #d878cb;
$custom-dark: #000000;
JSON
{
  "hex": "#c131b4",
  "rgb": {
    "r": 193,
    "g": 49,
    "b": 180
  },
  "hsl": {
    "h": 305.417,
    "s": 59.504,
    "l": 47.451
  },
  "oklch": {
    "l": 0.58194,
    "c": 0.22513,
    "h": 332.1
  },
  "luminance": 0.16829
}

Semantic roles & 50–950 ramp

primary
#C131B4
secondary
#82CC89
accent
#E35345
background
#FDF7FC
surface
#FBEEF8
border
#D4C9D1
text
#150A13
muted
#837C82

Preview Lab

Preview with #C131B4

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

Preview Lab → · Contrast checker → · Palette generator →

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