#B12C27#B12C27

#B12C27 is a mid, vivid red. Relative luminance 0.113; OKLCH L 50.4% C 0.171 H 27.5°. Best body text is #FFFFFF at 6.44:1 contrast (WCAG AA passes).

Color values

HEX#B12C27
RGBrgb(177, 44, 39)
HSLhsl(2, 64%, 42%)
HSVhsv(2, 78%, 69%)
CMYKcmyk(0%, 75.1%, 78%, 30.6%)
CIE-LABlab(40.08, 52.68, 35.76)
CIE-LCHlch(40.08, 63.67, 34.17°)
OKLaboklab(50.37% 0.1513 0.0786)
OKLCHoklch(50.37% 0.171 27.5)
XYZxyz(19.4006, 11.2980, 3.0783)
Luminance0.1129 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B12C27 #27ACB1
analogous
#B12767 #B12C27 #B17127
triadic
#B12C27 #27B12C #2C27B1
tetradic
#B12C27 #67B127 #27ACB1 #7127B1
square
#B12C27 #67B127 #27ACB1 #7127B1
split-complementary
#B12C27 #27B171 #2767B1
monochromatic
#4D1311 #7F201C #B12C27 #D54640 #E07672

Accessibility & contrast

On white

6.44
#B12C27 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#B12C27 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B12C27
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B12C27#FFFFFF#000000##FFFFFF
##B12C271.006.443.266.44
#FFFFFF6.441.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#544C25
Deuteranopia (green-blind)
#756921
Tritanopia (blue-blind)
#C3002C
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #b12c27;
/* rgb */ color: rgb(177, 44, 39);
/* oklch */ color: oklch(50.4% 0.171 27.5);
Tailwind
colors: {
  custom: {
    50: '#d17062',
    500: '#b12c27',
    950: '#000000',
  },
}
SCSS
$custom: #b12c27;
$custom-light: #d17062;
$custom-dark: #000000;
JSON
{
  "hex": "#b12c27",
  "rgb": {
    "r": 177,
    "g": 44,
    "b": 39
  },
  "hsl": {
    "h": 2.174,
    "s": 63.889,
    "l": 42.353
  },
  "oklch": {
    "l": 0.50372,
    "c": 0.17054,
    "h": 27.5
  },
  "luminance": 0.11295
}

Semantic roles & 50–950 ramp

primary
#B12C27
secondary
#6DC4C7
accent
#E1E741
background
#FEF7F5
surface
#FCEDEA
border
#D5C8C6
text
#160805
muted
#847B79

Preview Lab

Preview with #B12C27

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

Preview Lab → · Contrast checker → · Palette generator →

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