#B3231C#B3231C

#B3231C is a mid, vivid red. Relative luminance 0.109; OKLCH L 49.9% C 0.181 H 28.6°. Best body text is #FFFFFF at 6.62:1 contrast (WCAG AA passes).

Color values

HEX#B3231C
RGBrgb(179, 35, 28)
HSLhsl(3, 73%, 41%)
HSVhsv(3, 84%, 70%)
CMYKcmyk(0%, 80.4%, 84.4%, 29.8%)
CIE-LABlab(39.37, 55.76, 41.19)
CIE-LCHlch(39.37, 69.33, 36.45°)
OKLaboklab(49.88% 0.1586 0.0865)
OKLCHoklch(49.88% 0.181 28.6)
XYZxyz(19.4035, 10.8728, 2.1754)
Luminance0.1087 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B3231C #1CACB3
analogous
#B31C61 #B3231C #B36E1C
triadic
#B3231C #1CB323 #231CB3
tetradic
#B3231C #61B31C #1CACB3 #6E1CB3
square
#B3231C #61B31C #1CACB3 #6E1CB3
split-complementary
#B3231C #1CB36E #1C61B3
monochromatic
#490E0B #7E1914 #B3231C #DE362E #E76963

Accessibility & contrast

On white

6.62
#B3231C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#B3231C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B3231C
6.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B3231C#FFFFFF#000000##FFFFFF
##B3231C1.006.623.176.62
#FFFFFF6.621.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#524919
Deuteranopia (green-blind)
#756813
Tritanopia (blue-blind)
#C60024
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #b3231c;
/* rgb */ color: rgb(179, 35, 28);
/* oklch */ color: oklch(49.9% 0.181 28.6);
Tailwind
colors: {
  custom: {
    50: '#d46c5a',
    500: '#b3231c',
    950: '#000000',
  },
}
SCSS
$custom: #b3231c;
$custom-light: #d46c5a;
$custom-dark: #000000;
JSON
{
  "hex": "#b3231c",
  "rgb": {
    "r": 179,
    "g": 35,
    "b": 28
  },
  "hsl": {
    "h": 2.781,
    "s": 72.947,
    "l": 40.588
  },
  "oklch": {
    "l": 0.4988,
    "c": 0.18065,
    "h": 28.6
  },
  "luminance": 0.1087
}

Semantic roles & 50–950 ramp

primary
#B3231C
secondary
#5FC6CB
accent
#E7F038
background
#FEF6F5
surface
#FDECE9
border
#D5C7C5
text
#160804
muted
#847A79

Preview Lab

Preview with #B3231C

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

Preview Lab → · Contrast checker → · Palette generator →

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