#C12A5B#C12A5B

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

Color values

HEX#C12A5B
RGBrgb(193, 42, 91)
HSLhsl(341, 64%, 46%)
HSVhsv(341, 78%, 76%)
CMYKcmyk(0%, 78.2%, 52.8%, 24.3%)
CIE-LABlab(43.88, 61.04, 9.39)
CIE-LCHlch(43.88, 61.75, 8.74°)
OKLaboklab(54.04% 0.1861 0.0242)
OKLCHoklch(54.04% 0.188 7.4)
XYZxyz(24.7109, 13.7522, 11.2487)
Luminance0.1375 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C12A5B #2AC190
analogous
#C12AA6 #C12A5B #C1452A
triadic
#C12A5B #5BC12A #2A5BC1
tetradic
#C12A5B #A6C12A #2AC190 #452AC1
square
#C12A5B #A6C12A #2AC190 #452AC1
split-complementary
#C12A5B #2AC145 #2AA6C1
monochromatic
#5C142C #8F1F43 #C12A5B #D94F7C #E482A1

Accessibility & contrast

On white

5.60
#C12A5B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #C12A5B
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C12A5B#FFFFFF#000000##FFFFFF
##C12A5B1.005.603.755.60
#FFFFFF5.601.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.601.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c12a5b;
/* rgb */ color: rgb(193, 42, 91);
/* oklch */ color: oklch(54.0% 0.188 7.4);
Tailwind
colors: {
  custom: {
    50: '#da7389',
    500: '#c12a5b',
    950: '#000000',
  },
}
SCSS
$custom: #c12a5b;
$custom-light: #da7389;
$custom-dark: #000000;
JSON
{
  "hex": "#c12a5b",
  "rgb": {
    "r": 193,
    "g": 42,
    "b": 91
  },
  "hsl": {
    "h": 340.53,
    "s": 64.255,
    "l": 46.078
  },
  "oklch": {
    "l": 0.54043,
    "c": 0.18763,
    "h": 7.4
  },
  "luminance": 0.13749
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C12A5B

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

Preview Lab → · Contrast checker → · Palette generator →

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