#C12CA3#C12CA3

#C12CA3 is a mid, highly saturated pink. Relative luminance 0.158; OKLCH L 56.9% C 0.218 H 337.8°. Best body text is #FFFFFF at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#C12CA3
RGBrgb(193, 44, 163)
HSLhsl(312, 63%, 46%)
HSVhsv(312, 77%, 76%)
CMYKcmyk(0%, 77.2%, 15.5%, 24.3%)
CIE-LABlab(46.69, 68.32, -30.38)
CIE-LCHlch(46.69, 74.77, 336.03°)
OKLaboklab(56.95% 0.2022 -0.0826)
OKLCHoklch(56.95% 0.218 337.8)
XYZxyz(29.5045, 15.7860, 36.1364)
Luminance0.1578 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C12CA3 #2CC14A
analogous
#952CC1 #C12CA3 #C12C58
triadic
#C12CA3 #A3C12C #2CA3C1
tetradic
#C12CA3 #C1952C #2CC14A #2C58C1
square
#C12CA3 #C1952C #2CC14A #2C58C1
split-complementary
#C12CA3 #58C12C #2CC195
monochromatic
#5D154F #8F2179 #C12CA3 #D853BD #E384D0

Accessibility & contrast

On white

5.05
#C12CA3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#C12CA3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C12CA3
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C12CA3#FFFFFF#000000##FFFFFF
##C12CA31.005.054.165.05
#FFFFFF5.051.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3360A6
Deuteranopia (green-blind)
#6677A0
Tritanopia (blue-blind)
#CC3565
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #c12ca3;
/* rgb */ color: rgb(193, 44, 163);
/* oklch */ color: oklch(56.9% 0.218 337.8);
Tailwind
colors: {
  custom: {
    50: '#d876be',
    500: '#c12ca3',
    950: '#000000',
  },
}
SCSS
$custom: #c12ca3;
$custom-light: #d876be;
$custom-dark: #000000;
JSON
{
  "hex": "#c12ca3",
  "rgb": {
    "r": 193,
    "g": 44,
    "b": 163
  },
  "hsl": {
    "h": 312.081,
    "s": 62.869,
    "l": 46.471
  },
  "oklch": {
    "l": 0.56947,
    "c": 0.21839,
    "h": 337.8
  },
  "luminance": 0.15783
}

Semantic roles & 50–950 ramp

primary
#C12CA3
secondary
#7DCC8D
accent
#E66342
background
#FDF7FB
surface
#FBEEF7
border
#D4C9D0
text
#150A12
muted
#837C81

Preview Lab

Preview with #C12CA3

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

Preview Lab → · Contrast checker → · Palette generator →

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