#C12C52#C12C52

#C12C52 is a mid, vivid pink. Relative luminance 0.137; OKLCH L 54.0% C 0.185 H 11.7°. Best body text is #FFFFFF at 5.60:1 contrast (WCAG AA passes).

Color values

HEX#C12C52
RGBrgb(193, 44, 82)
HSLhsl(345, 63%, 46%)
HSVhsv(345, 77%, 76%)
CMYKcmyk(0%, 77.2%, 57.5%, 24.3%)
CIE-LABlab(43.87, 59.78, 15.00)
CIE-LCHlch(43.87, 61.63, 14.08°)
OKLaboklab(53.97% 0.1807 0.0374)
OKLCHoklch(53.97% 0.185 11.7)
XYZxyz(24.4184, 13.7516, 9.3495)
Luminance0.1375 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C12C52 #2CC19B
analogous
#C12C9D #C12C52 #C1512C
triadic
#C12C52 #52C12C #2C52C1
tetradic
#C12C52 #9DC12C #2CC19B #512CC1
square
#C12C52 #9DC12C #2CC19B #512CC1
split-complementary
#C12C52 #2CC151 #2C9DC1
monochromatic
#5D1528 #8F213D #C12C52 #D85374 #E3849D

Accessibility & contrast

On white

5.60
#C12C52 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.75
#C12C52 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C12C52
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C12C52#FFFFFF#000000##FFFFFF
##C12C521.005.603.755.60
#FFFFFF5.601.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#555453
Deuteranopia (green-blind)
#7B734E
Tritanopia (blue-blind)
#D3003C
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #c12c52;
/* rgb */ color: rgb(193, 44, 82);
/* oklch */ color: oklch(54.0% 0.185 11.7);
Tailwind
colors: {
  custom: {
    50: '#db7382',
    500: '#c12c52',
    950: '#000000',
  },
}
SCSS
$custom: #c12c52;
$custom-light: #db7382;
$custom-dark: #000000;
JSON
{
  "hex": "#c12c52",
  "rgb": {
    "r": 193,
    "g": 44,
    "b": 82
  },
  "hsl": {
    "h": 344.698,
    "s": 62.869,
    "l": 46.471
  },
  "oklch": {
    "l": 0.53974,
    "c": 0.18455,
    "h": 11.7
  },
  "luminance": 0.13748
}

Semantic roles & 50–950 ramp

primary
#C12C52
secondary
#7DCCB8
accent
#E6BC42
background
#FEF7F7
surface
#FDEDEE
border
#D5C8C9
text
#16090A
muted
#847B7C

Preview Lab

Preview with #C12C52

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

Preview Lab → · Contrast checker → · Palette generator →

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