#C12D9C#C12D9C

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

Color values

HEX#C12D9C
RGBrgb(193, 45, 156)
HSLhsl(315, 62%, 47%)
HSVhsv(315, 77%, 76%)
CMYKcmyk(0%, 76.7%, 19.2%, 24.3%)
CIE-LABlab(46.47, 67.08, -26.55)
CIE-LCHlch(46.47, 72.15, 338.41°)
OKLaboklab(56.68% 0.2005 -0.0717)
OKLCHoklch(56.68% 0.213 340.3)
XYZxyz(28.9323, 15.6175, 32.9368)
Luminance0.1562 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C12D9C #2DC152
analogous
#9C2DC1 #C12D9C #C12D52
triadic
#C12D9C #9CC12D #2D9CC1
tetradic
#C12D9C #C19C2D #2DC152 #2D52C1
square
#C12D9C #C19C2D #2DC152 #2D52C1
split-complementary
#C12D9C #52C12D #2DC19C
monochromatic
#5E164C #8F2174 #C12D9C #D754B6 #E386CB

Accessibility & contrast

On white

5.09
#C12D9C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #C12D9C
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C12D9C#FFFFFF#000000##FFFFFF
##C12D9C1.005.094.125.09
#FFFFFF5.091.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.091.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c12d9c;
/* rgb */ color: rgb(193, 45, 156);
/* oklch */ color: oklch(56.7% 0.213 340.3);
Tailwind
colors: {
  custom: {
    50: '#d876b9',
    500: '#c12d9c',
    950: '#000000',
  },
}
SCSS
$custom: #c12d9c;
$custom-light: #d876b9;
$custom-dark: #000000;
JSON
{
  "hex": "#c12d9c",
  "rgb": {
    "r": 193,
    "g": 45,
    "b": 156
  },
  "hsl": {
    "h": 315,
    "s": 62.185,
    "l": 46.667
  },
  "oklch": {
    "l": 0.5668,
    "c": 0.21294,
    "h": 340.3
  },
  "luminance": 0.15615
}

Semantic roles & 50–950 ramp

primary
#C12D9C
secondary
#7ECC91
accent
#E56B43
background
#FDF7FB
surface
#FBEEF6
border
#D4C9D0
text
#150A11
muted
#837C80

Preview Lab

Preview with #C12D9C

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

Preview Lab → · Contrast checker → · Palette generator →

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