#C12C58#C12C58

#C12C58 is a mid, vivid pink. Relative luminance 0.138; OKLCH L 54.1% C 0.185 H 9.0°. Best body text is #FFFFFF at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#C12C58
RGBrgb(193, 44, 88)
HSLhsl(342, 63%, 46%)
HSVhsv(342, 77%, 76%)
CMYKcmyk(0%, 77.2%, 54.4%, 24.3%)
CIE-LABlab(44.01, 60.21, 11.45)
CIE-LCHlch(44.01, 61.29, 10.77°)
OKLaboklab(54.12% 0.183 0.0291)
OKLCHoklch(54.12% 0.185 9)
XYZxyz(24.6568, 13.8469, 10.6050)
Luminance0.1384 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C12C58 #2CC195
analogous
#C12CA3 #C12C58 #C14B2C
triadic
#C12C58 #58C12C #2C58C1
tetradic
#C12C58 #A3C12C #2CC195 #4B2CC1
square
#C12C58 #A3C12C #2CC195 #4B2CC1
split-complementary
#C12C58 #2CC14B #2CA3C1
monochromatic
#5D152B #8F2141 #C12C58 #D8537A #E384A0

Accessibility & contrast

On white

5.57
#C12C58 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#C12C58 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C12C58
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C12C58#FFFFFF#000000##FFFFFF
##C12C581.005.573.775.57
#FFFFFF5.571.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#545559
Deuteranopia (green-blind)
#7A7354
Tritanopia (blue-blind)
#D3003F
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #c12c58;
/* rgb */ color: rgb(193, 44, 88);
/* oklch */ color: oklch(54.1% 0.185 9.0);
Tailwind
colors: {
  custom: {
    50: '#da7386',
    500: '#c12c58',
    950: '#000000',
  },
}
SCSS
$custom: #c12c58;
$custom-light: #da7386;
$custom-dark: #000000;
JSON
{
  "hex": "#c12c58",
  "rgb": {
    "r": 193,
    "g": 44,
    "b": 88
  },
  "hsl": {
    "h": 342.282,
    "s": 62.869,
    "l": 46.471
  },
  "oklch": {
    "l": 0.5412,
    "c": 0.18532,
    "h": 9
  },
  "luminance": 0.13843
}

Semantic roles & 50–950 ramp

primary
#C12C58
secondary
#7DCCB5
accent
#E6B542
background
#FEF7F8
surface
#FCEDEF
border
#D5C8CA
text
#16090B
muted
#847B7C

Preview Lab

Preview with #C12C58

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

Preview Lab → · Contrast checker → · Palette generator →

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