#B12E2F#B12E2F

#B12E2F is a mid, vivid red. Relative luminance 0.115; OKLCH L 50.7% C 0.168 H 25.2°. Best body text is #FFFFFF at 6.36:1 contrast (WCAG AA passes).

Color values

HEX#B12E2F
RGBrgb(177, 46, 47)
HSLhsl(360, 59%, 44%)
HSVhsv(360, 74%, 69%)
CMYKcmyk(0%, 74%, 73.4%, 30.6%)
CIE-LABlab(40.43, 52.31, 31.49)
CIE-LCHlch(40.43, 61.05, 31.05°)
OKLaboklab(50.66% 0.1519 0.0714)
OKLCHoklch(50.66% 0.168 25.2)
XYZxyz(19.6238, 11.5093, 3.8770)
Luminance0.1151 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B12E2F #2EB1B0
analogous
#B12E70 #B12E2F #B16E2E
triadic
#B12E2F #2FB12E #2E2FB1
tetradic
#B12E2F #70B12E #2EB1B0 #6E2EB1
square
#B12E2F #70B12E #2EB1B0 #6E2EB1
split-complementary
#B12E2F #2EB16E #2E70B1
monochromatic
#501515 #802122 #B12E2F #D04C4D #DD7C7D

Accessibility & contrast

On white

6.36
#B12E2F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#B12E2F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B12E2F
6.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B12E2F#FFFFFF#000000##FFFFFF
##B12E2F1.006.363.306.36
#FFFFFF6.361.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#554D2E
Deuteranopia (green-blind)
#756A2A
Tritanopia (blue-blind)
#C30030
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #b12e2f;
/* rgb */ color: rgb(177, 46, 47);
/* oklch */ color: oklch(50.7% 0.168 25.2);
Tailwind
colors: {
  custom: {
    50: '#d17168',
    500: '#b12e2f',
    950: '#000000',
  },
}
SCSS
$custom: #b12e2f;
$custom-light: #d17168;
$custom-dark: #000000;
JSON
{
  "hex": "#b12e2f",
  "rgb": {
    "r": 177,
    "g": 46,
    "b": 47
  },
  "hsl": {
    "h": 359.542,
    "s": 58.744,
    "l": 43.725
  },
  "oklch": {
    "l": 0.50662,
    "c": 0.1678,
    "h": 25.2
  },
  "luminance": 0.11506
}

Semantic roles & 50–950 ramp

primary
#B12E2F
secondary
#75C6C5
accent
#E2E146
background
#FDF7F6
surface
#FBEDEB
border
#D4C8C6
text
#160806
muted
#847B7A

Preview Lab

Preview with #B12E2F

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

Preview Lab → · Contrast checker → · Palette generator →

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