#C12A52#C12A52

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

Color values

HEX#C12A52
RGBrgb(193, 42, 82)
HSLhsl(344, 64%, 46%)
HSVhsv(344, 78%, 76%)
CMYKcmyk(0%, 78.2%, 57.5%, 24.3%)
CIE-LABlab(43.66, 60.37, 14.71)
CIE-LCHlch(43.66, 62.14, 13.69°)
OKLaboklab(53.82% 0.1827 0.0367)
OKLCHoklch(53.82% 0.186 11.4)
XYZxyz(24.3457, 13.6061, 9.3253)
Luminance0.1360 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C12A52 #2AC199
analogous
#C12A9D #C12A52 #C14D2A
triadic
#C12A52 #52C12A #2A52C1
tetradic
#C12A52 #9DC12A #2AC199 #4D2AC1
square
#C12A52 #9DC12A #2AC199 #4D2AC1
split-complementary
#C12A52 #2AC14D #2A9DC1
monochromatic
#5C1427 #8F1F3D #C12A52 #D94F74 #E4829C

Accessibility & contrast

On white

5.64
#C12A52 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #C12A52
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C12A52#FFFFFF#000000##FFFFFF
##C12A521.005.643.725.64
#FFFFFF5.641.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.641.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c12a52;
/* rgb */ color: rgb(193, 42, 82);
/* oklch */ color: oklch(53.8% 0.186 11.4);
Tailwind
colors: {
  custom: {
    50: '#db7282',
    500: '#c12a52',
    950: '#000000',
  },
}
SCSS
$custom: #c12a52;
$custom-light: #db7282;
$custom-dark: #000000;
JSON
{
  "hex": "#c12a52",
  "rgb": {
    "r": 193,
    "g": 42,
    "b": 82
  },
  "hsl": {
    "h": 344.106,
    "s": 64.255,
    "l": 46.078
  },
  "oklch": {
    "l": 0.53817,
    "c": 0.1863,
    "h": 11.4
  },
  "luminance": 0.13603
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C12A52

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

Preview Lab → · Contrast checker → · Palette generator →

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