#C12AA3#C12AA3

#C12AA3 is a mid, highly saturated pink. Relative luminance 0.156; OKLCH L 56.8% C 0.220 H 337.7°. Best body text is #FFFFFF at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#C12AA3
RGBrgb(193, 42, 163)
HSLhsl(312, 64%, 46%)
HSVhsv(312, 78%, 76%)
CMYKcmyk(0%, 78.2%, 15.5%, 24.3%)
CIE-LABlab(46.50, 68.88, -30.68)
CIE-LCHlch(46.50, 75.40, 335.99°)
OKLaboklab(56.81% 0.2039 -0.0834)
OKLCHoklch(56.81% 0.22 337.7)
XYZxyz(29.4318, 15.6406, 36.1121)
Luminance0.1564 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C12AA3 #2AC148
analogous
#932AC1 #C12AA3 #C12A57
triadic
#C12AA3 #A3C12A #2AA3C1
tetradic
#C12AA3 #C1932A #2AC148 #2A57C1
square
#C12AA3 #C1932A #2AC148 #2A57C1
split-complementary
#C12AA3 #57C12A #2AC193
monochromatic
#5C144E #8F1F79 #C12AA3 #D94FBD #E482D0

Accessibility & contrast

On white

5.09
#C12AA3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#C12AA3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C12AA3
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C12AA3#FFFFFF#000000##FFFFFF
##C12AA31.005.094.135.09
#FFFFFF5.091.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#315FA6
Deuteranopia (green-blind)
#6676A0
Tritanopia (blue-blind)
#CC3465
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #c12aa3;
/* rgb */ color: rgb(193, 42, 163);
/* oklch */ color: oklch(56.8% 0.220 337.7);
Tailwind
colors: {
  custom: {
    50: '#d875be',
    500: '#c12aa3',
    950: '#000000',
  },
}
SCSS
$custom: #c12aa3;
$custom-light: #d875be;
$custom-dark: #000000;
JSON
{
  "hex": "#c12aa3",
  "rgb": {
    "r": 193,
    "g": 42,
    "b": 163
  },
  "hsl": {
    "h": 311.921,
    "s": 64.255,
    "l": 46.078
  },
  "oklch": {
    "l": 0.56808,
    "c": 0.22026,
    "h": 337.7
  },
  "luminance": 0.15638
}

Semantic roles & 50–950 ramp

primary
#C12AA3
secondary
#7ACD8B
accent
#E76241
background
#FDF7FB
surface
#FBEEF7
border
#D4C9D0
text
#150A12
muted
#837C81

Preview Lab

Preview with #C12AA3

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

Preview Lab → · Contrast checker → · Palette generator →

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