#B2312E#B2312E

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

Color values

HEX#B2312E
RGBrgb(178, 49, 46)
HSLhsl(1, 59%, 44%)
HSVhsv(1, 74%, 70%)
CMYKcmyk(0%, 72.5%, 74.2%, 30.2%)
CIE-LABlab(41.00, 51.49, 32.78)
CIE-LCHlch(41.00, 61.04, 32.48°)
OKLaboklab(51.12% 0.149 0.0739)
OKLCHoklch(51.12% 0.166 26.4)
XYZxyz(19.9538, 11.8619, 3.8231)
Luminance0.1186 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2312E #2EAFB2
analogous
#B22E6D #B2312E #B2732E
triadic
#B2312E #2EB231 #312EB2
tetradic
#B2312E #6DB22E #2EAFB2 #732EB2
square
#B2312E #6DB22E #2EAFB2 #732EB2
split-complementary
#B2312E #2EB273 #2E6DB2
monochromatic
#511615 #812421 #B2312E #D14F4C #DD7F7D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B2312E#FFFFFF#000000##FFFFFF
##B2312E1.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)
#574F2C
Deuteranopia (green-blind)
#776B29
Tritanopia (blue-blind)
#C40032
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #b2312e;
/* rgb */ color: rgb(178, 49, 46);
/* oklch */ color: oklch(51.1% 0.166 26.4);
Tailwind
colors: {
  custom: {
    50: '#d17267',
    500: '#b2312e',
    950: '#000000',
  },
}
SCSS
$custom: #b2312e;
$custom-light: #d17267;
$custom-dark: #000000;
JSON
{
  "hex": "#b2312e",
  "rgb": {
    "r": 178,
    "g": 49,
    "b": 46
  },
  "hsl": {
    "h": 1.364,
    "s": 58.929,
    "l": 43.922
  },
  "oklch": {
    "l": 0.51118,
    "c": 0.16628,
    "h": 26.4
  },
  "luminance": 0.11859
}

Semantic roles & 50–950 ramp

primary
#B2312E
secondary
#76C4C6
accent
#DFE246
background
#FEF7F6
surface
#FCEDEB
border
#D5C8C6
text
#160806
muted
#847B7A

Preview Lab

Preview with #B2312E

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

Preview Lab → · Contrast checker → · Palette generator →

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