#C12A5D#C12A5D

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

Color values

HEX#C12A5D
RGBrgb(193, 42, 93)
HSLhsl(340, 64%, 46%)
HSVhsv(340, 78%, 76%)
CMYKcmyk(0%, 78.2%, 51.8%, 24.3%)
CIE-LABlab(43.93, 61.19, 8.21)
CIE-LCHlch(43.93, 61.74, 7.64°)
OKLaboklab(54.1% 0.1868 0.0213)
OKLCHoklch(54.1% 0.188 6.5)
XYZxyz(24.7983, 13.7872, 11.7092)
Luminance0.1378 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C12A5D #2AC18E
analogous
#C12AA8 #C12A5D #C1422A
triadic
#C12A5D #5DC12A #2A5DC1
tetradic
#C12A5D #A8C12A #2AC18E #422AC1
square
#C12A5D #A8C12A #2AC18E #422AC1
split-complementary
#C12A5D #2AC142 #2AA8C1
monochromatic
#5C142D #8F1F45 #C12A5D #D94F7E #E482A3

Accessibility & contrast

On white

5.59
#C12A5D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.76
#C12A5D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C12A5D
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C12A5D#FFFFFF#000000##FFFFFF
##C12A5D1.005.593.765.59
#FFFFFF5.591.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#51555E
Deuteranopia (green-blind)
#797359
Tritanopia (blue-blind)
#D30040
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #c12a5d;
/* rgb */ color: rgb(193, 42, 93);
/* oklch */ color: oklch(54.1% 0.188 6.5);
Tailwind
colors: {
  custom: {
    50: '#da738a',
    500: '#c12a5d',
    950: '#000000',
  },
}
SCSS
$custom: #c12a5d;
$custom-light: #da738a;
$custom-dark: #000000;
JSON
{
  "hex": "#c12a5d",
  "rgb": {
    "r": 193,
    "g": 42,
    "b": 93
  },
  "hsl": {
    "h": 339.735,
    "s": 64.255,
    "l": 46.078
  },
  "oklch": {
    "l": 0.54097,
    "c": 0.18802,
    "h": 6.5
  },
  "luminance": 0.13784
}

Semantic roles & 50–950 ramp

primary
#C12A5D
secondary
#7ACDB1
accent
#E7AF41
background
#FEF7F8
surface
#FCEDF0
border
#D5C8CB
text
#16090B
muted
#847B7C

Preview Lab

Preview with #C12A5D

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

Preview Lab → · Contrast checker → · Palette generator →

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