#B2312B#B2312B

#B2312B is a mid, vivid red. Relative luminance 0.118; OKLCH L 51.1% C 0.167 H 27.5°. Best body text is #FFFFFF at 6.24:1 contrast (WCAG AA passes).

Color values

HEX#B2312B
RGBrgb(178, 49, 43)
HSLhsl(3, 61%, 43%)
HSVhsv(3, 76%, 70%)
CMYKcmyk(0%, 72.5%, 75.8%, 30.2%)
CIE-LABlab(40.96, 51.37, 34.48)
CIE-LCHlch(40.96, 61.87, 33.87°)
OKLaboklab(51.08% 0.1479 0.0769)
OKLCHoklch(51.08% 0.167 27.5)
XYZxyz(19.8967, 11.8391, 3.5225)
Luminance0.1184 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2312B #2BACB2
analogous
#B22B68 #B2312B #B2742B
triadic
#B2312B #2BB231 #312BB2
tetradic
#B2312B #68B22B #2BACB2 #742BB2
square
#B2312B #68B22B #2BACB2 #742BB2
split-complementary
#B2312B #2BB274 #2B68B2
monochromatic
#4F1613 #81231F #B2312B #D34E48 #DF7D79

Accessibility & contrast

On white

6.24
#B2312B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#B2312B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B2312B
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2312B#FFFFFF#000000##FFFFFF
##B2312B1.006.243.376.24
#FFFFFF6.241.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#574F29
Deuteranopia (green-blind)
#776B26
Tritanopia (blue-blind)
#C40031
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #b2312b;
/* rgb */ color: rgb(178, 49, 43);
/* oklch */ color: oklch(51.1% 0.167 27.5);
Tailwind
colors: {
  custom: {
    50: '#d27265',
    500: '#b2312b',
    950: '#000000',
  },
}
SCSS
$custom: #b2312b;
$custom-light: #d27265;
$custom-dark: #000000;
JSON
{
  "hex": "#b2312b",
  "rgb": {
    "r": 178,
    "g": 49,
    "b": 43
  },
  "hsl": {
    "h": 2.667,
    "s": 61.086,
    "l": 43.333
  },
  "oklch": {
    "l": 0.51079,
    "c": 0.16671,
    "h": 27.5
  },
  "luminance": 0.11836
}

Semantic roles & 50–950 ramp

primary
#B2312B
secondary
#72C3C7
accent
#DDE444
background
#FEF7F6
surface
#FCEDEB
border
#D5C8C6
text
#160805
muted
#847B7A

Preview Lab

Preview with #B2312B

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

Preview Lab → · Contrast checker → · Palette generator →

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