#B12B3E#B12B3E

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

Color values

HEX#B12B3E
RGBrgb(177, 43, 62)
HSLhsl(351, 61%, 43%)
HSVhsv(351, 76%, 69%)
CMYKcmyk(0%, 75.7%, 65%, 30.6%)
CIE-LABlab(40.29, 54.11, 22.16)
CIE-LCHlch(40.29, 58.48, 22.27°)
OKLaboklab(50.64% 0.1609 0.053)
OKLCHoklch(50.64% 0.169 18.2)
XYZxyz(19.8670, 11.4256, 5.7158)
Luminance0.1142 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B12B3E #2BB19E
analogous
#B12B81 #B12B3E #B15B2B
triadic
#B12B3E #3EB12B #2B3EB1
tetradic
#B12B3E #81B12B #2BB19E #5B2BB1
square
#B12B3E #81B12B #2BB19E #5B2BB1
split-complementary
#B12B3E #2BB15B #2B81B1
monochromatic
#4F131C #801F2D #B12B3E #D2475B #DE7887

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B12B3E#FFFFFF#000000##FFFFFF
##B12B3E1.006.393.286.39
#FFFFFF6.391.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#514D3E
Deuteranopia (green-blind)
#73693A
Tritanopia (blue-blind)
#C20033
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #b12b3e;
/* rgb */ color: rgb(177, 43, 62);
/* oklch */ color: oklch(50.6% 0.169 18.2);
Tailwind
colors: {
  custom: {
    50: '#d07073',
    500: '#b12b3e',
    950: '#000000',
  },
}
SCSS
$custom: #b12b3e;
$custom-light: #d07073;
$custom-dark: #000000;
JSON
{
  "hex": "#b12b3e",
  "rgb": {
    "r": 177,
    "g": 43,
    "b": 62
  },
  "hsl": {
    "h": 351.493,
    "s": 60.909,
    "l": 43.137
  },
  "oklch": {
    "l": 0.50635,
    "c": 0.16936,
    "h": 18.2
  },
  "luminance": 0.11423
}

Semantic roles & 50–950 ramp

primary
#B12B3E
secondary
#72C6BA
accent
#E4CD44
background
#FDF7F6
surface
#FBEDEC
border
#D4C8C7
text
#150808
muted
#837B7B

Preview Lab

Preview with #B12B3E

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

Preview Lab → · Contrast checker → · Palette generator →

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