#C12C9C#C12C9C

#C12C9C is a mid, highly saturated pink. Relative luminance 0.155; OKLCH L 56.6% C 0.214 H 340.3°. Best body text is #FFFFFF at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#C12C9C
RGBrgb(193, 44, 156)
HSLhsl(315, 63%, 46%)
HSVhsv(315, 77%, 76%)
CMYKcmyk(0%, 77.2%, 19.2%, 24.3%)
CIE-LABlab(46.37, 67.37, -26.71)
CIE-LCHlch(46.37, 72.47, 338.37°)
OKLaboklab(56.61% 0.2014 -0.0721)
OKLCHoklch(56.61% 0.214 340.3)
XYZxyz(28.8946, 15.5421, 32.9242)
Luminance0.1554 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C12C9C #2CC151
analogous
#9C2CC1 #C12C9C #C12C52
triadic
#C12C9C #9CC12C #2C9CC1
tetradic
#C12C9C #C19C2C #2CC151 #2C52C1
square
#C12C9C #C19C2C #2CC151 #2C52C1
split-complementary
#C12C9C #52C12C #2CC19C
monochromatic
#5D154B #8F2174 #C12C9C #D853B7 #E384CC

Accessibility & contrast

On white

5.11
#C12C9C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.11
#C12C9C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C12C9C
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C12C9C#FFFFFF#000000##FFFFFF
##C12C9C1.005.114.115.11
#FFFFFF5.111.0021.001.00
#0000004.1121.001.0021.00
##FFFFFF5.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#385F9F
Deuteranopia (green-blind)
#697699
Tritanopia (blue-blind)
#CD3162
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #c12c9c;
/* rgb */ color: rgb(193, 44, 156);
/* oklch */ color: oklch(56.6% 0.214 340.3);
Tailwind
colors: {
  custom: {
    50: '#d875b9',
    500: '#c12c9c',
    950: '#000000',
  },
}
SCSS
$custom: #c12c9c;
$custom-light: #d875b9;
$custom-dark: #000000;
JSON
{
  "hex": "#c12c9c",
  "rgb": {
    "r": 193,
    "g": 44,
    "b": 156
  },
  "hsl": {
    "h": 314.899,
    "s": 62.869,
    "l": 46.471
  },
  "oklch": {
    "l": 0.56608,
    "c": 0.21391,
    "h": 340.3
  },
  "luminance": 0.15539
}

Semantic roles & 50–950 ramp

primary
#C12C9C
secondary
#7DCC90
accent
#E66B42
background
#FDF7FB
surface
#FBEEF6
border
#D4C9D0
text
#150A11
muted
#837C80

Preview Lab

Preview with #C12C9C

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

Preview Lab → · Contrast checker → · Palette generator →

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