#C12BA4#C12BA4

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

Color values

HEX#C12BA4
RGBrgb(193, 43, 164)
HSLhsl(312, 64%, 46%)
HSVhsv(312, 78%, 76%)
CMYKcmyk(0%, 77.7%, 15%, 24.3%)
CIE-LABlab(46.64, 68.74, -31.05)
CIE-LCHlch(46.64, 75.43, 335.69°)
OKLaboklab(56.93% 0.2031 -0.0845)
OKLCHoklch(56.93% 0.22 337.4)
XYZxyz(29.5577, 15.7484, 36.5978)
Luminance0.1575 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C12BA4 #2BC148
analogous
#932BC1 #C12BA4 #C12B59
triadic
#C12BA4 #A4C12B #2BA4C1
tetradic
#C12BA4 #C1932B #2BC148 #2B59C1
square
#C12BA4 #C1932B #2BC148 #2B59C1
split-complementary
#C12BA4 #59C12B #2BC193
monochromatic
#5D154F #8F2079 #C12BA4 #D851BE #E383D1

Accessibility & contrast

On white

5.06
#C12BA4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#C12BA4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C12BA4
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C12BA4#FFFFFF#000000##FFFFFF
##C12BA41.005.064.155.06
#FFFFFF5.061.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3160A7
Deuteranopia (green-blind)
#6677A1
Tritanopia (blue-blind)
#CC3566
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #c12ba4;
/* rgb */ color: rgb(193, 43, 164);
/* oklch */ color: oklch(56.9% 0.220 337.4);
Tailwind
colors: {
  custom: {
    50: '#d875bf',
    500: '#c12ba4',
    950: '#000000',
  },
}
SCSS
$custom: #c12ba4;
$custom-light: #d875bf;
$custom-dark: #000000;
JSON
{
  "hex": "#c12ba4",
  "rgb": {
    "r": 193,
    "g": 43,
    "b": 164
  },
  "hsl": {
    "h": 311.6,
    "s": 63.559,
    "l": 46.275
  },
  "oklch": {
    "l": 0.56927,
    "c": 0.21998,
    "h": 337.4
  },
  "luminance": 0.15746
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C12BA4

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

Preview Lab → · Contrast checker → · Palette generator →

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