#C12F42#C12F42

#C12F42 is a mid, vivid red. Relative luminance 0.138; OKLCH L 53.9% C 0.181 H 19.0°. Best body text is #FFFFFF at 5.60:1 contrast (WCAG AA passes).

Color values

HEX#C12F42
RGBrgb(193, 47, 66)
HSLhsl(352, 61%, 47%)
HSVhsv(352, 76%, 76%)
CMYKcmyk(0%, 75.6%, 65.8%, 24.3%)
CIE-LABlab(43.90, 57.83, 24.92)
CIE-LCHlch(43.90, 62.97, 23.31°)
OKLaboklab(53.89% 0.1715 0.0591)
OKLCHoklch(53.89% 0.181 19)
XYZxyz(23.9948, 13.7674, 6.5471)
Luminance0.1376 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C12F42 #2FC1AE
analogous
#C12F8B #C12F42 #C1652F
triadic
#C12F42 #42C12F #2F42C1
tetradic
#C12F42 #8BC12F #2FC1AE #652FC1
square
#C12F42 #8BC12F #2FC1AE #652FC1
split-complementary
#C12F42 #2FC165 #2F8BC1
monochromatic
#5F1720 #902331 #C12F42 #D65768 #E28894

Accessibility & contrast

On white

5.60
#C12F42 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.75
#C12F42 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C12F42
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C12F42#FFFFFF#000000##FFFFFF
##C12F421.005.603.755.60
#FFFFFF5.601.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#595442
Deuteranopia (green-blind)
#7E733E
Tritanopia (blue-blind)
#D40037
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #c12f42;
/* rgb */ color: rgb(193, 47, 66);
/* oklch */ color: oklch(53.9% 0.181 19.0);
Tailwind
colors: {
  custom: {
    50: '#dc7476',
    500: '#c12f42',
    950: '#000000',
  },
}
SCSS
$custom: #c12f42;
$custom-light: #dc7476;
$custom-dark: #000000;
JSON
{
  "hex": "#c12f42",
  "rgb": {
    "r": 193,
    "g": 47,
    "b": 66
  },
  "hsl": {
    "h": 352.192,
    "s": 60.833,
    "l": 47.059
  },
  "oklch": {
    "l": 0.53889,
    "c": 0.18136,
    "h": 19
  },
  "luminance": 0.13764
}

Semantic roles & 50–950 ramp

primary
#C12F42
secondary
#80CCC2
accent
#E4CF44
background
#FEF7F7
surface
#FDEDED
border
#D5C8C8
text
#160908
muted
#847B7B

Preview Lab

Preview with #C12F42

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

Preview Lab → · Contrast checker → · Palette generator →

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