#C12D38#C12D38

#C12D38 is a mid, vivid red. Relative luminance 0.135; OKLCH L 53.6% C 0.184 H 22.4°. Best body text is #FFFFFF at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#C12D38
RGBrgb(193, 45, 56)
HSLhsl(356, 62%, 47%)
HSVhsv(356, 77%, 76%)
CMYKcmyk(0%, 76.7%, 71%, 24.3%)
CIE-LABlab(43.51, 57.96, 30.50)
CIE-LCHlch(43.51, 65.49, 27.76°)
OKLaboklab(53.55% 0.1697 0.0701)
OKLCHoklch(53.55% 0.184 22.4)
XYZxyz(23.6472, 13.5034, 5.1019)
Luminance0.1350 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C12D38 #2DC1B6
analogous
#C12D82 #C12D38 #C16C2D
triadic
#C12D38 #38C12D #2D38C1
tetradic
#C12D38 #82C12D #2DC1B6 #6C2DC1
square
#C12D38 #82C12D #2DC1B6 #6C2DC1
split-complementary
#C12D38 #2DC16C #2D82C1
monochromatic
#5E161B #8F212A #C12D38 #D7545E #E3868D

Accessibility & contrast

On white

5.68
#C12D38 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.70
#C12D38 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C12D38
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C12D38#FFFFFF#000000##FFFFFF
##C12D381.005.683.705.68
#FFFFFF5.681.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#595337
Deuteranopia (green-blind)
#7E7233
Tritanopia (blue-blind)
#D40033
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #c12d38;
/* rgb */ color: rgb(193, 45, 56);
/* oklch */ color: oklch(53.6% 0.184 22.4);
Tailwind
colors: {
  custom: {
    50: '#dc736e',
    500: '#c12d38',
    950: '#000000',
  },
}
SCSS
$custom: #c12d38;
$custom-light: #dc736e;
$custom-dark: #000000;
JSON
{
  "hex": "#c12d38",
  "rgb": {
    "r": 193,
    "g": 45,
    "b": 56
  },
  "hsl": {
    "h": 355.541,
    "s": 62.185,
    "l": 46.667
  },
  "oklch": {
    "l": 0.53553,
    "c": 0.18362,
    "h": 22.4
  },
  "luminance": 0.135
}

Semantic roles & 50–950 ramp

primary
#C12D38
secondary
#7ECCC6
accent
#E5D943
background
#FEF7F6
surface
#FDEDEC
border
#D5C8C7
text
#170907
muted
#857B7A

Preview Lab

Preview with #C12D38

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

Preview Lab → · Contrast checker → · Palette generator →

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