#C131BD#C131BD

#C131BD is a mid, highly saturated purple. Relative luminance 0.172; OKLCH L 58.7% C 0.232 H 329.3°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#C131BD
RGBrgb(193, 49, 189)
HSLhsl(302, 60%, 47%)
HSVhsv(302, 75%, 76%)
CMYKcmyk(0%, 74.6%, 2.1%, 24.3%)
CIE-LABlab(48.52, 70.71, -42.80)
CIE-LCHlch(48.52, 82.65, 328.81°)
OKLaboklab(58.69% 0.1991 -0.1184)
OKLCHoklch(58.69% 0.232 329.3)
XYZxyz(32.2757, 17.2107, 49.7563)
Luminance0.1721 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C131BD #31C135
analogous
#7D31C1 #C131BD #C13175
triadic
#C131BD #BDC131 #31BDC1
tetradic
#C131BD #C17D31 #31C135 #3175C1
square
#C131BD #C17D31 #31C135 #3175C1
split-complementary
#C131BD #75C131 #31C17D
monochromatic
#5F185D #90258D #C131BD #D55AD2 #E28BDF

Accessibility & contrast

On white

4.73
#C131BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#C131BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C131BD
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C131BD#FFFFFF#000000##FFFFFF
##C131BD1.004.734.444.73
#FFFFFF4.731.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1867C1
Deuteranopia (green-blind)
#5C7AB9
Tritanopia (blue-blind)
#C84675
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #c131bd;
/* rgb */ color: rgb(193, 49, 189);
/* oklch */ color: oklch(58.7% 0.232 329.3);
Tailwind
colors: {
  custom: {
    50: '#d879d1',
    500: '#c131bd',
    950: '#000000',
  },
}
SCSS
$custom: #c131bd;
$custom-light: #d879d1;
$custom-dark: #000000;
JSON
{
  "hex": "#c131bd",
  "rgb": {
    "r": 193,
    "g": 49,
    "b": 189
  },
  "hsl": {
    "h": 301.667,
    "s": 59.504,
    "l": 47.451
  },
  "oklch": {
    "l": 0.5869,
    "c": 0.23167,
    "h": 329.3
  },
  "luminance": 0.17208
}

Semantic roles & 50–950 ramp

primary
#C131BD
secondary
#82CC84
accent
#E34A45
background
#FDF7FC
surface
#FBEEF9
border
#D4C9D2
text
#150A14
muted
#837C82

Preview Lab

Preview with #C131BD

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

Preview Lab → · Contrast checker → · Palette generator →

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