#C12CB9#C12CB9

#C12CB9 is a mid, highly saturated purple. Relative luminance 0.166; OKLCH L 58.1% C 0.233 H 330.5°. Best body text is #FFFFFF at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#C12CB9
RGBrgb(193, 44, 185)
HSLhsl(303, 63%, 46%)
HSVhsv(303, 77%, 76%)
CMYKcmyk(0%, 77.2%, 4.1%, 24.3%)
CIE-LABlab(47.81, 71.53, -41.60)
CIE-LCHlch(47.81, 82.74, 329.82°)
OKLaboklab(58.11% 0.2032 -0.1149)
OKLCHoklch(58.11% 0.233 330.5)
XYZxyz(31.6499, 16.6442, 47.4352)
Luminance0.1664 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C12CB9 #2CC134
analogous
#7E2CC1 #C12CB9 #C12C6F
triadic
#C12CB9 #B9C12C #2CB9C1
tetradic
#C12CB9 #C17E2C #2CC134 #2C6FC1
square
#C12CB9 #C17E2C #2CC134 #2C6FC1
split-complementary
#C12CB9 #6FC12C #2CC17E
monochromatic
#5D1559 #8F2189 #C12CB9 #D853D1 #E384DE

Accessibility & contrast

On white

4.85
#C12CB9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.33
#C12CB9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C12CB9
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C12CB9#FFFFFF#000000##FFFFFF
##C12CB91.004.854.334.85
#FFFFFF4.851.0021.001.00
#0000004.3321.001.0021.00
##FFFFFF4.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1765BD
Deuteranopia (green-blind)
#5C78B5
Tritanopia (blue-blind)
#C94172
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #c12cb9;
/* rgb */ color: rgb(193, 44, 185);
/* oklch */ color: oklch(58.1% 0.233 330.5);
Tailwind
colors: {
  custom: {
    50: '#d877ce',
    500: '#c12cb9',
    950: '#000000',
  },
}
SCSS
$custom: #c12cb9;
$custom-light: #d877ce;
$custom-dark: #000000;
JSON
{
  "hex": "#c12cb9",
  "rgb": {
    "r": 193,
    "g": 44,
    "b": 185
  },
  "hsl": {
    "h": 303.221,
    "s": 62.869,
    "l": 46.471
  },
  "oklch": {
    "l": 0.58109,
    "c": 0.23347,
    "h": 330.5
  },
  "luminance": 0.16642
}

Semantic roles & 50–950 ramp

primary
#C12CB9
secondary
#7DCC81
accent
#E64B42
background
#FDF7FC
surface
#FBEEF9
border
#D4C9D2
text
#150A14
muted
#837C82

Preview Lab

Preview with #C12CB9

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

Preview Lab → · Contrast checker → · Palette generator →

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