#C12CA2#C12CA2

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

Color values

HEX#C12CA2
RGBrgb(193, 44, 162)
HSLhsl(312, 63%, 46%)
HSVhsv(312, 77%, 76%)
CMYKcmyk(0%, 77.2%, 16.1%, 24.3%)
CIE-LABlab(46.65, 68.18, -29.86)
CIE-LCHlch(46.65, 74.44, 336.35°)
OKLaboklab(56.9% 0.2021 -0.0811)
OKLCHoklch(56.9% 0.218 338.1)
XYZxyz(29.4153, 15.7503, 35.6664)
Luminance0.1575 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C12CA2 #2CC14B
analogous
#962CC1 #C12CA2 #C12C58
triadic
#C12CA2 #A2C12C #2CA2C1
tetradic
#C12CA2 #C1962C #2CC14B #2C58C1
square
#C12CA2 #C1962C #2CC14B #2C58C1
split-complementary
#C12CA2 #58C12C #2CC196
monochromatic
#5D154E #8F2178 #C12CA2 #D853BC #E384CF

Accessibility & contrast

On white

5.06
#C12CA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#C12CA2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C12CA2
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C12CA2#FFFFFF#000000##FFFFFF
##C12CA21.005.064.155.06
#FFFFFF5.061.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3360A5
Deuteranopia (green-blind)
#67779F
Tritanopia (blue-blind)
#CC3465
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #c12ca2;
/* rgb */ color: rgb(193, 44, 162);
/* oklch */ color: oklch(56.9% 0.218 338.1);
Tailwind
colors: {
  custom: {
    50: '#d876be',
    500: '#c12ca2',
    950: '#000000',
  },
}
SCSS
$custom: #c12ca2;
$custom-light: #d876be;
$custom-dark: #000000;
JSON
{
  "hex": "#c12ca2",
  "rgb": {
    "r": 193,
    "g": 44,
    "b": 162
  },
  "hsl": {
    "h": 312.483,
    "s": 62.869,
    "l": 46.471
  },
  "oklch": {
    "l": 0.56898,
    "c": 0.21774,
    "h": 338.1
  },
  "luminance": 0.15747
}

Semantic roles & 50–950 ramp

primary
#C12CA2
secondary
#7DCC8D
accent
#E66442
background
#FDF7FB
surface
#FBEEF6
border
#D4C9D0
text
#150A12
muted
#837C81

Preview Lab

Preview with #C12CA2

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

Preview Lab → · Contrast checker → · Palette generator →

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