#B2312C#B2312C

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

Color values

HEX#B2312C
RGBrgb(178, 49, 44)
HSLhsl(2, 60%, 44%)
HSVhsv(2, 75%, 70%)
CMYKcmyk(0%, 72.5%, 75.3%, 30.2%)
CIE-LABlab(40.97, 51.41, 33.91)
CIE-LCHlch(40.97, 61.59, 33.41°)
OKLaboklab(51.09% 0.1483 0.0759)
OKLCHoklch(51.09% 0.167 27.1)
XYZxyz(19.9153, 11.8465, 3.6203)
Luminance0.1184 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2312C #2CADB2
analogous
#B22C6A #B2312C #B2742C
triadic
#B2312C #2CB231 #312CB2
tetradic
#B2312C #6AB22C #2CADB2 #742CB2
square
#B2312C #6AB22C #2CADB2 #742CB2
split-complementary
#B2312C #2CB274 #2C6AB2
monochromatic
#501614 #812320 #B2312C #D24E49 #DE7E7A

Accessibility & contrast

On white

6.23
#B2312C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B2312C
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2312C#FFFFFF#000000##FFFFFF
##B2312C1.006.233.376.23
#FFFFFF6.231.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.231.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b2312c;
/* rgb */ color: rgb(178, 49, 44);
/* oklch */ color: oklch(51.1% 0.167 27.1);
Tailwind
colors: {
  custom: {
    50: '#d17266',
    500: '#b2312c',
    950: '#000000',
  },
}
SCSS
$custom: #b2312c;
$custom-light: #d17266;
$custom-dark: #000000;
JSON
{
  "hex": "#b2312c",
  "rgb": {
    "r": 178,
    "g": 49,
    "b": 44
  },
  "hsl": {
    "h": 2.239,
    "s": 60.36,
    "l": 43.529
  },
  "oklch": {
    "l": 0.51092,
    "c": 0.16656,
    "h": 27.1
  },
  "luminance": 0.11843
}

Semantic roles & 50–950 ramp

primary
#B2312C
secondary
#73C3C6
accent
#DEE444
background
#FEF7F6
surface
#FCEDEB
border
#D5C8C6
text
#160806
muted
#847B7A

Preview Lab

Preview with #B2312C

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

Preview Lab → · Contrast checker → · Palette generator →

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