#C12AA5#C12AA5

#C12AA5 is a mid, highly saturated pink. Relative luminance 0.157; OKLCH L 56.9% C 0.222 H 337.1°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#C12AA5
RGBrgb(193, 42, 165)
HSLhsl(311, 64%, 46%)
HSVhsv(311, 78%, 76%)
CMYKcmyk(0%, 78.2%, 14.5%, 24.3%)
CIE-LABlab(46.60, 69.15, -31.72)
CIE-LCHlch(46.60, 76.08, 335.36°)
OKLaboklab(56.91% 0.204 -0.0864)
OKLCHoklch(56.91% 0.222 337.1)
XYZxyz(29.6124, 15.7128, 37.0633)
Luminance0.1571 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C12AA5 #2AC146
analogous
#912AC1 #C12AA5 #C12A59
triadic
#C12AA5 #A5C12A #2AA5C1
tetradic
#C12AA5 #C1912A #2AC146 #2A59C1
square
#C12AA5 #C1912A #2AC146 #2A59C1
split-complementary
#C12AA5 #59C12A #2AC191
monochromatic
#5C144F #8F1F7A #C12AA5 #D94FBF #E482D2

Accessibility & contrast

On white

5.07
#C12AA5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#C12AA5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C12AA5
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C12AA5#FFFFFF#000000##FFFFFF
##C12AA51.005.074.145.07
#FFFFFF5.071.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F60A8
Deuteranopia (green-blind)
#6576A2
Tritanopia (blue-blind)
#CB3566
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #c12aa5;
/* rgb */ color: rgb(193, 42, 165);
/* oklch */ color: oklch(56.9% 0.222 337.1);
Tailwind
colors: {
  custom: {
    50: '#d875c0',
    500: '#c12aa5',
    950: '#000000',
  },
}
SCSS
$custom: #c12aa5;
$custom-light: #d875c0;
$custom-dark: #000000;
JSON
{
  "hex": "#c12aa5",
  "rgb": {
    "r": 193,
    "g": 42,
    "b": 165
  },
  "hsl": {
    "h": 311.126,
    "s": 64.255,
    "l": 46.078
  },
  "oklch": {
    "l": 0.56909,
    "c": 0.22156,
    "h": 337.1
  },
  "luminance": 0.1571
}

Semantic roles & 50–950 ramp

primary
#C12AA5
secondary
#7ACD89
accent
#E75F41
background
#FDF7FB
surface
#FBEEF7
border
#D4C9D0
text
#150A12
muted
#837C81

Preview Lab

Preview with #C12AA5

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

Preview Lab → · Contrast checker → · Palette generator →

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