#C12A4F#C12A4F

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

Color values

HEX#C12A4F
RGBrgb(193, 42, 79)
HSLhsl(345, 64%, 46%)
HSVhsv(345, 78%, 76%)
CMYKcmyk(0%, 78.2%, 59.1%, 24.3%)
CIE-LABlab(43.60, 60.17, 16.49)
CIE-LCHlch(43.60, 62.39, 15.33°)
OKLaboklab(53.75% 0.1815 0.0408)
OKLCHoklch(53.75% 0.186 12.7)
XYZxyz(24.2340, 13.5615, 8.7372)
Luminance0.1356 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C12A4F #2AC19C
analogous
#C12A9A #C12A4F #C1502A
triadic
#C12A4F #4FC12A #2A4FC1
tetradic
#C12A4F #9AC12A #2AC19C #502AC1
square
#C12A4F #9AC12A #2AC19C #502AC1
split-complementary
#C12A4F #2AC150 #2A9AC1
monochromatic
#5C1426 #8F1F3A #C12A4F #D94F71 #E4829A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C12A4F#FFFFFF#000000##FFFFFF
##C12A4F1.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)
#54534F
Deuteranopia (green-blind)
#7B724B
Tritanopia (blue-blind)
#D3003A
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #c12a4f;
/* rgb */ color: rgb(193, 42, 79);
/* oklch */ color: oklch(53.7% 0.186 12.7);
Tailwind
colors: {
  custom: {
    50: '#db7280',
    500: '#c12a4f',
    950: '#000000',
  },
}
SCSS
$custom: #c12a4f;
$custom-light: #db7280;
$custom-dark: #000000;
JSON
{
  "hex": "#c12a4f",
  "rgb": {
    "r": 193,
    "g": 42,
    "b": 79
  },
  "hsl": {
    "h": 345.298,
    "s": 64.255,
    "l": 46.078
  },
  "oklch": {
    "l": 0.53748,
    "c": 0.18601,
    "h": 12.7
  },
  "luminance": 0.13558
}

Semantic roles & 50–950 ramp

primary
#C12A4F
secondary
#7ACDB8
accent
#E7BE41
background
#FEF7F7
surface
#FDEDEE
border
#D5C8C9
text
#16090A
muted
#847B7C

Preview Lab

Preview with #C12A4F

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

Preview Lab → · Contrast checker → · Palette generator →

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