#C12AA1#C12AA1

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

Color values

HEX#C12AA1
RGBrgb(193, 42, 161)
HSLhsl(313, 64%, 46%)
HSVhsv(313, 78%, 76%)
CMYKcmyk(0%, 78.2%, 16.6%, 24.3%)
CIE-LABlab(46.40, 68.60, -29.64)
CIE-LCHlch(46.40, 74.73, 336.63°)
OKLaboklab(56.71% 0.2037 -0.0804)
OKLCHoklch(56.71% 0.219 338.4)
XYZxyz(29.2540, 15.5695, 35.1759)
Luminance0.1557 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C12AA1 #2AC14A
analogous
#952AC1 #C12AA1 #C12A55
triadic
#C12AA1 #A1C12A #2AA1C1
tetradic
#C12AA1 #C1952A #2AC14A #2A55C1
square
#C12AA1 #C1952A #2AC14A #2A55C1
split-complementary
#C12AA1 #55C12A #2AC195
monochromatic
#5C144D #8F1F77 #C12AA1 #D94FBC #E482CF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C12AA1#FFFFFF#000000##FFFFFF
##C12AA11.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)
#335FA4
Deuteranopia (green-blind)
#67769E
Tritanopia (blue-blind)
#CC3264
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #c12aa1;
/* rgb */ color: rgb(193, 42, 161);
/* oklch */ color: oklch(56.7% 0.219 338.4);
Tailwind
colors: {
  custom: {
    50: '#d875bd',
    500: '#c12aa1',
    950: '#000000',
  },
}
SCSS
$custom: #c12aa1;
$custom-light: #d875bd;
$custom-dark: #000000;
JSON
{
  "hex": "#c12aa1",
  "rgb": {
    "r": 193,
    "g": 42,
    "b": 161
  },
  "hsl": {
    "h": 312.715,
    "s": 64.255,
    "l": 46.078
  },
  "oklch": {
    "l": 0.56709,
    "c": 0.21896,
    "h": 338.4
  },
  "luminance": 0.15567
}

Semantic roles & 50–950 ramp

primary
#C12AA1
secondary
#7ACD8C
accent
#E76441
background
#FDF7FB
surface
#FBEEF6
border
#D4C9D0
text
#150912
muted
#837B81

Preview Lab

Preview with #C12AA1

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

Preview Lab → · Contrast checker → · Palette generator →

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