#C12A99#C12A99

#C12A99 is a mid, highly saturated pink. Relative luminance 0.153; OKLCH L 56.3% C 0.214 H 341.3°. Best body text is #FFFFFF at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#C12A99
RGBrgb(193, 42, 153)
HSLhsl(316, 64%, 46%)
HSVhsv(316, 78%, 76%)
CMYKcmyk(0%, 78.2%, 20.7%, 24.3%)
CIE-LABlab(46.04, 67.54, -25.42)
CIE-LCHlch(46.04, 72.16, 339.37°)
OKLaboklab(56.33% 0.2027 -0.0685)
OKLCHoklch(56.33% 0.214 341.3)
XYZxyz(28.5710, 15.2963, 31.5786)
Luminance0.1529 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C12A99 #2AC152
analogous
#9D2AC1 #C12A99 #C12A4D
triadic
#C12A99 #99C12A #2A99C1
tetradic
#C12A99 #C19D2A #2AC152 #2A4DC1
square
#C12A99 #C19D2A #2AC152 #2A4DC1
split-complementary
#C12A99 #4DC12A #2AC19D
monochromatic
#5C1449 #8F1F71 #C12A99 #D94FB4 #E482CA

Accessibility & contrast

On white

5.17
#C12A99 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#C12A99 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C12A99
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C12A99#FFFFFF#000000##FFFFFF
##C12A991.005.174.065.17
#FFFFFF5.171.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#395E9C
Deuteranopia (green-blind)
#6A7696
Tritanopia (blue-blind)
#CD2D5F
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #c12a99;
/* rgb */ color: rgb(193, 42, 153);
/* oklch */ color: oklch(56.3% 0.214 341.3);
Tailwind
colors: {
  custom: {
    50: '#d875b7',
    500: '#c12a99',
    950: '#000000',
  },
}
SCSS
$custom: #c12a99;
$custom-light: #d875b7;
$custom-dark: #000000;
JSON
{
  "hex": "#c12a99",
  "rgb": {
    "r": 193,
    "g": 42,
    "b": 153
  },
  "hsl": {
    "h": 315.894,
    "s": 64.255,
    "l": 46.078
  },
  "oklch": {
    "l": 0.56325,
    "c": 0.21394,
    "h": 341.3
  },
  "luminance": 0.15293
}

Semantic roles & 50–950 ramp

primary
#C12A99
secondary
#7ACD90
accent
#E76D41
background
#FDF7FB
surface
#FBEEF6
border
#D4C9D0
text
#150911
muted
#837B80

Preview Lab

Preview with #C12A99

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

Preview Lab → · Contrast checker → · Palette generator →

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