#C12AAB#C12AAB

#C12AAB is a mid, highly saturated purple. Relative luminance 0.159; OKLCH L 57.2% C 0.226 H 335.0°. Best body text is #FFFFFF at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#C12AAB
RGBrgb(193, 42, 171)
HSLhsl(309, 64%, 46%)
HSVhsv(309, 78%, 76%)
CMYKcmyk(0%, 78.2%, 11.4%, 24.3%)
CIE-LABlab(46.89, 70.00, -34.82)
CIE-LCHlch(46.89, 78.18, 333.56°)
OKLaboklab(57.22% 0.2044 -0.0953)
OKLCHoklch(57.22% 0.226 335)
XYZxyz(30.1714, 15.9364, 40.0072)
Luminance0.1593 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C12AAB #2AC140
analogous
#8B2AC1 #C12AAB #C12A5F
triadic
#C12AAB #ABC12A #2AABC1
tetradic
#C12AAB #C18B2A #2AC140 #2A5FC1
square
#C12AAB #C18B2A #2AC140 #2A5FC1
split-complementary
#C12AAB #5FC12A #2AC18B
monochromatic
#5C1452 #8F1F7E #C12AAB #D94FC5 #E482D5

Accessibility & contrast

On white

5.02
#C12AAB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #C12AAB
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C12AAB#FFFFFF#000000##FFFFFF
##C12AAB1.005.024.195.02
#FFFFFF5.021.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2961AE
Deuteranopia (green-blind)
#6277A8
Tritanopia (blue-blind)
#CB3869
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #c12aab;
/* rgb */ color: rgb(193, 42, 171);
/* oklch */ color: oklch(57.2% 0.226 335.0);
Tailwind
colors: {
  custom: {
    50: '#d875c4',
    500: '#c12aab',
    950: '#000000',
  },
}
SCSS
$custom: #c12aab;
$custom-light: #d875c4;
$custom-dark: #000000;
JSON
{
  "hex": "#c12aab",
  "rgb": {
    "r": 193,
    "g": 42,
    "b": 171
  },
  "hsl": {
    "h": 308.742,
    "s": 64.255,
    "l": 46.078
  },
  "oklch": {
    "l": 0.57217,
    "c": 0.22555,
    "h": 335
  },
  "luminance": 0.15934
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C12AAB

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

Preview Lab → · Contrast checker → · Palette generator →

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