#B12E2B#B12E2B

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

Color values

HEX#B12E2B
RGBrgb(177, 46, 43)
HSLhsl(1, 61%, 43%)
HSVhsv(1, 76%, 69%)
CMYKcmyk(0%, 74%, 75.7%, 30.6%)
CIE-LABlab(40.38, 52.14, 33.78)
CIE-LCHlch(40.38, 62.12, 32.94°)
OKLaboklab(50.61% 0.1505 0.0754)
OKLCHoklch(50.61% 0.168 26.6)
XYZxyz(19.5468, 11.4785, 3.4714)
Luminance0.1148 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B12E2B #2BAEB1
analogous
#B12B6B #B12E2B #B1712B
triadic
#B12E2B #2BB12E #2E2BB1
tetradic
#B12E2B #6BB12B #2BAEB1 #712BB1
square
#B12E2B #6BB12B #2BAEB1 #712BB1
split-complementary
#B12E2B #2BB171 #2B6BB1
monochromatic
#4F1413 #80211F #B12E2B #D24A47 #DE7A78

Accessibility & contrast

On white

6.37
#B12E2B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B12E2B
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B12E2B#FFFFFF#000000##FFFFFF
##B12E2B1.006.373.306.37
#FFFFFF6.371.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#554D29
Deuteranopia (green-blind)
#756926
Tritanopia (blue-blind)
#C3002F
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #b12e2b;
/* rgb */ color: rgb(177, 46, 43);
/* oklch */ color: oklch(50.6% 0.168 26.6);
Tailwind
colors: {
  custom: {
    50: '#d17165',
    500: '#b12e2b',
    950: '#000000',
  },
}
SCSS
$custom: #b12e2b;
$custom-light: #d17165;
$custom-dark: #000000;
JSON
{
  "hex": "#b12e2b",
  "rgb": {
    "r": 177,
    "g": 46,
    "b": 43
  },
  "hsl": {
    "h": 1.343,
    "s": 60.909,
    "l": 43.137
  },
  "oklch": {
    "l": 0.50608,
    "c": 0.16831,
    "h": 26.6
  },
  "luminance": 0.11476
}

Semantic roles & 50–950 ramp

primary
#B12E2B
secondary
#72C4C6
accent
#E0E444
background
#FEF7F6
surface
#FCEDEB
border
#D5C8C6
text
#160805
muted
#847B7A

Preview Lab

Preview with #B12E2B

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

Preview Lab → · Contrast checker → · Palette generator →

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