#C12A9D#C12A9D

#C12A9D is a mid, highly saturated pink. Relative luminance 0.154; OKLCH L 56.5% C 0.216 H 339.9°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#C12A9D
RGBrgb(193, 42, 157)
HSLhsl(314, 64%, 46%)
HSVhsv(314, 78%, 76%)
CMYKcmyk(0%, 78.2%, 18.7%, 24.3%)
CIE-LABlab(46.22, 68.06, -27.54)
CIE-LCHlch(46.22, 73.42, 337.97°)
OKLaboklab(56.52% 0.2032 -0.0745)
OKLCHoklch(56.52% 0.216 339.9)
XYZxyz(28.9069, 15.4306, 33.3478)
Luminance0.1543 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C12A9D #2AC14E
analogous
#992AC1 #C12A9D #C12A51
triadic
#C12A9D #9DC12A #2A9DC1
tetradic
#C12A9D #C1992A #2AC14E #2A51C1
square
#C12A9D #C1992A #2AC14E #2A51C1
split-complementary
#C12A9D #51C12A #2AC199
monochromatic
#5C144B #8F1F74 #C12A9D #D94FB8 #E482CC

Accessibility & contrast

On white

5.14
#C12A9D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #C12A9D
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C12A9D#FFFFFF#000000##FFFFFF
##C12A9D1.005.144.095.14
#FFFFFF5.141.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#365EA0
Deuteranopia (green-blind)
#68769A
Tritanopia (blue-blind)
#CD3062
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #c12a9d;
/* rgb */ color: rgb(193, 42, 157);
/* oklch */ color: oklch(56.5% 0.216 339.9);
Tailwind
colors: {
  custom: {
    50: '#d875ba',
    500: '#c12a9d',
    950: '#000000',
  },
}
SCSS
$custom: #c12a9d;
$custom-light: #d875ba;
$custom-dark: #000000;
JSON
{
  "hex": "#c12a9d",
  "rgb": {
    "r": 193,
    "g": 42,
    "b": 157
  },
  "hsl": {
    "h": 314.305,
    "s": 64.255,
    "l": 46.078
  },
  "oklch": {
    "l": 0.56515,
    "c": 0.21643,
    "h": 339.9
  },
  "luminance": 0.15428
}

Semantic roles & 50–950 ramp

primary
#C12A9D
secondary
#7ACD8E
accent
#E76841
background
#FDF7FB
surface
#FBEEF6
border
#D4C9D0
text
#150911
muted
#837B80

Preview Lab

Preview with #C12A9D

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

Preview Lab → · Contrast checker → · Palette generator →

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