#C12CA0#C12CA0

#C12CA0 is a mid, highly saturated pink. Relative luminance 0.157; OKLCH L 56.8% C 0.216 H 338.8°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#C12CA0
RGBrgb(193, 44, 160)
HSLhsl(313, 63%, 46%)
HSVhsv(313, 77%, 76%)
CMYKcmyk(0%, 77.2%, 17.1%, 24.3%)
CIE-LABlab(46.55, 67.91, -28.81)
CIE-LCHlch(46.55, 73.77, 337.01°)
OKLaboklab(56.8% 0.2019 -0.0781)
OKLCHoklch(56.8% 0.216 338.8)
XYZxyz(29.2389, 15.6798, 34.7375)
Luminance0.1568 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C12CA0 #2CC14D
analogous
#982CC1 #C12CA0 #C12C55
triadic
#C12CA0 #A0C12C #2CA0C1
tetradic
#C12CA0 #C1982C #2CC14D #2C55C1
square
#C12CA0 #C1982C #2CC14D #2C55C1
split-complementary
#C12CA0 #55C12C #2CC198
monochromatic
#5D154D #8F2177 #C12CA0 #D853BA #E384CE

Accessibility & contrast

On white

5.08
#C12CA0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#C12CA0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C12CA0
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C12CA0#FFFFFF#000000##FFFFFF
##C12CA01.005.084.145.08
#FFFFFF5.081.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3560A3
Deuteranopia (green-blind)
#68779D
Tritanopia (blue-blind)
#CC3364
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #c12ca0;
/* rgb */ color: rgb(193, 44, 160);
/* oklch */ color: oklch(56.8% 0.216 338.8);
Tailwind
colors: {
  custom: {
    50: '#d876bc',
    500: '#c12ca0',
    950: '#000000',
  },
}
SCSS
$custom: #c12ca0;
$custom-light: #d876bc;
$custom-dark: #000000;
JSON
{
  "hex": "#c12ca0",
  "rgb": {
    "r": 193,
    "g": 44,
    "b": 160
  },
  "hsl": {
    "h": 313.289,
    "s": 62.869,
    "l": 46.471
  },
  "oklch": {
    "l": 0.568,
    "c": 0.21645,
    "h": 338.8
  },
  "luminance": 0.15677
}

Semantic roles & 50–950 ramp

primary
#C12CA0
secondary
#7DCC8E
accent
#E66642
background
#FDF7FB
surface
#FBEEF6
border
#D4C9D0
text
#150A12
muted
#837C81

Preview Lab

Preview with #C12CA0

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

Preview Lab → · Contrast checker → · Palette generator →

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