#C12F4D#C12F4D

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

Color values

HEX#C12F4D
RGBrgb(193, 47, 77)
HSLhsl(348, 61%, 47%)
HSVhsv(348, 76%, 76%)
CMYKcmyk(0%, 75.6%, 60.1%, 24.3%)
CIE-LABlab(44.10, 58.50, 18.41)
CIE-LCHlch(44.10, 61.32, 17.47°)
OKLaboklab(54.11% 0.1757 0.0452)
OKLCHoklch(54.11% 0.181 14.4)
XYZxyz(24.3509, 13.9099, 8.4224)
Luminance0.1391 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C12F4D #2FC1A3
analogous
#C12F96 #C12F4D #C15A2F
triadic
#C12F4D #4DC12F #2F4DC1
tetradic
#C12F4D #96C12F #2FC1A3 #5A2FC1
square
#C12F4D #96C12F #2FC1A3 #5A2FC1
split-complementary
#C12F4D #2FC15A #2F96C1
monochromatic
#5F1726 #902339 #C12F4D #D65771 #E2889B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C12F4D#FFFFFF#000000##FFFFFF
##C12F4D1.005.553.785.55
#FFFFFF5.551.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#57554D
Deuteranopia (green-blind)
#7D7349
Tritanopia (blue-blind)
#D3003C
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #c12f4d;
/* rgb */ color: rgb(193, 47, 77);
/* oklch */ color: oklch(54.1% 0.181 14.4);
Tailwind
colors: {
  custom: {
    50: '#db747e',
    500: '#c12f4d',
    950: '#000000',
  },
}
SCSS
$custom: #c12f4d;
$custom-light: #db747e;
$custom-dark: #000000;
JSON
{
  "hex": "#c12f4d",
  "rgb": {
    "r": 193,
    "g": 47,
    "b": 77
  },
  "hsl": {
    "h": 347.671,
    "s": 60.833,
    "l": 47.059
  },
  "oklch": {
    "l": 0.54109,
    "c": 0.18145,
    "h": 14.4
  },
  "luminance": 0.13906
}

Semantic roles & 50–950 ramp

primary
#C12F4D
secondary
#80CCBC
accent
#E4C344
background
#FEF7F7
surface
#FDEDEE
border
#D5C8C9
text
#160909
muted
#847B7B

Preview Lab

Preview with #C12F4D

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

Preview Lab → · Contrast checker → · Palette generator →

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