#C12A9E#C12A9E

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

Color values

HEX#C12A9E
RGBrgb(193, 42, 158)
HSLhsl(314, 64%, 46%)
HSVhsv(314, 78%, 76%)
CMYKcmyk(0%, 78.2%, 18.1%, 24.3%)
CIE-LABlab(46.26, 68.20, -28.07)
CIE-LCHlch(46.26, 73.75, 337.63°)
OKLaboklab(56.56% 0.2033 -0.076)
OKLCHoklch(56.56% 0.217 339.5)
XYZxyz(28.9927, 15.4649, 33.7993)
Luminance0.1546 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C12A9E #2AC14D
analogous
#982AC1 #C12A9E #C12A53
triadic
#C12A9E #9EC12A #2A9EC1
tetradic
#C12A9E #C1982A #2AC14D #2A53C1
square
#C12A9E #C1982A #2AC14D #2A53C1
split-complementary
#C12A9E #53C12A #2AC198
monochromatic
#5C144C #8F1F75 #C12A9E #D94FB9 #E482CD

Accessibility & contrast

On white

5.13
#C12A9E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.09
#C12A9E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C12A9E
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C12A9E#FFFFFF#000000##FFFFFF
##C12A9E1.005.134.095.13
#FFFFFF5.131.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#355FA1
Deuteranopia (green-blind)
#68769B
Tritanopia (blue-blind)
#CC3162
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #c12a9e;
/* rgb */ color: rgb(193, 42, 158);
/* oklch */ color: oklch(56.6% 0.217 339.5);
Tailwind
colors: {
  custom: {
    50: '#d875bb',
    500: '#c12a9e',
    950: '#000000',
  },
}
SCSS
$custom: #c12a9e;
$custom-light: #d875bb;
$custom-dark: #000000;
JSON
{
  "hex": "#c12a9e",
  "rgb": {
    "r": 193,
    "g": 42,
    "b": 158
  },
  "hsl": {
    "h": 313.907,
    "s": 64.255,
    "l": 46.078
  },
  "oklch": {
    "l": 0.56563,
    "c": 0.21706,
    "h": 339.5
  },
  "luminance": 0.15462
}

Semantic roles & 50–950 ramp

primary
#C12A9E
secondary
#7ACD8D
accent
#E76741
background
#FDF7FB
surface
#FBEEF6
border
#D4C9D0
text
#150912
muted
#837B81

Preview Lab

Preview with #C12A9E

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

Preview Lab → · Contrast checker → · Palette generator →

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