#C12B27#C12B27

#C12B27 is a mid, vivid red. Relative luminance 0.132; OKLCH L 53.2% C 0.187 H 27.5°. Best body text is #FFFFFF at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#C12B27
RGBrgb(193, 43, 39)
HSLhsl(2, 66%, 45%)
HSVhsv(2, 80%, 76%)
CMYKcmyk(0%, 77.7%, 79.8%, 24.3%)
CIE-LABlab(43.09, 57.91, 39.85)
CIE-LCHlch(43.09, 70.30, 34.53°)
OKLaboklab(53.17% 0.1659 0.0862)
OKLCHoklch(53.17% 0.187 27.5)
XYZxyz(23.2252, 13.2154, 3.2470)
Luminance0.1321 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C12B27 #27BDC1
analogous
#C12770 #C12B27 #C17827
triadic
#C12B27 #27C12B #2B27C1
tetradic
#C12B27 #70C127 #27BDC1 #7827C1
square
#C12B27 #70C127 #27BDC1 #7827C1
split-complementary
#C12B27 #27C178 #2770C1
monochromatic
#5B1412 #8E201D #C12B27 #DB4E4B #E5807E

Accessibility & contrast

On white

5.77
#C12B27 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#C12B27 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C12B27
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C12B27#FFFFFF#000000##FFFFFF
##C12B271.005.773.645.77
#FFFFFF5.771.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A5125
Deuteranopia (green-blind)
#7F7120
Tritanopia (blue-blind)
#D5002C
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #c12b27;
/* rgb */ color: rgb(193, 43, 39);
/* oklch */ color: oklch(53.2% 0.187 27.5);
Tailwind
colors: {
  custom: {
    50: '#dd7262',
    500: '#c12b27',
    950: '#000000',
  },
}
SCSS
$custom: #c12b27;
$custom-light: #dd7262;
$custom-dark: #000000;
JSON
{
  "hex": "#c12b27",
  "rgb": {
    "r": 193,
    "g": 43,
    "b": 39
  },
  "hsl": {
    "h": 1.558,
    "s": 66.379,
    "l": 45.49
  },
  "oklch": {
    "l": 0.5317,
    "c": 0.18698,
    "h": 27.5
  },
  "luminance": 0.13212
}

Semantic roles & 50–950 ramp

primary
#C12B27
secondary
#77CBCD
accent
#E5E93E
background
#FFF7F5
surface
#FEEDEA
border
#D6C8C6
text
#170905
muted
#857B79

Preview Lab

Preview with #C12B27

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

Preview Lab → · Contrast checker → · Palette generator →

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