#C12A4E#C12A4E

#C12A4E is a mid, vivid red. Relative luminance 0.135; OKLCH L 53.7% C 0.186 H 13.1°. Best body text is #FFFFFF at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#C12A4E
RGBrgb(193, 42, 78)
HSLhsl(346, 64%, 46%)
HSVhsv(346, 78%, 76%)
CMYKcmyk(0%, 78.2%, 59.6%, 24.3%)
CIE-LABlab(43.58, 60.10, 17.08)
CIE-LCHlch(43.58, 62.48, 15.87°)
OKLaboklab(53.73% 0.1811 0.0421)
OKLCHoklch(53.73% 0.186 13.1)
XYZxyz(24.1979, 13.5470, 8.5469)
Luminance0.1354 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C12A4E #2AC19D
analogous
#C12A99 #C12A4E #C1512A
triadic
#C12A4E #4EC12A #2A4EC1
tetradic
#C12A4E #99C12A #2AC19D #512AC1
square
#C12A4E #99C12A #2AC19D #512AC1
split-complementary
#C12A4E #2AC151 #2A99C1
monochromatic
#5C1425 #8F1F3A #C12A4E #D94F70 #E48299

Accessibility & contrast

On white

5.66
#C12A4E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#C12A4E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C12A4E
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C12A4E#FFFFFF#000000##FFFFFF
##C12A4E1.005.663.715.66
#FFFFFF5.661.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#55534E
Deuteranopia (green-blind)
#7B724A
Tritanopia (blue-blind)
#D3003A
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #c12a4e;
/* rgb */ color: rgb(193, 42, 78);
/* oklch */ color: oklch(53.7% 0.186 13.1);
Tailwind
colors: {
  custom: {
    50: '#db727f',
    500: '#c12a4e',
    950: '#000000',
  },
}
SCSS
$custom: #c12a4e;
$custom-light: #db727f;
$custom-dark: #000000;
JSON
{
  "hex": "#c12a4e",
  "rgb": {
    "r": 193,
    "g": 42,
    "b": 78
  },
  "hsl": {
    "h": 345.695,
    "s": 64.255,
    "l": 46.078
  },
  "oklch": {
    "l": 0.53725,
    "c": 0.18593,
    "h": 13.1
  },
  "luminance": 0.13543
}

Semantic roles & 50–950 ramp

primary
#C12A4E
secondary
#7ACDB9
accent
#E7C041
background
#FEF7F7
surface
#FDEDEE
border
#D5C8C9
text
#16090A
muted
#847B7C

Preview Lab

Preview with #C12A4E

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

Preview Lab → · Contrast checker → · Palette generator →

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