#C12A57#C12A57

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

Color values

HEX#C12A57
RGBrgb(193, 42, 87)
HSLhsl(342, 64%, 46%)
HSVhsv(342, 78%, 76%)
CMYKcmyk(0%, 78.2%, 54.9%, 24.3%)
CIE-LABlab(43.78, 60.73, 11.75)
CIE-LCHlch(43.78, 61.86, 10.95°)
OKLaboklab(53.94% 0.1846 0.0298)
OKLCHoklch(53.94% 0.187 9.2)
XYZxyz(24.5429, 13.6850, 10.3641)
Luminance0.1368 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C12A57 #2AC194
analogous
#C12AA2 #C12A57 #C1482A
triadic
#C12A57 #57C12A #2A57C1
tetradic
#C12A57 #A2C12A #2AC194 #482AC1
square
#C12A57 #A2C12A #2AC194 #482AC1
split-complementary
#C12A57 #2AC148 #2AA2C1
monochromatic
#5C142A #8F1F40 #C12A57 #D94F78 #E4829F

Accessibility & contrast

On white

5.62
#C12A57 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#C12A57 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C12A57
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C12A57#FFFFFF#000000##FFFFFF
##C12A571.005.623.745.62
#FFFFFF5.621.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#535458
Deuteranopia (green-blind)
#7A7253
Tritanopia (blue-blind)
#D3003E
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #c12a57;
/* rgb */ color: rgb(193, 42, 87);
/* oklch */ color: oklch(53.9% 0.187 9.2);
Tailwind
colors: {
  custom: {
    50: '#db7286',
    500: '#c12a57',
    950: '#000000',
  },
}
SCSS
$custom: #c12a57;
$custom-light: #db7286;
$custom-dark: #000000;
JSON
{
  "hex": "#c12a57",
  "rgb": {
    "r": 193,
    "g": 42,
    "b": 87
  },
  "hsl": {
    "h": 342.119,
    "s": 64.255,
    "l": 46.078
  },
  "oklch": {
    "l": 0.5394,
    "c": 0.18695,
    "h": 9.2
  },
  "luminance": 0.13682
}

Semantic roles & 50–950 ramp

primary
#C12A57
secondary
#7ACDB4
accent
#E7B641
background
#FEF7F8
surface
#FCEDEF
border
#D5C8CA
text
#16090B
muted
#847B7C

Preview Lab

Preview with #C12A57

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

Preview Lab → · Contrast checker → · Palette generator →

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