#C12BA3#C12BA3

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

Color values

HEX#C12BA3
RGBrgb(193, 43, 163)
HSLhsl(312, 64%, 46%)
HSVhsv(312, 78%, 76%)
CMYKcmyk(0%, 77.7%, 15.5%, 24.3%)
CIE-LABlab(46.59, 68.60, -30.53)
CIE-LCHlch(46.59, 75.09, 336.01°)
OKLaboklab(56.88% 0.203 -0.083)
OKLCHoklch(56.88% 0.219 337.8)
XYZxyz(29.4677, 15.7124, 36.1241)
Luminance0.1571 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C12BA3 #2BC149
analogous
#942BC1 #C12BA3 #C12B58
triadic
#C12BA3 #A3C12B #2BA3C1
tetradic
#C12BA3 #C1942B #2BC149 #2B58C1
square
#C12BA3 #C1942B #2BC149 #2B58C1
split-complementary
#C12BA3 #58C12B #2BC194
monochromatic
#5D154E #8F2079 #C12BA3 #D851BD #E383D0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C12BA3#FFFFFF#000000##FFFFFF
##C12BA31.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)
#3260A6
Deuteranopia (green-blind)
#6677A0
Tritanopia (blue-blind)
#CC3465
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #c12ba3;
/* rgb */ color: rgb(193, 43, 163);
/* oklch */ color: oklch(56.9% 0.219 337.8);
Tailwind
colors: {
  custom: {
    50: '#d875be',
    500: '#c12ba3',
    950: '#000000',
  },
}
SCSS
$custom: #c12ba3;
$custom-light: #d875be;
$custom-dark: #000000;
JSON
{
  "hex": "#c12ba3",
  "rgb": {
    "r": 193,
    "g": 43,
    "b": 163
  },
  "hsl": {
    "h": 312,
    "s": 63.559,
    "l": 46.275
  },
  "oklch": {
    "l": 0.56877,
    "c": 0.21933,
    "h": 337.8
  },
  "luminance": 0.1571
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C12BA3

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

Preview Lab → · Contrast checker → · Palette generator →

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