#B23E1F#B23E1F

#B23E1F is a mid, vivid red. Relative luminance 0.130; OKLCH L 52.4% C 0.157 H 35.5°. Best body text is #FFFFFF at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#B23E1F
RGBrgb(178, 62, 31)
HSLhsl(13, 70%, 41%)
HSVhsv(13, 83%, 70%)
CMYKcmyk(0%, 65.2%, 82.6%, 30.2%)
CIE-LABlab(42.78, 45.67, 42.76)
CIE-LCHlch(42.78, 62.56, 43.12°)
OKLaboklab(52.41% 0.1279 0.0913)
OKLCHoklch(52.41% 0.157 35.5)
XYZxyz(20.3324, 13.0121, 2.7370)
Luminance0.1301 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B23E1F #1F93B2
analogous
#B21F49 #B23E1F #B2871F
triadic
#B23E1F #1FB23E #3E1FB2
tetradic
#B23E1F #49B21F #1F93B2 #871FB2
square
#B23E1F #49B21F #1F93B2 #871FB2
split-complementary
#B23E1F #1FB287 #1F49B2
monochromatic
#4A1A0D #7E2C16 #B23E1F #DB5633 #E58167

Accessibility & contrast

On white

5.83
#B23E1F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#B23E1F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B23E1F
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B23E1F#FFFFFF#000000##FFFFFF
##B23E1F1.005.833.605.83
#FFFFFF5.831.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F551A
Deuteranopia (green-blind)
#7C6F1A
Tritanopia (blue-blind)
#C41D38
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #b23e1f;
/* rgb */ color: rgb(178, 62, 31);
/* oklch */ color: oklch(52.4% 0.157 35.5);
Tailwind
colors: {
  custom: {
    50: '#d2795d',
    500: '#b23e1f',
    950: '#000000',
  },
}
SCSS
$custom: #b23e1f;
$custom-light: #d2795d;
$custom-dark: #000000;
JSON
{
  "hex": "#b23e1f",
  "rgb": {
    "r": 178,
    "g": 62,
    "b": 31
  },
  "hsl": {
    "h": 12.653,
    "s": 70.335,
    "l": 40.98
  },
  "oklch": {
    "l": 0.52408,
    "c": 0.15709,
    "h": 35.5
  },
  "luminance": 0.13009
}

Semantic roles & 50–950 ramp

primary
#B23E1F
secondary
#63B4CA
accent
#C7ED3B
background
#FEF7F5
surface
#FCEEE9
border
#D5C9C5
text
#160904
muted
#847B79

Preview Lab

Preview with #B23E1F

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

Preview Lab → · Contrast checker → · Palette generator →

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