#C12A56#C12A56

#C12A56 is a mid, vivid pink. Relative luminance 0.137; OKLCH L 53.9% C 0.187 H 9.6°. Best body text is #FFFFFF at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#C12A56
RGBrgb(193, 42, 86)
HSLhsl(343, 64%, 46%)
HSVhsv(343, 78%, 76%)
CMYKcmyk(0%, 78.2%, 55.4%, 24.3%)
CIE-LABlab(43.75, 60.66, 12.34)
CIE-LCHlch(43.75, 61.90, 11.50°)
OKLaboklab(53.91% 0.1842 0.0312)
OKLCHoklch(53.91% 0.187 9.6)
XYZxyz(24.5024, 13.6688, 10.1504)
Luminance0.1366 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C12A56 #2AC195
analogous
#C12AA1 #C12A56 #C14A2A
triadic
#C12A56 #56C12A #2A56C1
tetradic
#C12A56 #A1C12A #2AC195 #4A2AC1
square
#C12A56 #A1C12A #2AC195 #4A2AC1
split-complementary
#C12A56 #2AC14A #2AA1C1
monochromatic
#5C1429 #8F1F40 #C12A56 #D94F77 #E4829E

Accessibility & contrast

On white

5.63
#C12A56 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.73
#C12A56 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C12A56
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C12A56#FFFFFF#000000##FFFFFF
##C12A561.005.633.735.63
#FFFFFF5.631.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#535457
Deuteranopia (green-blind)
#7A7252
Tritanopia (blue-blind)
#D3003D
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #c12a56;
/* rgb */ color: rgb(193, 42, 86);
/* oklch */ color: oklch(53.9% 0.187 9.6);
Tailwind
colors: {
  custom: {
    50: '#db7285',
    500: '#c12a56',
    950: '#000000',
  },
}
SCSS
$custom: #c12a56;
$custom-light: #db7285;
$custom-dark: #000000;
JSON
{
  "hex": "#c12a56",
  "rgb": {
    "r": 193,
    "g": 42,
    "b": 86
  },
  "hsl": {
    "h": 342.517,
    "s": 64.255,
    "l": 46.078
  },
  "oklch": {
    "l": 0.53914,
    "c": 0.1868,
    "h": 9.6
  },
  "luminance": 0.13665
}

Semantic roles & 50–950 ramp

primary
#C12A56
secondary
#7ACDB5
accent
#E7B741
background
#FEF7F8
surface
#FCEDEF
border
#D5C8CA
text
#16090B
muted
#847B7C

Preview Lab

Preview with #C12A56

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

Preview Lab → · Contrast checker → · Palette generator →

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