#C12FA1#C12FA1

#C12FA1 is a mid, highly saturated pink. Relative luminance 0.159; OKLCH L 57.1% C 0.214 H 338.6°. Best body text is #FFFFFF at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#C12FA1
RGBrgb(193, 47, 161)
HSLhsl(313, 61%, 47%)
HSVhsv(313, 76%, 76%)
CMYKcmyk(0%, 75.6%, 16.6%, 24.3%)
CIE-LABlab(46.90, 67.17, -28.86)
CIE-LCHlch(46.90, 73.11, 336.75°)
OKLaboklab(57.07% 0.1993 -0.0782)
OKLCHoklch(57.07% 0.214 338.6)
XYZxyz(29.4426, 15.9466, 35.2387)
Luminance0.1594 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C12FA1 #2FC14F
analogous
#982FC1 #C12FA1 #C12F58
triadic
#C12FA1 #A1C12F #2FA1C1
tetradic
#C12FA1 #C1982F #2FC14F #2F58C1
square
#C12FA1 #C1982F #2FC14F #2F58C1
split-complementary
#C12FA1 #58C12F #2FC198
monochromatic
#5F174F #902378 #C12FA1 #D657BA #E288CE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C12FA1#FFFFFF#000000##FFFFFF
##C12FA11.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)
#3761A4
Deuteranopia (green-blind)
#68779E
Tritanopia (blue-blind)
#CC3665
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #c12fa1;
/* rgb */ color: rgb(193, 47, 161);
/* oklch */ color: oklch(57.1% 0.214 338.6);
Tailwind
colors: {
  custom: {
    50: '#d877bd',
    500: '#c12fa1',
    950: '#000000',
  },
}
SCSS
$custom: #c12fa1;
$custom-light: #d877bd;
$custom-dark: #000000;
JSON
{
  "hex": "#c12fa1",
  "rgb": {
    "r": 193,
    "g": 47,
    "b": 161
  },
  "hsl": {
    "h": 313.151,
    "s": 60.833,
    "l": 47.059
  },
  "oklch": {
    "l": 0.57069,
    "c": 0.21415,
    "h": 338.6
  },
  "luminance": 0.15944
}

Semantic roles & 50–950 ramp

primary
#C12FA1
secondary
#80CC91
accent
#E46744
background
#FDF7FB
surface
#FBEEF6
border
#D4C9D0
text
#150A12
muted
#837C81

Preview Lab

Preview with #C12FA1

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

Preview Lab → · Contrast checker → · Palette generator →

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