#C12A9C#C12A9C

#C12A9C is a mid, highly saturated pink. Relative luminance 0.154; OKLCH L 56.5% C 0.216 H 340.2°. Best body text is #FFFFFF at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#C12A9C
RGBrgb(193, 42, 156)
HSLhsl(315, 64%, 46%)
HSVhsv(315, 78%, 76%)
CMYKcmyk(0%, 78.2%, 19.2%, 24.3%)
CIE-LABlab(46.17, 67.93, -27.01)
CIE-LCHlch(46.17, 73.10, 338.31°)
OKLaboklab(56.47% 0.2031 -0.073)
OKLCHoklch(56.47% 0.216 340.2)
XYZxyz(28.8219, 15.3966, 32.9000)
Luminance0.1539 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C12A9C #2AC14F
analogous
#9A2AC1 #C12A9C #C12A50
triadic
#C12A9C #9CC12A #2A9CC1
tetradic
#C12A9C #C19A2A #2AC14F #2A50C1
square
#C12A9C #C19A2A #2AC14F #2A50C1
split-complementary
#C12A9C #50C12A #2AC19A
monochromatic
#5C144B #8F1F73 #C12A9C #D94FB7 #E482CC

Accessibility & contrast

On white

5.15
#C12A9C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#C12A9C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C12A9C
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C12A9C#FFFFFF#000000##FFFFFF
##C12A9C1.005.154.085.15
#FFFFFF5.151.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#365E9F
Deuteranopia (green-blind)
#697699
Tritanopia (blue-blind)
#CD2F61
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #c12a9c;
/* rgb */ color: rgb(193, 42, 156);
/* oklch */ color: oklch(56.5% 0.216 340.2);
Tailwind
colors: {
  custom: {
    50: '#d875b9',
    500: '#c12a9c',
    950: '#000000',
  },
}
SCSS
$custom: #c12a9c;
$custom-light: #d875b9;
$custom-dark: #000000;
JSON
{
  "hex": "#c12a9c",
  "rgb": {
    "r": 193,
    "g": 42,
    "b": 156
  },
  "hsl": {
    "h": 314.702,
    "s": 64.255,
    "l": 46.078
  },
  "oklch": {
    "l": 0.56467,
    "c": 0.2158,
    "h": 340.2
  },
  "luminance": 0.15394
}

Semantic roles & 50–950 ramp

primary
#C12A9C
secondary
#7ACD8E
accent
#E76941
background
#FDF7FB
surface
#FBEEF6
border
#D4C9D0
text
#150911
muted
#837B80

Preview Lab

Preview with #C12A9C

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

Preview Lab → · Contrast checker → · Palette generator →

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