#C12C9B#C12C9B

#C12C9B is a mid, highly saturated pink. Relative luminance 0.155; OKLCH L 56.6% C 0.213 H 340.7°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#C12C9B
RGBrgb(193, 44, 155)
HSLhsl(315, 63%, 46%)
HSVhsv(315, 77%, 76%)
CMYKcmyk(0%, 77.2%, 19.7%, 24.3%)
CIE-LABlab(46.32, 67.24, -26.18)
CIE-LCHlch(46.32, 72.16, 338.73°)
OKLaboklab(56.56% 0.2013 -0.0706)
OKLCHoklch(56.56% 0.213 340.7)
XYZxyz(28.8103, 15.5083, 32.4801)
Luminance0.1550 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C12C9B #2CC152
analogous
#9D2CC1 #C12C9B #C12C51
triadic
#C12C9B #9BC12C #2C9BC1
tetradic
#C12C9B #C19D2C #2CC152 #2C51C1
square
#C12C9B #C19D2C #2CC152 #2C51C1
split-complementary
#C12C9B #51C12C #2CC19D
monochromatic
#5D154B #8F2173 #C12C9B #D853B6 #E384CB

Accessibility & contrast

On white

5.12
#C12C9B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#C12C9B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C12C9B
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C12C9B#FFFFFF#000000##FFFFFF
##C12C9B1.005.124.105.12
#FFFFFF5.121.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#395F9E
Deuteranopia (green-blind)
#6A7698
Tritanopia (blue-blind)
#CD3061
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #c12c9b;
/* rgb */ color: rgb(193, 44, 155);
/* oklch */ color: oklch(56.6% 0.213 340.7);
Tailwind
colors: {
  custom: {
    50: '#d875b8',
    500: '#c12c9b',
    950: '#000000',
  },
}
SCSS
$custom: #c12c9b;
$custom-light: #d875b8;
$custom-dark: #000000;
JSON
{
  "hex": "#c12c9b",
  "rgb": {
    "r": 193,
    "g": 44,
    "b": 155
  },
  "hsl": {
    "h": 315.302,
    "s": 62.869,
    "l": 46.471
  },
  "oklch": {
    "l": 0.5656,
    "c": 0.21329,
    "h": 340.7
  },
  "luminance": 0.15505
}

Semantic roles & 50–950 ramp

primary
#C12C9B
secondary
#7DCC91
accent
#E66C42
background
#FDF7FB
surface
#FBEEF6
border
#D4C9D0
text
#150A11
muted
#837C80

Preview Lab

Preview with #C12C9B

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

Preview Lab → · Contrast checker → · Palette generator →

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