#C12F99#C12F99

#C12F99 is a mid, highly saturated pink. Relative luminance 0.157; OKLCH L 56.7% C 0.209 H 341.5°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#C12F99
RGBrgb(193, 47, 153)
HSLhsl(316, 61%, 47%)
HSVhsv(316, 76%, 76%)
CMYKcmyk(0%, 75.6%, 20.7%, 24.3%)
CIE-LABlab(46.54, 66.09, -24.64)
CIE-LCHlch(46.54, 70.54, 339.55°)
OKLaboklab(56.69% 0.1983 -0.0663)
OKLCHoklch(56.69% 0.209 341.5)
XYZxyz(28.7596, 15.6733, 31.6415)
Luminance0.1567 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C12F99 #2FC157
analogous
#A02FC1 #C12F99 #C12F50
triadic
#C12F99 #99C12F #2F99C1
tetradic
#C12F99 #C1A02F #2FC157 #2F50C1
square
#C12F99 #C1A02F #2FC157 #2F50C1
split-complementary
#C12F99 #50C12F #2FC1A0
monochromatic
#5F174B #902372 #C12F99 #D657B3 #E288C9

Accessibility & contrast

On white

5.08
#C12F99 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#C12F99 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C12F99
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C12F99#FFFFFF#000000##FFFFFF
##C12F991.005.084.135.08
#FFFFFF5.081.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C5F9C
Deuteranopia (green-blind)
#6B7796
Tritanopia (blue-blind)
#CD3261
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #c12f99;
/* rgb */ color: rgb(193, 47, 153);
/* oklch */ color: oklch(56.7% 0.209 341.5);
Tailwind
colors: {
  custom: {
    50: '#d877b7',
    500: '#c12f99',
    950: '#000000',
  },
}
SCSS
$custom: #c12f99;
$custom-light: #d877b7;
$custom-dark: #000000;
JSON
{
  "hex": "#c12f99",
  "rgb": {
    "r": 193,
    "g": 47,
    "b": 153
  },
  "hsl": {
    "h": 316.438,
    "s": 60.833,
    "l": 47.059
  },
  "oklch": {
    "l": 0.56691,
    "c": 0.20907,
    "h": 341.5
  },
  "luminance": 0.1567
}

Semantic roles & 50–950 ramp

primary
#C12F99
secondary
#80CC95
accent
#E47044
background
#FDF7FB
surface
#FBEEF6
border
#D4C9D0
text
#150A11
muted
#837C80

Preview Lab

Preview with #C12F99

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

Preview Lab → · Contrast checker → · Palette generator →

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