#C12FA6#C12FA6

#C12FA6 is a mid, highly saturated pink. Relative luminance 0.161; OKLCH L 57.3% C 0.217 H 336.8°. Best body text is #FFFFFF at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#C12FA6
RGBrgb(193, 47, 166)
HSLhsl(311, 61%, 47%)
HSVhsv(311, 76%, 76%)
CMYKcmyk(0%, 75.6%, 14%, 24.3%)
CIE-LABlab(47.14, 67.87, -31.46)
CIE-LCHlch(47.14, 74.81, 335.13°)
OKLaboklab(57.32% 0.1999 -0.0857)
OKLCHoklch(57.32% 0.217 336.8)
XYZxyz(29.8923, 16.1265, 37.6074)
Luminance0.1612 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C12FA6 #2FC14A
analogous
#932FC1 #C12FA6 #C12F5D
triadic
#C12FA6 #A6C12F #2FA6C1
tetradic
#C12FA6 #C1932F #2FC14A #2F5DC1
square
#C12FA6 #C1932F #2FC14A #2F5DC1
split-complementary
#C12FA6 #5DC12F #2FC193
monochromatic
#5F1751 #90237C #C12FA6 #D657BF #E288D1

Accessibility & contrast

On white

4.97
#C12FA6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.22
#C12FA6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C12FA6
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C12FA6#FFFFFF#000000##FFFFFF
##C12FA61.004.974.224.97
#FFFFFF4.971.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3362A9
Deuteranopia (green-blind)
#6678A3
Tritanopia (blue-blind)
#CB3968
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #c12fa6;
/* rgb */ color: rgb(193, 47, 166);
/* oklch */ color: oklch(57.3% 0.217 336.8);
Tailwind
colors: {
  custom: {
    50: '#d877c1',
    500: '#c12fa6',
    950: '#000000',
  },
}
SCSS
$custom: #c12fa6;
$custom-light: #d877c1;
$custom-dark: #000000;
JSON
{
  "hex": "#c12fa6",
  "rgb": {
    "r": 193,
    "g": 47,
    "b": 166
  },
  "hsl": {
    "h": 311.096,
    "s": 60.833,
    "l": 47.059
  },
  "oklch": {
    "l": 0.57316,
    "c": 0.21745,
    "h": 336.8
  },
  "luminance": 0.16124
}

Semantic roles & 50–950 ramp

primary
#C12FA6
secondary
#80CC8E
accent
#E46144
background
#FDF7FB
surface
#FBEEF7
border
#D4C9D0
text
#150A12
muted
#837C81

Preview Lab

Preview with #C12FA6

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

Preview Lab → · Contrast checker → · Palette generator →

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