#C12AAC#C12AAC

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

Color values

HEX#C12AAC
RGBrgb(193, 42, 172)
HSLhsl(308, 64%, 46%)
HSVhsv(308, 78%, 76%)
CMYKcmyk(0%, 78.2%, 10.9%, 24.3%)
CIE-LABlab(46.94, 70.14, -35.33)
CIE-LCHlch(46.94, 78.54, 333.27°)
OKLaboklab(57.27% 0.2045 -0.0967)
OKLCHoklch(57.27% 0.226 334.7)
XYZxyz(30.2671, 15.9747, 40.5111)
Luminance0.1597 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C12AAC #2AC13F
analogous
#8A2AC1 #C12AAC #C12A61
triadic
#C12AAC #ACC12A #2AACC1
tetradic
#C12AAC #C18A2A #2AC13F #2A61C1
square
#C12AAC #C18A2A #2AC13F #2A61C1
split-complementary
#C12AAC #61C12A #2AC18A
monochromatic
#5C1452 #8F1F7F #C12AAC #D94FC6 #E482D6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C12AAC#FFFFFF#000000##FFFFFF
##C12AAC1.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)
#2861AF
Deuteranopia (green-blind)
#6277A9
Tritanopia (blue-blind)
#CB396A
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #c12aac;
/* rgb */ color: rgb(193, 42, 172);
/* oklch */ color: oklch(57.3% 0.226 334.7);
Tailwind
colors: {
  custom: {
    50: '#d875c5',
    500: '#c12aac',
    950: '#000000',
  },
}
SCSS
$custom: #c12aac;
$custom-light: #d875c5;
$custom-dark: #000000;
JSON
{
  "hex": "#c12aac",
  "rgb": {
    "r": 193,
    "g": 42,
    "b": 172
  },
  "hsl": {
    "h": 308.344,
    "s": 64.255,
    "l": 46.078
  },
  "oklch": {
    "l": 0.57269,
    "c": 0.22623,
    "h": 334.7
  },
  "luminance": 0.15972
}

Semantic roles & 50–950 ramp

primary
#C12AAC
secondary
#7ACD86
accent
#E75841
background
#FDF7FC
surface
#FBEEF8
border
#D4C9D1
text
#150A13
muted
#837C82

Preview Lab

Preview with #C12AAC

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

Preview Lab → · Contrast checker → · Palette generator →

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