#C12A9B#C12A9B

#C12A9B is a mid, highly saturated pink. Relative luminance 0.154; OKLCH L 56.4% C 0.215 H 340.6°. Best body text is #FFFFFF at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#C12A9B
RGBrgb(193, 42, 155)
HSLhsl(315, 64%, 46%)
HSVhsv(315, 78%, 76%)
CMYKcmyk(0%, 78.2%, 19.7%, 24.3%)
CIE-LABlab(46.13, 67.80, -26.48)
CIE-LCHlch(46.13, 72.79, 338.66°)
OKLaboklab(56.42% 0.203 -0.0715)
OKLCHoklch(56.42% 0.215 340.6)
XYZxyz(28.7376, 15.3629, 32.4559)
Luminance0.1536 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C12A9B #2AC150
analogous
#9B2AC1 #C12A9B #C12A50
triadic
#C12A9B #9BC12A #2A9BC1
tetradic
#C12A9B #C19B2A #2AC150 #2A50C1
square
#C12A9B #C19B2A #2AC150 #2A50C1
split-complementary
#C12A9B #50C12A #2AC19B
monochromatic
#5C144A #8F1F73 #C12A9B #D94FB6 #E482CB

Accessibility & contrast

On white

5.16
#C12A9B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.07
#C12A9B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C12A9B
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C12A9B#FFFFFF#000000##FFFFFF
##C12A9B1.005.164.075.16
#FFFFFF5.161.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#375E9E
Deuteranopia (green-blind)
#697698
Tritanopia (blue-blind)
#CD2F60
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #c12a9b;
/* rgb */ color: rgb(193, 42, 155);
/* oklch */ color: oklch(56.4% 0.215 340.6);
Tailwind
colors: {
  custom: {
    50: '#d875b8',
    500: '#c12a9b',
    950: '#000000',
  },
}
SCSS
$custom: #c12a9b;
$custom-light: #d875b8;
$custom-dark: #000000;
JSON
{
  "hex": "#c12a9b",
  "rgb": {
    "r": 193,
    "g": 42,
    "b": 155
  },
  "hsl": {
    "h": 315.099,
    "s": 64.255,
    "l": 46.078
  },
  "oklch": {
    "l": 0.56419,
    "c": 0.21518,
    "h": 340.6
  },
  "luminance": 0.1536
}

Semantic roles & 50–950 ramp

primary
#C12A9B
secondary
#7ACD8F
accent
#E76A41
background
#FDF7FB
surface
#FBEEF6
border
#D4C9D0
text
#150911
muted
#837B80

Preview Lab

Preview with #C12A9B

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

Preview Lab → · Contrast checker → · Palette generator →

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