#C12F4C#C12F4C

#C12F4C is a mid, vivid red. Relative luminance 0.139; OKLCH L 54.1% C 0.181 H 14.9°. Best body text is #FFFFFF at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#C12F4C
RGBrgb(193, 47, 76)
HSLhsl(348, 61%, 47%)
HSVhsv(348, 76%, 76%)
CMYKcmyk(0%, 75.6%, 60.6%, 24.3%)
CIE-LABlab(44.08, 58.43, 19.00)
CIE-LCHlch(44.08, 61.44, 18.02°)
OKLaboklab(54.09% 0.1754 0.0465)
OKLCHoklch(54.09% 0.181 14.9)
XYZxyz(24.3158, 13.8959, 8.2379)
Luminance0.1389 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C12F4C #2FC1A4
analogous
#C12F95 #C12F4C #C15B2F
triadic
#C12F4C #4CC12F #2F4CC1
tetradic
#C12F4C #95C12F #2FC1A4 #5B2FC1
square
#C12F4C #95C12F #2FC1A4 #5B2FC1
split-complementary
#C12F4C #2FC15B #2F95C1
monochromatic
#5F1725 #902339 #C12F4C #D65770 #E2889A

Accessibility & contrast

On white

5.56
#C12F4C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.78
#C12F4C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C12F4C
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C12F4C#FFFFFF#000000##FFFFFF
##C12F4C1.005.563.785.56
#FFFFFF5.561.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#57554C
Deuteranopia (green-blind)
#7D7348
Tritanopia (blue-blind)
#D3003B
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #c12f4c;
/* rgb */ color: rgb(193, 47, 76);
/* oklch */ color: oklch(54.1% 0.181 14.9);
Tailwind
colors: {
  custom: {
    50: '#db747d',
    500: '#c12f4c',
    950: '#000000',
  },
}
SCSS
$custom: #c12f4c;
$custom-light: #db747d;
$custom-dark: #000000;
JSON
{
  "hex": "#c12f4c",
  "rgb": {
    "r": 193,
    "g": 47,
    "b": 76
  },
  "hsl": {
    "h": 348.082,
    "s": 60.833,
    "l": 47.059
  },
  "oklch": {
    "l": 0.54087,
    "c": 0.18141,
    "h": 14.9
  },
  "luminance": 0.13892
}

Semantic roles & 50–950 ramp

primary
#C12F4C
secondary
#80CCBD
accent
#E4C444
background
#FEF7F7
surface
#FDEDEE
border
#D5C8C9
text
#160909
muted
#847B7B

Preview Lab

Preview with #C12F4C

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

Preview Lab → · Contrast checker → · Palette generator →

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