#C12F96#C12F96

#C12F96 is a mid, highly saturated pink. Relative luminance 0.156; OKLCH L 56.6% C 0.207 H 342.7°. Best body text is #FFFFFF at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#C12F96
RGBrgb(193, 47, 150)
HSLhsl(318, 61%, 47%)
HSVhsv(318, 76%, 76%)
CMYKcmyk(0%, 75.6%, 22.3%, 24.3%)
CIE-LABlab(46.41, 65.70, -23.04)
CIE-LCHlch(46.41, 69.62, 340.67°)
OKLaboklab(56.55% 0.1978 -0.0618)
OKLCHoklch(56.55% 0.207 342.7)
XYZxyz(28.5149, 15.5755, 30.3529)
Luminance0.1557 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C12F96 #2FC15A
analogous
#A32FC1 #C12F96 #C12F4D
triadic
#C12F96 #96C12F #2F96C1
tetradic
#C12F96 #C1A32F #2FC15A #2F4DC1
square
#C12F96 #C1A32F #2FC15A #2F4DC1
split-complementary
#C12F96 #4DC12F #2FC1A3
monochromatic
#5F174A #902370 #C12F96 #D657B1 #E288C8

Accessibility & contrast

On white

5.10
#C12F96 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.11
#C12F96 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C12F96
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C12F96#FFFFFF#000000##FFFFFF
##C12F961.005.104.115.10
#FFFFFF5.101.0021.001.00
#0000004.1121.001.0021.00
##FFFFFF5.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E5F99
Deuteranopia (green-blind)
#6C7793
Tritanopia (blue-blind)
#CD305F
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #c12f96;
/* rgb */ color: rgb(193, 47, 150);
/* oklch */ color: oklch(56.6% 0.207 342.7);
Tailwind
colors: {
  custom: {
    50: '#d876b5',
    500: '#c12f96',
    950: '#000000',
  },
}
SCSS
$custom: #c12f96;
$custom-light: #d876b5;
$custom-dark: #000000;
JSON
{
  "hex": "#c12f96",
  "rgb": {
    "r": 193,
    "g": 47,
    "b": 150
  },
  "hsl": {
    "h": 317.671,
    "s": 60.833,
    "l": 47.059
  },
  "oklch": {
    "l": 0.56554,
    "c": 0.20723,
    "h": 342.7
  },
  "luminance": 0.15572
}

Semantic roles & 50–950 ramp

primary
#C12F96
secondary
#80CC96
accent
#E47344
background
#FDF7FB
surface
#FBEEF6
border
#D4C9D0
text
#150A11
muted
#837C80

Preview Lab

Preview with #C12F96

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

Preview Lab → · Contrast checker → · Palette generator →

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