#B12A2C#B12A2C

#B12A2C is a mid, vivid red. Relative luminance 0.112; OKLCH L 50.3% C 0.172 H 25.3°. Best body text is #FFFFFF at 6.49:1 contrast (WCAG AA passes).

Color values

HEX#B12A2C
RGBrgb(177, 42, 44)
HSLhsl(359, 62%, 43%)
HSVhsv(359, 76%, 69%)
CMYKcmyk(0%, 76.3%, 75.1%, 30.6%)
CIE-LABlab(39.90, 53.55, 32.66)
CIE-LCHlch(39.90, 62.72, 31.38°)
OKLaboklab(50.26% 0.1551 0.0732)
OKLCHoklch(50.26% 0.172 25.3)
XYZxyz(19.4163, 11.1879, 3.5195)
Luminance0.1119 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B12A2C #2AB1AF
analogous
#B12A6F #B12A2C #B16B2A
triadic
#B12A2C #2CB12A #2A2CB1
tetradic
#B12A2C #6FB12A #2AB1AF #6B2AB1
square
#B12A2C #6FB12A #2AB1AF #6B2AB1
split-complementary
#B12A2C #2AB16B #2A6FB1
monochromatic
#4E1313 #801E20 #B12A2C #D34547 #DF7778

Accessibility & contrast

On white

6.49
#B12A2C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#B12A2C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B12A2C
6.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B12A2C#FFFFFF#000000##FFFFFF
##B12A2C1.006.493.246.49
#FFFFFF6.491.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#534B2B
Deuteranopia (green-blind)
#746927
Tritanopia (blue-blind)
#C3002D
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #b12a2c;
/* rgb */ color: rgb(177, 42, 44);
/* oklch */ color: oklch(50.3% 0.172 25.3);
Tailwind
colors: {
  custom: {
    50: '#d16f65',
    500: '#b12a2c',
    950: '#000000',
  },
}
SCSS
$custom: #b12a2c;
$custom-light: #d16f65;
$custom-dark: #000000;
JSON
{
  "hex": "#b12a2c",
  "rgb": {
    "r": 177,
    "g": 42,
    "b": 44
  },
  "hsl": {
    "h": 359.111,
    "s": 61.644,
    "l": 42.941
  },
  "oklch": {
    "l": 0.50255,
    "c": 0.17155,
    "h": 25.3
  },
  "luminance": 0.11185
}

Semantic roles & 50–950 ramp

primary
#B12A2C
secondary
#70C6C5
accent
#E5E243
background
#FEF7F6
surface
#FCEDEB
border
#D5C8C6
text
#160805
muted
#847B7A

Preview Lab

Preview with #B12A2C

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

Preview Lab → · Contrast checker → · Palette generator →

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