#B4231B#B4231B

#B4231B is a mid, vivid red. Relative luminance 0.110; OKLCH L 50.1% C 0.182 H 28.8°. Best body text is #FFFFFF at 6.57:1 contrast (WCAG AA passes).

Color values

HEX#B4231B
RGBrgb(180, 35, 27)
HSLhsl(3, 74%, 41%)
HSVhsv(3, 85%, 71%)
CMYKcmyk(0%, 80.6%, 85%, 29.4%)
CIE-LABlab(39.56, 56.04, 41.95)
CIE-LCHlch(39.56, 70.00, 36.82°)
OKLaboklab(50.06% 0.1592 0.0877)
OKLCHoklch(50.06% 0.182 28.8)
XYZxyz(19.6237, 10.9877, 2.1243)
Luminance0.1098 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4231B #1BACB4
analogous
#B41B60 #B4231B #B46F1B
triadic
#B4231B #1BB423 #231BB4
tetradic
#B4231B #60B41B #1BACB4 #6F1BB4
square
#B4231B #60B41B #1BACB4 #6F1BB4
split-complementary
#B4231B #1BB46F #1B60B4
monochromatic
#4A0E0B #7F1913 #B4231B #DF362D #E76962

Accessibility & contrast

On white

6.57
#B4231B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#B4231B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B4231B
6.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4231B#FFFFFF#000000##FFFFFF
##B4231B1.006.573.206.57
#FFFFFF6.571.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#524918
Deuteranopia (green-blind)
#766812
Tritanopia (blue-blind)
#C70023
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #b4231b;
/* rgb */ color: rgb(180, 35, 27);
/* oklch */ color: oklch(50.1% 0.182 28.8);
Tailwind
colors: {
  custom: {
    50: '#d56c59',
    500: '#b4231b',
    950: '#000000',
  },
}
SCSS
$custom: #b4231b;
$custom-light: #d56c59;
$custom-dark: #000000;
JSON
{
  "hex": "#b4231b",
  "rgb": {
    "r": 180,
    "g": 35,
    "b": 27
  },
  "hsl": {
    "h": 3.137,
    "s": 73.913,
    "l": 40.588
  },
  "oklch": {
    "l": 0.50057,
    "c": 0.18171,
    "h": 28.8
  },
  "luminance": 0.10984
}

Semantic roles & 50–950 ramp

primary
#B4231B
secondary
#5FC6CC
accent
#E7F137
background
#FEF6F5
surface
#FDECE9
border
#D5C7C5
text
#160804
muted
#847A79

Preview Lab

Preview with #B4231B

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

Preview Lab → · Contrast checker → · Palette generator →

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