#C12D5A#C12D5A

#C12D5A is a mid, vivid pink. Relative luminance 0.140; OKLCH L 54.3% C 0.185 H 8.3°. Best body text is #FFFFFF at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#C12D5A
RGBrgb(193, 45, 90)
HSLhsl(342, 62%, 47%)
HSVhsv(342, 77%, 76%)
CMYKcmyk(0%, 76.7%, 53.4%, 24.3%)
CIE-LABlab(44.17, 60.06, 10.42)
CIE-LCHlch(44.17, 60.96, 9.85°)
OKLaboklab(54.25% 0.1828 0.0267)
OKLCHoklch(54.25% 0.185 8.3)
XYZxyz(24.7785, 13.9559, 11.0599)
Luminance0.1395 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C12D5A #2DC194
analogous
#C12DA4 #C12D5A #C14A2D
triadic
#C12D5A #5AC12D #2D5AC1
tetradic
#C12D5A #A4C12D #2DC194 #4A2DC1
square
#C12D5A #A4C12D #2DC194 #4A2DC1
split-complementary
#C12D5A #2DC14A #2DA4C1
monochromatic
#5E162C #8F2143 #C12D5A #D7547C #E386A2

Accessibility & contrast

On white

5.54
#C12D5A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.79
#C12D5A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C12D5A
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C12D5A#FFFFFF#000000##FFFFFF
##C12D5A1.005.543.795.54
#FFFFFF5.541.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#54555B
Deuteranopia (green-blind)
#7A7356
Tritanopia (blue-blind)
#D30040
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #c12d5a;
/* rgb */ color: rgb(193, 45, 90);
/* oklch */ color: oklch(54.3% 0.185 8.3);
Tailwind
colors: {
  custom: {
    50: '#da7488',
    500: '#c12d5a',
    950: '#000000',
  },
}
SCSS
$custom: #c12d5a;
$custom-light: #da7488;
$custom-dark: #000000;
JSON
{
  "hex": "#c12d5a",
  "rgb": {
    "r": 193,
    "g": 45,
    "b": 90
  },
  "hsl": {
    "h": 341.757,
    "s": 62.185,
    "l": 46.667
  },
  "oklch": {
    "l": 0.54252,
    "c": 0.18473,
    "h": 8.3
  },
  "luminance": 0.13952
}

Semantic roles & 50–950 ramp

primary
#C12D5A
secondary
#7ECCB4
accent
#E5B443
background
#FEF7F8
surface
#FCEDEF
border
#D5C8CA
text
#16090B
muted
#847B7C

Preview Lab

Preview with #C12D5A

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

Preview Lab → · Contrast checker → · Palette generator →

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