#B4231F#B4231F

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

Color values

HEX#B4231F
RGBrgb(180, 35, 31)
HSLhsl(2, 71%, 41%)
HSVhsv(2, 83%, 71%)
CMYKcmyk(0%, 80.6%, 82.8%, 29.4%)
CIE-LABlab(39.59, 56.14, 39.89)
CIE-LCHlch(39.59, 68.87, 35.40°)
OKLaboklab(50.09% 0.1602 0.0847)
OKLCHoklch(50.09% 0.181 27.9)
XYZxyz(19.6732, 11.0075, 2.3849)
Luminance0.1100 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4231F #1FB0B4
analogous
#B41F66 #B4231F #B46E1F
triadic
#B4231F #1FB423 #231FB4
tetradic
#B4231F #66B41F #1FB0B4 #6E1FB4
square
#B4231F #66B41F #1FB0B4 #6E1FB4
split-complementary
#B4231F #1FB46E #1F66B4
monochromatic
#4C0F0D #801916 #B4231F #DC3934 #E56C68

Accessibility & contrast

On white

6.56
#B4231F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B4231F
6.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4231F#FFFFFF#000000##FFFFFF
##B4231F1.006.563.206.56
#FFFFFF6.561.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#52491C
Deuteranopia (green-blind)
#756817
Tritanopia (blue-blind)
#C70024
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #b4231f;
/* rgb */ color: rgb(180, 35, 31);
/* oklch */ color: oklch(50.1% 0.181 27.9);
Tailwind
colors: {
  custom: {
    50: '#d46d5c',
    500: '#b4231f',
    950: '#000000',
  },
}
SCSS
$custom: #b4231f;
$custom-light: #d46d5c;
$custom-dark: #000000;
JSON
{
  "hex": "#b4231f",
  "rgb": {
    "r": 180,
    "g": 35,
    "b": 31
  },
  "hsl": {
    "h": 1.611,
    "s": 70.616,
    "l": 41.373
  },
  "oklch": {
    "l": 0.50092,
    "c": 0.18124,
    "h": 27.9
  },
  "luminance": 0.11004
}

Semantic roles & 50–950 ramp

primary
#B4231F
secondary
#64C8CB
accent
#E9ED3A
background
#FEF6F5
surface
#FDECE9
border
#D5C7C5
text
#160804
muted
#847A79

Preview Lab

Preview with #B4231F

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

Preview Lab → · Contrast checker → · Palette generator →

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