#C12A5E#C12A5E

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

Color values

HEX#C12A5E
RGBrgb(193, 42, 94)
HSLhsl(339, 64%, 46%)
HSVhsv(339, 78%, 76%)
CMYKcmyk(0%, 78.2%, 51.3%, 24.3%)
CIE-LABlab(43.95, 61.27, 7.63)
CIE-LCHlch(43.95, 61.75, 7.09°)
OKLaboklab(54.13% 0.1872 0.0199)
OKLCHoklch(54.13% 0.188 6.1)
XYZxyz(24.8429, 13.8050, 11.9440)
Luminance0.1380 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C12A5E #2AC18D
analogous
#C12AA9 #C12A5E #C1422A
triadic
#C12A5E #5EC12A #2A5EC1
tetradic
#C12A5E #A9C12A #2AC18D #422AC1
square
#C12A5E #A9C12A #2AC18D #422AC1
split-complementary
#C12A5E #2AC142 #2AA9C1
monochromatic
#5C142D #8F1F46 #C12A5E #D94F7F #E482A3

Accessibility & contrast

On white

5.58
#C12A5E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #C12A5E
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C12A5E#FFFFFF#000000##FFFFFF
##C12A5E1.005.583.765.58
#FFFFFF5.581.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#51555F
Deuteranopia (green-blind)
#79735A
Tritanopia (blue-blind)
#D20041
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #c12a5e;
/* rgb */ color: rgb(193, 42, 94);
/* oklch */ color: oklch(54.1% 0.188 6.1);
Tailwind
colors: {
  custom: {
    50: '#da738b',
    500: '#c12a5e',
    950: '#000000',
  },
}
SCSS
$custom: #c12a5e;
$custom-light: #da738b;
$custom-dark: #000000;
JSON
{
  "hex": "#c12a5e",
  "rgb": {
    "r": 193,
    "g": 42,
    "b": 94
  },
  "hsl": {
    "h": 339.338,
    "s": 64.255,
    "l": 46.078
  },
  "oklch": {
    "l": 0.54125,
    "c": 0.18823,
    "h": 6.1
  },
  "luminance": 0.13802
}

Semantic roles & 50–950 ramp

primary
#C12A5E
secondary
#7ACDB0
accent
#E7AE41
background
#FEF7F8
surface
#FCEDF0
border
#D5C8CB
text
#16090B
muted
#847B7C

Preview Lab

Preview with #C12A5E

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

Preview Lab → · Contrast checker → · Palette generator →

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