#C12AA4#C12AA4

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

Color values

HEX#C12AA4
RGBrgb(193, 42, 164)
HSLhsl(312, 64%, 46%)
HSVhsv(312, 78%, 76%)
CMYKcmyk(0%, 78.2%, 15%, 24.3%)
CIE-LABlab(46.55, 69.01, -31.20)
CIE-LCHlch(46.55, 75.74, 335.67°)
OKLaboklab(56.86% 0.2039 -0.0849)
OKLCHoklch(56.86% 0.221 337.4)
XYZxyz(29.5218, 15.6766, 36.5859)
Luminance0.1567 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C12AA4 #2AC147
analogous
#922AC1 #C12AA4 #C12A58
triadic
#C12AA4 #A4C12A #2AA4C1
tetradic
#C12AA4 #C1922A #2AC147 #2A58C1
square
#C12AA4 #C1922A #2AC147 #2A58C1
split-complementary
#C12AA4 #58C12A #2AC192
monochromatic
#5C144F #8F1F79 #C12AA4 #D94FBE #E482D1

Accessibility & contrast

On white

5.08
#C12AA4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #C12AA4
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C12AA4#FFFFFF#000000##FFFFFF
##C12AA41.005.084.135.08
#FFFFFF5.081.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3060A7
Deuteranopia (green-blind)
#6576A1
Tritanopia (blue-blind)
#CC3465
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #c12aa4;
/* rgb */ color: rgb(193, 42, 164);
/* oklch */ color: oklch(56.9% 0.221 337.4);
Tailwind
colors: {
  custom: {
    50: '#d875bf',
    500: '#c12aa4',
    950: '#000000',
  },
}
SCSS
$custom: #c12aa4;
$custom-light: #d875bf;
$custom-dark: #000000;
JSON
{
  "hex": "#c12aa4",
  "rgb": {
    "r": 193,
    "g": 42,
    "b": 164
  },
  "hsl": {
    "h": 311.523,
    "s": 64.255,
    "l": 46.078
  },
  "oklch": {
    "l": 0.56858,
    "c": 0.22091,
    "h": 337.4
  },
  "luminance": 0.15674
}

Semantic roles & 50–950 ramp

primary
#C12AA4
secondary
#7ACD8A
accent
#E76141
background
#FDF7FB
surface
#FBEEF7
border
#D4C9D0
text
#150A12
muted
#837C81

Preview Lab

Preview with #C12AA4

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

Preview Lab → · Contrast checker → · Palette generator →

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