#C12F4F#C12F4F

#C12F4F is a mid, vivid red. Relative luminance 0.139; OKLCH L 54.2% C 0.182 H 13.5°. Best body text is #FFFFFF at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#C12F4F
RGBrgb(193, 47, 79)
HSLhsl(347, 61%, 47%)
HSVhsv(347, 76%, 76%)
CMYKcmyk(0%, 75.6%, 59.1%, 24.3%)
CIE-LABlab(44.14, 58.63, 17.23)
CIE-LCHlch(44.14, 61.11, 16.37°)
OKLaboklab(54.15% 0.1765 0.0425)
OKLCHoklch(54.15% 0.182 13.5)
XYZxyz(24.4226, 13.9386, 8.8000)
Luminance0.1394 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C12F4F #2FC1A1
analogous
#C12F98 #C12F4F #C1582F
triadic
#C12F4F #4FC12F #2F4FC1
tetradic
#C12F4F #98C12F #2FC1A1 #582FC1
square
#C12F4F #98C12F #2FC1A1 #582FC1
split-complementary
#C12F4F #2FC158 #2F98C1
monochromatic
#5F1727 #90233B #C12F4F #D65773 #E2889C

Accessibility & contrast

On white

5.55
#C12F4F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.79
#C12F4F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C12F4F
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C12F4F#FFFFFF#000000##FFFFFF
##C12F4F1.005.553.795.55
#FFFFFF5.551.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.551.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c12f4f;
/* rgb */ color: rgb(193, 47, 79);
/* oklch */ color: oklch(54.2% 0.182 13.5);
Tailwind
colors: {
  custom: {
    50: '#db7480',
    500: '#c12f4f',
    950: '#000000',
  },
}
SCSS
$custom: #c12f4f;
$custom-light: #db7480;
$custom-dark: #000000;
JSON
{
  "hex": "#c12f4f",
  "rgb": {
    "r": 193,
    "g": 47,
    "b": 79
  },
  "hsl": {
    "h": 346.849,
    "s": 60.833,
    "l": 47.059
  },
  "oklch": {
    "l": 0.54152,
    "c": 0.18157,
    "h": 13.5
  },
  "luminance": 0.13935
}

Semantic roles & 50–950 ramp

primary
#C12F4F
secondary
#80CCBB
accent
#E4C144
background
#FEF7F7
surface
#FDEDEE
border
#D5C8C9
text
#16090A
muted
#847B7C

Preview Lab

Preview with #C12F4F

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

Preview Lab → · Contrast checker → · Palette generator →

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