#C12C9F#C12C9F

#C12C9F is a mid, highly saturated pink. Relative luminance 0.156; OKLCH L 56.8% C 0.216 H 339.2°. Best body text is #FFFFFF at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#C12C9F
RGBrgb(193, 44, 159)
HSLhsl(314, 63%, 46%)
HSVhsv(314, 77%, 76%)
CMYKcmyk(0%, 77.2%, 17.6%, 24.3%)
CIE-LABlab(46.51, 67.77, -28.29)
CIE-LCHlch(46.51, 73.44, 337.34°)
OKLaboklab(56.75% 0.2018 -0.0766)
OKLCHoklch(56.75% 0.216 339.2)
XYZxyz(29.1518, 15.6449, 34.2787)
Luminance0.1564 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C12C9F #2CC14E
analogous
#992CC1 #C12C9F #C12C55
triadic
#C12C9F #9FC12C #2C9FC1
tetradic
#C12C9F #C1992C #2CC14E #2C55C1
square
#C12C9F #C1992C #2CC14E #2C55C1
split-complementary
#C12C9F #55C12C #2CC199
monochromatic
#5D154D #8F2176 #C12C9F #D853B9 #E384CD

Accessibility & contrast

On white

5.09
#C12C9F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #C12C9F
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C12C9F#FFFFFF#000000##FFFFFF
##C12C9F1.005.094.135.09
#FFFFFF5.091.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#365FA2
Deuteranopia (green-blind)
#68769C
Tritanopia (blue-blind)
#CC3363
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #c12c9f;
/* rgb */ color: rgb(193, 44, 159);
/* oklch */ color: oklch(56.8% 0.216 339.2);
Tailwind
colors: {
  custom: {
    50: '#d876bb',
    500: '#c12c9f',
    950: '#000000',
  },
}
SCSS
$custom: #c12c9f;
$custom-light: #d876bb;
$custom-dark: #000000;
JSON
{
  "hex": "#c12c9f",
  "rgb": {
    "r": 193,
    "g": 44,
    "b": 159
  },
  "hsl": {
    "h": 313.691,
    "s": 62.869,
    "l": 46.471
  },
  "oklch": {
    "l": 0.56751,
    "c": 0.21581,
    "h": 339.2
  },
  "luminance": 0.15642
}

Semantic roles & 50–950 ramp

primary
#C12C9F
secondary
#7DCC8F
accent
#E66742
background
#FDF7FB
surface
#FBEEF6
border
#D4C9D0
text
#150A12
muted
#837C81

Preview Lab

Preview with #C12C9F

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

Preview Lab → · Contrast checker → · Palette generator →

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