#B2312A#B2312A

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

Color values

HEX#B2312A
RGBrgb(178, 49, 42)
HSLhsl(3, 62%, 43%)
HSVhsv(3, 76%, 70%)
CMYKcmyk(0%, 72.5%, 76.4%, 30.2%)
CIE-LABlab(40.95, 51.33, 35.04)
CIE-LCHlch(40.95, 62.15, 34.32°)
OKLaboklab(51.07% 0.1476 0.0778)
OKLCHoklch(51.07% 0.167 27.8)
XYZxyz(19.8786, 11.8318, 3.4271)
Luminance0.1183 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2312A #2AABB2
analogous
#B22A67 #B2312A #B2752A
triadic
#B2312A #2AB231 #312AB2
tetradic
#B2312A #67B22A #2AABB2 #752AB2
square
#B2312A #67B22A #2AABB2 #752AB2
split-complementary
#B2312A #2AB275 #2A67B2
monochromatic
#4F1613 #80231E #B2312A #D34D46 #DF7D77

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B2312A#FFFFFF#000000##FFFFFF
##B2312A1.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)
#574F28
Deuteranopia (green-blind)
#776B25
Tritanopia (blue-blind)
#C40031
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #b2312a;
/* rgb */ color: rgb(178, 49, 42);
/* oklch */ color: oklch(51.1% 0.167 27.8);
Tailwind
colors: {
  custom: {
    50: '#d27264',
    500: '#b2312a',
    950: '#000000',
  },
}
SCSS
$custom: #b2312a;
$custom-light: #d27264;
$custom-dark: #000000;
JSON
{
  "hex": "#b2312a",
  "rgb": {
    "r": 178,
    "g": 49,
    "b": 42
  },
  "hsl": {
    "h": 3.088,
    "s": 61.818,
    "l": 43.137
  },
  "oklch": {
    "l": 0.51067,
    "c": 0.16685,
    "h": 27.8
  },
  "luminance": 0.11829
}

Semantic roles & 50–950 ramp

primary
#B2312A
secondary
#71C2C7
accent
#DDE543
background
#FEF7F6
surface
#FCEDEB
border
#D5C8C6
text
#160805
muted
#847B7A

Preview Lab

Preview with #B2312A

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

Preview Lab → · Contrast checker → · Palette generator →

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