#C12A9A#C12A9A

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

Color values

HEX#C12A9A
RGBrgb(193, 42, 154)
HSLhsl(315, 64%, 46%)
HSVhsv(315, 78%, 76%)
CMYKcmyk(0%, 78.2%, 20.2%, 24.3%)
CIE-LABlab(46.08, 67.67, -25.96)
CIE-LCHlch(46.08, 72.47, 339.01°)
OKLaboklab(56.37% 0.2028 -0.07)
OKLCHoklch(56.37% 0.215 341)
XYZxyz(28.6540, 15.3294, 32.0154)
Luminance0.1533 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C12A9A #2AC151
analogous
#9C2AC1 #C12A9A #C12A4E
triadic
#C12A9A #9AC12A #2A9AC1
tetradic
#C12A9A #C19C2A #2AC151 #2A4EC1
square
#C12A9A #C19C2A #2AC151 #2A4EC1
split-complementary
#C12A9A #4EC12A #2AC19C
monochromatic
#5C144A #8F1F72 #C12A9A #D94FB5 #E482CA

Accessibility & contrast

On white

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

On black

4.07
#C12A9A on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##C12A9A#FFFFFF#000000##FFFFFF
##C12A9A1.005.174.075.17
#FFFFFF5.171.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#385E9D
Deuteranopia (green-blind)
#697697
Tritanopia (blue-blind)
#CD2E60
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #c12a9a;
/* rgb */ color: rgb(193, 42, 154);
/* oklch */ color: oklch(56.4% 0.215 341.0);
Tailwind
colors: {
  custom: {
    50: '#d875b8',
    500: '#c12a9a',
    950: '#000000',
  },
}
SCSS
$custom: #c12a9a;
$custom-light: #d875b8;
$custom-dark: #000000;
JSON
{
  "hex": "#c12a9a",
  "rgb": {
    "r": 193,
    "g": 42,
    "b": 154
  },
  "hsl": {
    "h": 315.497,
    "s": 64.255,
    "l": 46.078
  },
  "oklch": {
    "l": 0.56372,
    "c": 0.21456,
    "h": 341
  },
  "luminance": 0.15326
}

Semantic roles & 50–950 ramp

primary
#C12A9A
secondary
#7ACD8F
accent
#E76C41
background
#FDF7FB
surface
#FBEEF6
border
#D4C9D0
text
#150911
muted
#837B80

Preview Lab

Preview with #C12A9A

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

Preview Lab → · Contrast checker → · Palette generator →

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