#B12C2A#B12C2A

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

Color values

HEX#B12C2A
RGBrgb(177, 44, 42)
HSLhsl(1, 62%, 43%)
HSVhsv(1, 76%, 69%)
CMYKcmyk(0%, 75.1%, 76.3%, 30.6%)
CIE-LABlab(40.11, 52.79, 34.07)
CIE-LCHlch(40.11, 62.83, 32.84°)
OKLaboklab(50.41% 0.1523 0.0758)
OKLCHoklch(50.41% 0.17 26.4)
XYZxyz(19.4523, 11.3187, 3.3505)
Luminance0.1132 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B12C2A #2AAFB1
analogous
#B12A6B #B12C2A #B16F2A
triadic
#B12C2A #2AB12C #2C2AB1
tetradic
#B12C2A #6BB12A #2AAFB1 #6F2AB1
square
#B12C2A #6BB12A #2AAFB1 #6F2AB1
split-complementary
#B12C2A #2AB16F #2A6BB1
monochromatic
#4E1313 #80201E #B12C2A #D34745 #DF7877

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B12C2A#FFFFFF#000000##FFFFFF
##B12C2A1.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)
#544C28
Deuteranopia (green-blind)
#756925
Tritanopia (blue-blind)
#C3002D
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #b12c2a;
/* rgb */ color: rgb(177, 44, 42);
/* oklch */ color: oklch(50.4% 0.170 26.4);
Tailwind
colors: {
  custom: {
    50: '#d17064',
    500: '#b12c2a',
    950: '#000000',
  },
}
SCSS
$custom: #b12c2a;
$custom-light: #d17064;
$custom-dark: #000000;
JSON
{
  "hex": "#b12c2a",
  "rgb": {
    "r": 177,
    "g": 44,
    "b": 42
  },
  "hsl": {
    "h": 0.889,
    "s": 61.644,
    "l": 42.941
  },
  "oklch": {
    "l": 0.50409,
    "c": 0.17014,
    "h": 26.4
  },
  "luminance": 0.11316
}

Semantic roles & 50–950 ramp

primary
#B12C2A
secondary
#70C5C6
accent
#E2E543
background
#FEF7F6
surface
#FCEDEB
border
#D5C8C6
text
#160805
muted
#847B7A

Preview Lab

Preview with #B12C2A

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

Preview Lab → · Contrast checker → · Palette generator →

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