#C12A4D#C12A4D

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

Color values

HEX#C12A4D
RGBrgb(193, 42, 77)
HSLhsl(346, 64%, 46%)
HSVhsv(346, 78%, 76%)
CMYKcmyk(0%, 78.2%, 60.1%, 24.3%)
CIE-LABlab(43.56, 60.04, 17.68)
CIE-LCHlch(43.56, 62.58, 16.41°)
OKLaboklab(53.7% 0.1807 0.0435)
OKLCHoklch(53.7% 0.186 13.5)
XYZxyz(24.1623, 13.5328, 8.3595)
Luminance0.1353 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C12A4D #2AC19E
analogous
#C12A98 #C12A4D #C1532A
triadic
#C12A4D #4DC12A #2A4DC1
tetradic
#C12A4D #98C12A #2AC19E #532AC1
square
#C12A4D #98C12A #2AC19E #532AC1
split-complementary
#C12A4D #2AC153 #2A98C1
monochromatic
#5C1425 #8F1F39 #C12A4D #D94F6F #E48298

Accessibility & contrast

On white

5.67
#C12A4D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #C12A4D
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C12A4D#FFFFFF#000000##FFFFFF
##C12A4D1.005.673.715.67
#FFFFFF5.671.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#55534D
Deuteranopia (green-blind)
#7B7249
Tritanopia (blue-blind)
#D30039
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #c12a4d;
/* rgb */ color: rgb(193, 42, 77);
/* oklch */ color: oklch(53.7% 0.186 13.5);
Tailwind
colors: {
  custom: {
    50: '#db727e',
    500: '#c12a4d',
    950: '#000000',
  },
}
SCSS
$custom: #c12a4d;
$custom-light: #db727e;
$custom-dark: #000000;
JSON
{
  "hex": "#c12a4d",
  "rgb": {
    "r": 193,
    "g": 42,
    "b": 77
  },
  "hsl": {
    "h": 346.093,
    "s": 64.255,
    "l": 46.078
  },
  "oklch": {
    "l": 0.53703,
    "c": 0.18586,
    "h": 13.5
  },
  "luminance": 0.13529
}

Semantic roles & 50–950 ramp

primary
#C12A4D
secondary
#7ACDBA
accent
#E7C141
background
#FEF7F7
surface
#FDEDEE
border
#D5C8C9
text
#160909
muted
#847B7B

Preview Lab

Preview with #C12A4D

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

Preview Lab → · Contrast checker → · Palette generator →

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