#C12A58#C12A58

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

Color values

HEX#C12A58
RGBrgb(193, 42, 88)
HSLhsl(342, 64%, 46%)
HSVhsv(342, 78%, 76%)
CMYKcmyk(0%, 78.2%, 54.4%, 24.3%)
CIE-LABlab(43.80, 60.81, 11.16)
CIE-LCHlch(43.80, 61.82, 10.40°)
OKLaboklab(53.97% 0.1849 0.0284)
OKLCHoklch(53.97% 0.187 8.7)
XYZxyz(24.5841, 13.7015, 10.5808)
Luminance0.1370 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C12A58 #2AC193
analogous
#C12AA3 #C12A58 #C1472A
triadic
#C12A58 #58C12A #2A58C1
tetradic
#C12A58 #A3C12A #2AC193 #472AC1
square
#C12A58 #A3C12A #2AC193 #472AC1
split-complementary
#C12A58 #2AC147 #2AA3C1
monochromatic
#5C142A #8F1F41 #C12A58 #D94F79 #E482A0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C12A58#FFFFFF#000000##FFFFFF
##C12A581.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)
#535459
Deuteranopia (green-blind)
#7A7254
Tritanopia (blue-blind)
#D3003E
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #c12a58;
/* rgb */ color: rgb(193, 42, 88);
/* oklch */ color: oklch(54.0% 0.187 8.7);
Tailwind
colors: {
  custom: {
    50: '#da7386',
    500: '#c12a58',
    950: '#000000',
  },
}
SCSS
$custom: #c12a58;
$custom-light: #da7386;
$custom-dark: #000000;
JSON
{
  "hex": "#c12a58",
  "rgb": {
    "r": 193,
    "g": 42,
    "b": 88
  },
  "hsl": {
    "h": 341.722,
    "s": 64.255,
    "l": 46.078
  },
  "oklch": {
    "l": 0.53965,
    "c": 0.18711,
    "h": 8.7
  },
  "luminance": 0.13698
}

Semantic roles & 50–950 ramp

primary
#C12A58
secondary
#7ACDB3
accent
#E7B441
background
#FEF7F8
surface
#FCEDEF
border
#D5C8CA
text
#16090B
muted
#847B7C

Preview Lab

Preview with #C12A58

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

Preview Lab → · Contrast checker → · Palette generator →

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