#C12FA3#C12FA3

#C12FA3 is a mid, highly saturated pink. Relative luminance 0.160; OKLCH L 57.2% C 0.215 H 337.9°. Best body text is #FFFFFF at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#C12FA3
RGBrgb(193, 47, 163)
HSLhsl(312, 61%, 47%)
HSVhsv(312, 76%, 76%)
CMYKcmyk(0%, 75.6%, 15.5%, 24.3%)
CIE-LABlab(47.00, 67.45, -29.90)
CIE-LCHlch(47.00, 73.78, 336.09°)
OKLaboklab(57.17% 0.1996 -0.0812)
OKLCHoklch(57.17% 0.215 337.9)
XYZxyz(29.6203, 16.0177, 36.1750)
Luminance0.1601 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C12FA3 #2FC14D
analogous
#962FC1 #C12FA3 #C12F5A
triadic
#C12FA3 #A3C12F #2FA3C1
tetradic
#C12FA3 #C1962F #2FC14D #2F5AC1
square
#C12FA3 #C1962F #2FC14D #2F5AC1
split-complementary
#C12FA3 #5AC12F #2FC196
monochromatic
#5F1750 #902379 #C12FA3 #D657BC #E288D0

Accessibility & contrast

On white

5.00
#C12FA3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#C12FA3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C12FA3
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C12FA3#FFFFFF#000000##FFFFFF
##C12FA31.005.004.205.00
#FFFFFF5.001.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3561A6
Deuteranopia (green-blind)
#6777A0
Tritanopia (blue-blind)
#CC3766
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #c12fa3;
/* rgb */ color: rgb(193, 47, 163);
/* oklch */ color: oklch(57.2% 0.215 337.9);
Tailwind
colors: {
  custom: {
    50: '#d877be',
    500: '#c12fa3',
    950: '#000000',
  },
}
SCSS
$custom: #c12fa3;
$custom-light: #d877be;
$custom-dark: #000000;
JSON
{
  "hex": "#c12fa3",
  "rgb": {
    "r": 193,
    "g": 47,
    "b": 163
  },
  "hsl": {
    "h": 312.329,
    "s": 60.833,
    "l": 47.059
  },
  "oklch": {
    "l": 0.57167,
    "c": 0.21546,
    "h": 337.9
  },
  "luminance": 0.16015
}

Semantic roles & 50–950 ramp

primary
#C12FA3
secondary
#80CC90
accent
#E46544
background
#FDF7FB
surface
#FBEEF7
border
#D4C9D0
text
#150A12
muted
#837C81

Preview Lab

Preview with #C12FA3

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

Preview Lab → · Contrast checker → · Palette generator →

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