#C12C9E#C12C9E

#C12C9E is a mid, highly saturated pink. Relative luminance 0.156; OKLCH L 56.7% C 0.215 H 339.6°. Best body text is #FFFFFF at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#C12C9E
RGBrgb(193, 44, 158)
HSLhsl(314, 63%, 46%)
HSVhsv(314, 77%, 76%)
CMYKcmyk(0%, 77.2%, 18.1%, 24.3%)
CIE-LABlab(46.46, 67.64, -27.76)
CIE-LCHlch(46.46, 73.12, 337.68°)
OKLaboklab(56.7% 0.2016 -0.0751)
OKLCHoklch(56.7% 0.215 339.6)
XYZxyz(29.0654, 15.6104, 33.8235)
Luminance0.1561 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C12C9E #2CC14F
analogous
#9A2CC1 #C12C9E #C12C54
triadic
#C12C9E #9EC12C #2C9EC1
tetradic
#C12C9E #C19A2C #2CC14F #2C54C1
square
#C12C9E #C19A2C #2CC14F #2C54C1
split-complementary
#C12C9E #54C12C #2CC19A
monochromatic
#5D154C #8F2175 #C12C9E #D853B8 #E384CD

Accessibility & contrast

On white

5.10
#C12C9E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#C12C9E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C12C9E
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C12C9E#FFFFFF#000000##FFFFFF
##C12C9E1.005.104.125.10
#FFFFFF5.101.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#375FA1
Deuteranopia (green-blind)
#68769B
Tritanopia (blue-blind)
#CC3263
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #c12c9e;
/* rgb */ color: rgb(193, 44, 158);
/* oklch */ color: oklch(56.7% 0.215 339.6);
Tailwind
colors: {
  custom: {
    50: '#d876bb',
    500: '#c12c9e',
    950: '#000000',
  },
}
SCSS
$custom: #c12c9e;
$custom-light: #d876bb;
$custom-dark: #000000;
JSON
{
  "hex": "#c12c9e",
  "rgb": {
    "r": 193,
    "g": 44,
    "b": 158
  },
  "hsl": {
    "h": 314.094,
    "s": 62.869,
    "l": 46.471
  },
  "oklch": {
    "l": 0.56703,
    "c": 0.21517,
    "h": 339.6
  },
  "luminance": 0.15607
}

Semantic roles & 50–950 ramp

primary
#C12C9E
secondary
#7DCC8F
accent
#E66842
background
#FDF7FB
surface
#FBEEF6
border
#D4C9D0
text
#150A12
muted
#837C81

Preview Lab

Preview with #C12C9E

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

Preview Lab → · Contrast checker → · Palette generator →

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