#C12CB3#C12CB3

#C12CB3 is a mid, highly saturated purple. Relative luminance 0.164; OKLCH L 57.8% C 0.229 H 332.4°. Best body text is #FFFFFF at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#C12CB3
RGBrgb(193, 44, 179)
HSLhsl(306, 63%, 46%)
HSVhsv(306, 77%, 76%)
CMYKcmyk(0%, 77.2%, 7.3%, 24.3%)
CIE-LABlab(47.49, 70.62, -38.59)
CIE-LCHlch(47.49, 80.48, 331.35°)
OKLaboklab(57.78% 0.2032 -0.1062)
OKLCHoklch(57.78% 0.229 332.4)
XYZxyz(31.0298, 16.3961, 44.1696)
Luminance0.1639 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C12CB3 #2CC13A
analogous
#852CC1 #C12CB3 #C12C68
triadic
#C12CB3 #B3C12C #2CB3C1
tetradic
#C12CB3 #C1852C #2CC13A #2C68C1
square
#C12CB3 #C1852C #2CC13A #2C68C1
split-complementary
#C12CB3 #68C12C #2CC185
monochromatic
#5D1557 #8F2185 #C12CB3 #D853CB #E384DA

Accessibility & contrast

On white

4.91
#C12CB3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.28
#C12CB3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C12CB3
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C12CB3#FFFFFF#000000##FFFFFF
##C12CB31.004.914.284.91
#FFFFFF4.911.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2163B7
Deuteranopia (green-blind)
#5F78B0
Tritanopia (blue-blind)
#C93E6E
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #c12cb3;
/* rgb */ color: rgb(193, 44, 179);
/* oklch */ color: oklch(57.8% 0.229 332.4);
Tailwind
colors: {
  custom: {
    50: '#d876ca',
    500: '#c12cb3',
    950: '#000000',
  },
}
SCSS
$custom: #c12cb3;
$custom-light: #d876ca;
$custom-dark: #000000;
JSON
{
  "hex": "#c12cb3",
  "rgb": {
    "r": 193,
    "g": 44,
    "b": 179
  },
  "hsl": {
    "h": 305.638,
    "s": 62.869,
    "l": 46.471
  },
  "oklch": {
    "l": 0.57778,
    "c": 0.22923,
    "h": 332.4
  },
  "luminance": 0.16393
}

Semantic roles & 50–950 ramp

primary
#C12CB3
secondary
#7DCC84
accent
#E65142
background
#FDF7FC
surface
#FBEEF8
border
#D4C9D1
text
#150A13
muted
#837C82

Preview Lab

Preview with #C12CB3

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

Preview Lab → · Contrast checker → · Palette generator →

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