#C12E6C#C12E6C

#C12E6C is a mid, vivid pink. Relative luminance 0.144; OKLCH L 54.9% C 0.188 H 0.3°. Best body text is #FFFFFF at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#C12E6C
RGBrgb(193, 46, 108)
HSLhsl(335, 62%, 47%)
HSVhsv(335, 76%, 76%)
CMYKcmyk(0%, 76.2%, 44%, 24.3%)
CIE-LABlab(44.77, 61.29, 0.11)
CIE-LCHlch(44.77, 61.29, 0.10°)
OKLaboklab(54.85% 0.1882 0.001)
OKLCHoklch(54.85% 0.188 0.3)
XYZxyz(25.6781, 14.3775, 15.6074)
Luminance0.1437 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C12E6C #2EC183
analogous
#C12EB6 #C12E6C #C13A2E
triadic
#C12E6C #6CC12E #2E6CC1
tetradic
#C12E6C #B6C12E #2EC183 #3A2EC1
square
#C12E6C #B6C12E #2EC183 #3A2EC1
split-complementary
#C12E6C #2EC13A #2EB6C1
monochromatic
#5E1635 #902250 #C12E6C #D7568C #E287AE

Accessibility & contrast

On white

5.42
#C12E6C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #C12E6C
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C12E6C#FFFFFF#000000##FFFFFF
##C12E6C1.005.423.875.42
#FFFFFF5.421.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#50586D
Deuteranopia (green-blind)
#777469
Tritanopia (blue-blind)
#D11149
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #c12e6c;
/* rgb */ color: rgb(193, 46, 108);
/* oklch */ color: oklch(54.9% 0.188 0.3);
Tailwind
colors: {
  custom: {
    50: '#d97595',
    500: '#c12e6c',
    950: '#000000',
  },
}
SCSS
$custom: #c12e6c;
$custom-light: #d97595;
$custom-dark: #000000;
JSON
{
  "hex": "#c12e6c",
  "rgb": {
    "r": 193,
    "g": 46,
    "b": 108
  },
  "hsl": {
    "h": 334.694,
    "s": 61.506,
    "l": 46.863
  },
  "oklch": {
    "l": 0.54854,
    "c": 0.18821,
    "h": 0.3
  },
  "luminance": 0.14374
}

Semantic roles & 50–950 ramp

primary
#C12E6C
secondary
#7FCCAB
accent
#E5A143
background
#FEF7F9
surface
#FCEEF1
border
#D5C9CB
text
#16090D
muted
#847B7E

Preview Lab

Preview with #C12E6C

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

Preview Lab → · Contrast checker → · Palette generator →

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