#C12A5A#C12A5A

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

Color values

HEX#C12A5A
RGBrgb(193, 42, 90)
HSLhsl(341, 64%, 46%)
HSVhsv(341, 78%, 76%)
CMYKcmyk(0%, 78.2%, 53.4%, 24.3%)
CIE-LABlab(43.85, 60.96, 9.98)
CIE-LCHlch(43.85, 61.77, 9.30°)
OKLaboklab(54.02% 0.1857 0.0256)
OKLCHoklch(54.02% 0.187 7.8)
XYZxyz(24.6681, 13.7351, 11.0231)
Luminance0.1373 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C12A5A #2AC191
analogous
#C12AA5 #C12A5A #C1452A
triadic
#C12A5A #5AC12A #2A5AC1
tetradic
#C12A5A #A5C12A #2AC191 #452AC1
square
#C12A5A #A5C12A #2AC191 #452AC1
split-complementary
#C12A5A #2AC145 #2AA5C1
monochromatic
#5C142B #8F1F43 #C12A5A #D94F7B #E482A1

Accessibility & contrast

On white

5.61
#C12A5A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.75
#C12A5A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C12A5A
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C12A5A#FFFFFF#000000##FFFFFF
##C12A5A1.005.613.755.61
#FFFFFF5.611.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#52545B
Deuteranopia (green-blind)
#797256
Tritanopia (blue-blind)
#D3003F
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #c12a5a;
/* rgb */ color: rgb(193, 42, 90);
/* oklch */ color: oklch(54.0% 0.187 7.8);
Tailwind
colors: {
  custom: {
    50: '#da7388',
    500: '#c12a5a',
    950: '#000000',
  },
}
SCSS
$custom: #c12a5a;
$custom-light: #da7388;
$custom-dark: #000000;
JSON
{
  "hex": "#c12a5a",
  "rgb": {
    "r": 193,
    "g": 42,
    "b": 90
  },
  "hsl": {
    "h": 340.927,
    "s": 64.255,
    "l": 46.078
  },
  "oklch": {
    "l": 0.54017,
    "c": 0.18745,
    "h": 7.8
  },
  "luminance": 0.13732
}

Semantic roles & 50–950 ramp

primary
#C12A5A
secondary
#7ACDB2
accent
#E7B241
background
#FEF7F8
surface
#FCEDEF
border
#D5C8CA
text
#16090B
muted
#847B7C

Preview Lab

Preview with #C12A5A

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

Preview Lab → · Contrast checker → · Palette generator →

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