#C12A51#C12A51

#C12A51 is a mid, vivid pink. Relative luminance 0.136; OKLCH L 53.8% C 0.186 H 11.8°. Best body text is #FFFFFF at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#C12A51
RGBrgb(193, 42, 81)
HSLhsl(345, 64%, 46%)
HSVhsv(345, 78%, 76%)
CMYKcmyk(0%, 78.2%, 58%, 24.3%)
CIE-LABlab(43.64, 60.30, 15.30)
CIE-LCHlch(43.64, 62.21, 14.24°)
OKLaboklab(53.79% 0.1823 0.0381)
OKLCHoklch(53.79% 0.186 11.8)
XYZxyz(24.3079, 13.5910, 9.1264)
Luminance0.1359 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C12A51 #2AC19A
analogous
#C12A9C #C12A51 #C14E2A
triadic
#C12A51 #51C12A #2A51C1
tetradic
#C12A51 #9CC12A #2AC19A #4E2AC1
square
#C12A51 #9CC12A #2AC19A #4E2AC1
split-complementary
#C12A51 #2AC14E #2A9CC1
monochromatic
#5C1427 #8F1F3C #C12A51 #D94F73 #E4829B

Accessibility & contrast

On white

5.65
#C12A51 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#C12A51 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C12A51
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C12A51#FFFFFF#000000##FFFFFF
##C12A511.005.653.725.65
#FFFFFF5.651.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#545352
Deuteranopia (green-blind)
#7B724D
Tritanopia (blue-blind)
#D3003B
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #c12a51;
/* rgb */ color: rgb(193, 42, 81);
/* oklch */ color: oklch(53.8% 0.186 11.8);
Tailwind
colors: {
  custom: {
    50: '#db7281',
    500: '#c12a51',
    950: '#000000',
  },
}
SCSS
$custom: #c12a51;
$custom-light: #db7281;
$custom-dark: #000000;
JSON
{
  "hex": "#c12a51",
  "rgb": {
    "r": 193,
    "g": 42,
    "b": 81
  },
  "hsl": {
    "h": 344.503,
    "s": 64.255,
    "l": 46.078
  },
  "oklch": {
    "l": 0.53794,
    "c": 0.1862,
    "h": 11.8
  },
  "luminance": 0.13587
}

Semantic roles & 50–950 ramp

primary
#C12A51
secondary
#7ACDB7
accent
#E7BC41
background
#FEF7F7
surface
#FDEDEE
border
#D5C8C9
text
#16090A
muted
#847B7C

Preview Lab

Preview with #C12A51

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

Preview Lab → · Contrast checker → · Palette generator →

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