#C12E6A#C12E6A

#C12E6A is a mid, vivid pink. Relative luminance 0.143; OKLCH L 54.8% C 0.188 H 1.2°. Best body text is #FFFFFF at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#C12E6A
RGBrgb(193, 46, 106)
HSLhsl(336, 62%, 47%)
HSVhsv(336, 76%, 76%)
CMYKcmyk(0%, 76.2%, 45.1%, 24.3%)
CIE-LABlab(44.71, 61.11, 1.26)
CIE-LCHlch(44.71, 61.12, 1.18°)
OKLaboklab(54.79% 0.1875 0.0039)
OKLCHoklch(54.79% 0.188 1.2)
XYZxyz(25.5729, 14.3355, 15.0533)
Luminance0.1433 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C12E6A #2EC185
analogous
#C12EB4 #C12E6A #C13C2E
triadic
#C12E6A #6AC12E #2E6AC1
tetradic
#C12E6A #B4C12E #2EC185 #3C2EC1
square
#C12E6A #B4C12E #2EC185 #3C2EC1
split-complementary
#C12E6A #2EC13C #2EB4C1
monochromatic
#5E1634 #90224F #C12E6A #D7568A #E287AC

Accessibility & contrast

On white

5.43
#C12E6A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#C12E6A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C12E6A
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C12E6A#FFFFFF#000000##FFFFFF
##C12E6A1.005.433.875.43
#FFFFFF5.431.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#50586B
Deuteranopia (green-blind)
#787467
Tritanopia (blue-blind)
#D20F48
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #c12e6a;
/* rgb */ color: rgb(193, 46, 106);
/* oklch */ color: oklch(54.8% 0.188 1.2);
Tailwind
colors: {
  custom: {
    50: '#d97594',
    500: '#c12e6a',
    950: '#000000',
  },
}
SCSS
$custom: #c12e6a;
$custom-light: #d97594;
$custom-dark: #000000;
JSON
{
  "hex": "#c12e6a",
  "rgb": {
    "r": 193,
    "g": 46,
    "b": 106
  },
  "hsl": {
    "h": 335.51,
    "s": 61.506,
    "l": 46.863
  },
  "oklch": {
    "l": 0.54791,
    "c": 0.18758,
    "h": 1.2
  },
  "luminance": 0.14332
}

Semantic roles & 50–950 ramp

primary
#C12E6A
secondary
#7FCCAC
accent
#E5A343
background
#FEF7F9
surface
#FCEEF1
border
#D5C9CB
text
#16090D
muted
#847B7E

Preview Lab

Preview with #C12E6A

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

Preview Lab → · Contrast checker → · Palette generator →

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