#B12E2A#B12E2A

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

Color values

HEX#B12E2A
RGBrgb(177, 46, 42)
HSLhsl(2, 62%, 43%)
HSVhsv(2, 76%, 69%)
CMYKcmyk(0%, 74%, 76.3%, 30.6%)
CIE-LABlab(40.36, 52.10, 34.35)
CIE-LCHlch(40.36, 62.40, 33.40°)
OKLaboklab(50.6% 0.1501 0.0764)
OKLCHoklch(50.6% 0.168 27)
XYZxyz(19.5286, 11.4713, 3.3759)
Luminance0.1147 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B12E2A #2AADB1
analogous
#B12A69 #B12E2A #B1722A
triadic
#B12E2A #2AB12E #2E2AB1
tetradic
#B12E2A #69B12A #2AADB1 #722AB1
square
#B12E2A #69B12A #2AADB1 #722AB1
split-complementary
#B12E2A #2AB172 #2A69B1
monochromatic
#4E1413 #80211E #B12E2A #D34945 #DF7A77

Accessibility & contrast

On white

6.38
#B12E2A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#B12E2A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B12E2A
6.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B12E2A#FFFFFF#000000##FFFFFF
##B12E2A1.006.383.296.38
#FFFFFF6.381.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.381.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b12e2a;
/* rgb */ color: rgb(177, 46, 42);
/* oklch */ color: oklch(50.6% 0.168 27.0);
Tailwind
colors: {
  custom: {
    50: '#d17164',
    500: '#b12e2a',
    950: '#000000',
  },
}
SCSS
$custom: #b12e2a;
$custom-light: #d17164;
$custom-dark: #000000;
JSON
{
  "hex": "#b12e2a",
  "rgb": {
    "r": 177,
    "g": 46,
    "b": 42
  },
  "hsl": {
    "h": 1.778,
    "s": 61.644,
    "l": 42.941
  },
  "oklch": {
    "l": 0.50596,
    "c": 0.16844,
    "h": 27
  },
  "luminance": 0.11468
}

Semantic roles & 50–950 ramp

primary
#B12E2A
secondary
#70C4C6
accent
#E0E543
background
#FEF7F6
surface
#FCEDEB
border
#D5C8C6
text
#160805
muted
#847B7A

Preview Lab

Preview with #B12E2A

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

Preview Lab → · Contrast checker → · Palette generator →

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