#C12CA1#C12CA1

#C12CA1 is a mid, highly saturated pink. Relative luminance 0.157; OKLCH L 56.8% C 0.217 H 338.5°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#C12CA1
RGBrgb(193, 44, 161)
HSLhsl(313, 63%, 46%)
HSVhsv(313, 77%, 76%)
CMYKcmyk(0%, 77.2%, 16.6%, 24.3%)
CIE-LABlab(46.60, 68.05, -29.34)
CIE-LCHlch(46.60, 74.10, 336.68°)
OKLaboklab(56.85% 0.202 -0.0796)
OKLCHoklch(56.85% 0.217 338.5)
XYZxyz(29.3267, 15.7149, 35.2001)
Luminance0.1571 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C12CA1 #2CC14C
analogous
#972CC1 #C12CA1 #C12C57
triadic
#C12CA1 #A1C12C #2CA1C1
tetradic
#C12CA1 #C1972C #2CC14C #2C57C1
square
#C12CA1 #C1972C #2CC14C #2C57C1
split-complementary
#C12CA1 #57C12C #2CC197
monochromatic
#5D154E #8F2177 #C12CA1 #D853BB #E384CF

Accessibility & contrast

On white

5.07
#C12CA1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#C12CA1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C12CA1
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C12CA1#FFFFFF#000000##FFFFFF
##C12CA11.005.074.145.07
#FFFFFF5.071.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3460A4
Deuteranopia (green-blind)
#67779E
Tritanopia (blue-blind)
#CC3464
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #c12ca1;
/* rgb */ color: rgb(193, 44, 161);
/* oklch */ color: oklch(56.8% 0.217 338.5);
Tailwind
colors: {
  custom: {
    50: '#d876bd',
    500: '#c12ca1',
    950: '#000000',
  },
}
SCSS
$custom: #c12ca1;
$custom-light: #d876bd;
$custom-dark: #000000;
JSON
{
  "hex": "#c12ca1",
  "rgb": {
    "r": 193,
    "g": 44,
    "b": 161
  },
  "hsl": {
    "h": 312.886,
    "s": 62.869,
    "l": 46.471
  },
  "oklch": {
    "l": 0.56849,
    "c": 0.2171,
    "h": 338.5
  },
  "luminance": 0.15712
}

Semantic roles & 50–950 ramp

primary
#C12CA1
secondary
#7DCC8E
accent
#E66542
background
#FDF7FB
surface
#FBEEF6
border
#D4C9D0
text
#150A12
muted
#837C81

Preview Lab

Preview with #C12CA1

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

Preview Lab → · Contrast checker → · Palette generator →

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