#C12D4F#C12D4F

#C12D4F is a mid, vivid red. Relative luminance 0.138; OKLCH L 54.0% C 0.183 H 13.2°. Best body text is #FFFFFF at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#C12D4F
RGBrgb(193, 45, 79)
HSLhsl(346, 62%, 47%)
HSVhsv(346, 77%, 76%)
CMYKcmyk(0%, 76.7%, 59.1%, 24.3%)
CIE-LABlab(43.92, 59.26, 16.92)
CIE-LCHlch(43.92, 61.63, 15.94°)
OKLaboklab(53.99% 0.1786 0.0418)
OKLCHoklch(53.99% 0.183 13.2)
XYZxyz(24.3444, 13.7823, 8.7740)
Luminance0.1378 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C12D4F #2DC19F
analogous
#C12D99 #C12D4F #C1552D
triadic
#C12D4F #4FC12D #2D4FC1
tetradic
#C12D4F #99C12D #2DC19F #552DC1
square
#C12D4F #99C12D #2DC19F #552DC1
split-complementary
#C12D4F #2DC155 #2D99C1
monochromatic
#5E1626 #8F213B #C12D4F #D75472 #E3869B

Accessibility & contrast

On white

5.59
#C12D4F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.76
#C12D4F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C12D4F
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C12D4F#FFFFFF#000000##FFFFFF
##C12D4F1.005.593.765.59
#FFFFFF5.591.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#56544F
Deuteranopia (green-blind)
#7C734B
Tritanopia (blue-blind)
#D3003B
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #c12d4f;
/* rgb */ color: rgb(193, 45, 79);
/* oklch */ color: oklch(54.0% 0.183 13.2);
Tailwind
colors: {
  custom: {
    50: '#db7380',
    500: '#c12d4f',
    950: '#000000',
  },
}
SCSS
$custom: #c12d4f;
$custom-light: #db7380;
$custom-dark: #000000;
JSON
{
  "hex": "#c12d4f",
  "rgb": {
    "r": 193,
    "g": 45,
    "b": 79
  },
  "hsl": {
    "h": 346.216,
    "s": 62.185,
    "l": 46.667
  },
  "oklch": {
    "l": 0.53986,
    "c": 0.18339,
    "h": 13.2
  },
  "luminance": 0.13779
}

Semantic roles & 50–950 ramp

primary
#C12D4F
secondary
#7ECCBA
accent
#E5C043
background
#FEF7F7
surface
#FDEDEE
border
#D5C8C9
text
#16090A
muted
#847B7C

Preview Lab

Preview with #C12D4F

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

Preview Lab → · Contrast checker → · Palette generator →

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