#B12E26#B12E26

#B12E26 is a mid, vivid red. Relative luminance 0.114; OKLCH L 50.5% C 0.169 H 28.3°. Best body text is #FFFFFF at 6.39:1 contrast (WCAG AA passes).

Color values

HEX#B12E26
RGBrgb(177, 46, 38)
HSLhsl(3, 65%, 42%)
HSVhsv(3, 79%, 69%)
CMYKcmyk(0%, 74%, 78.5%, 30.6%)
CIE-LABlab(40.32, 51.94, 36.58)
CIE-LCHlch(40.32, 63.53, 35.15°)
OKLaboklab(50.55% 0.1488 0.0801)
OKLCHoklch(50.55% 0.169 28.3)
XYZxyz(19.4606, 11.4441, 3.0176)
Luminance0.1144 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B12E26 #26A9B1
analogous
#B12664 #B12E26 #B17326
triadic
#B12E26 #26B12E #2E26B1
tetradic
#B12E26 #64B126 #26A9B1 #7326B1
square
#B12E26 #64B126 #26A9B1 #7326B1
split-complementary
#B12E26 #26B173 #2664B1
monochromatic
#4C1410 #7F211B #B12E26 #D6473F #E07771

Accessibility & contrast

On white

6.39
#B12E26 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B12E26
6.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B12E26#FFFFFF#000000##FFFFFF
##B12E261.006.393.296.39
#FFFFFF6.391.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#554D24
Deuteranopia (green-blind)
#766920
Tritanopia (blue-blind)
#C3002E
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #b12e26;
/* rgb */ color: rgb(177, 46, 38);
/* oklch */ color: oklch(50.5% 0.169 28.3);
Tailwind
colors: {
  custom: {
    50: '#d17161',
    500: '#b12e26',
    950: '#000000',
  },
}
SCSS
$custom: #b12e26;
$custom-light: #d17161;
$custom-dark: #000000;
JSON
{
  "hex": "#b12e26",
  "rgb": {
    "r": 177,
    "g": 46,
    "b": 38
  },
  "hsl": {
    "h": 3.453,
    "s": 64.651,
    "l": 42.157
  },
  "oklch": {
    "l": 0.50548,
    "c": 0.169,
    "h": 28.3
  },
  "luminance": 0.11441
}

Semantic roles & 50–950 ramp

primary
#B12E26
secondary
#6BC2C7
accent
#DEE840
background
#FEF7F5
surface
#FCEDEA
border
#D5C8C6
text
#160805
muted
#847B79

Preview Lab

Preview with #B12E26

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

Preview Lab → · Contrast checker → · Palette generator →

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