#B12E1D#B12E1D

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

Color values

HEX#B12E1D
RGBrgb(177, 46, 29)
HSLhsl(7, 72%, 40%)
HSVhsv(7, 84%, 69%)
CMYKcmyk(0%, 74%, 83.6%, 30.6%)
CIE-LABlab(40.23, 51.66, 41.32)
CIE-LCHlch(40.23, 66.15, 38.66°)
OKLaboklab(50.46% 0.1462 0.0874)
OKLCHoklch(50.46% 0.17 30.9)
XYZxyz(19.3326, 11.3929, 2.3433)
Luminance0.1139 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B12E1D #1DA0B1
analogous
#B11D56 #B12E1D #B1781D
triadic
#B12E1D #1DB12E #2E1DB1
tetradic
#B12E1D #56B11D #1DA0B1 #781DB1
square
#B12E1D #56B11D #1DA0B1 #781DB1
split-complementary
#B12E1D #1DB178 #1D56B1
monochromatic
#48130C #7C2014 #B12E1D #DD422E #E57263

Accessibility & contrast

On white

6.41
#B12E1D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#B12E1D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B12E1D
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B12E1D#FFFFFF#000000##FFFFFF
##B12E1D1.006.413.286.41
#FFFFFF6.411.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#564C19
Deuteranopia (green-blind)
#766916
Tritanopia (blue-blind)
#C3002C
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #b12e1d;
/* rgb */ color: rgb(177, 46, 29);
/* oklch */ color: oklch(50.5% 0.170 30.9);
Tailwind
colors: {
  custom: {
    50: '#d2715b',
    500: '#b12e1d',
    950: '#000000',
  },
}
SCSS
$custom: #b12e1d;
$custom-light: #d2715b;
$custom-dark: #000000;
JSON
{
  "hex": "#b12e1d",
  "rgb": {
    "r": 177,
    "g": 46,
    "b": 29
  },
  "hsl": {
    "h": 6.892,
    "s": 71.845,
    "l": 40.392
  },
  "oklch": {
    "l": 0.50459,
    "c": 0.17033,
    "h": 30.9
  },
  "luminance": 0.1139
}

Semantic roles & 50–950 ramp

primary
#B12E1D
secondary
#60BECA
accent
#DAEF39
background
#FEF7F5
surface
#FCEDE9
border
#D5C8C5
text
#160804
muted
#847B79

Preview Lab

Preview with #B12E1D

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

Preview Lab → · Contrast checker → · Palette generator →

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