#C12BAA#C12BAA

#C12BAA is a mid, highly saturated purple. Relative luminance 0.160; OKLCH L 57.2% C 0.224 H 335.4°. Best body text is #FFFFFF at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#C12BAA
RGBrgb(193, 43, 170)
HSLhsl(309, 64%, 46%)
HSVhsv(309, 78%, 76%)
CMYKcmyk(0%, 77.7%, 11.9%, 24.3%)
CIE-LABlab(46.94, 69.58, -34.15)
CIE-LCHlch(46.94, 77.51, 333.86°)
OKLaboklab(57.23% 0.2036 -0.0934)
OKLCHoklch(57.23% 0.224 335.4)
XYZxyz(30.1123, 15.9703, 39.5191)
Luminance0.1597 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C12BAA #2BC142
analogous
#8D2BC1 #C12BAA #C12B5F
triadic
#C12BAA #AAC12B #2BAAC1
tetradic
#C12BAA #C18D2B #2BC142 #2B5FC1
square
#C12BAA #C18D2B #2BC142 #2B5FC1
split-complementary
#C12BAA #5FC12B #2BC18D
monochromatic
#5D1552 #8F207E #C12BAA #D851C3 #E383D5

Accessibility & contrast

On white

5.01
#C12BAA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#C12BAA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C12BAA
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C12BAA#FFFFFF#000000##FFFFFF
##C12BAA1.005.014.195.01
#FFFFFF5.011.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B61AD
Deuteranopia (green-blind)
#6377A7
Tritanopia (blue-blind)
#CB3869
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #c12baa;
/* rgb */ color: rgb(193, 43, 170);
/* oklch */ color: oklch(57.2% 0.224 335.4);
Tailwind
colors: {
  custom: {
    50: '#d876c3',
    500: '#c12baa',
    950: '#000000',
  },
}
SCSS
$custom: #c12baa;
$custom-light: #d876c3;
$custom-dark: #000000;
JSON
{
  "hex": "#c12baa",
  "rgb": {
    "r": 193,
    "g": 43,
    "b": 170
  },
  "hsl": {
    "h": 309.2,
    "s": 63.559,
    "l": 46.275
  },
  "oklch": {
    "l": 0.57232,
    "c": 0.22397,
    "h": 335.4
  },
  "luminance": 0.15967
}

Semantic roles & 50–950 ramp

primary
#C12BAA
secondary
#7BCC88
accent
#E75B41
background
#FDF7FC
surface
#FBEEF8
border
#D4C9D1
text
#150A12
muted
#837C81

Preview Lab

Preview with #C12BAA

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

Preview Lab → · Contrast checker → · Palette generator →

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