#B3231F#B3231F

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

Color values

HEX#B3231F
RGBrgb(179, 35, 31)
HSLhsl(2, 70%, 41%)
HSVhsv(2, 83%, 70%)
CMYKcmyk(0%, 80.4%, 82.7%, 29.8%)
CIE-LABlab(39.39, 55.84, 39.63)
CIE-LCHlch(39.39, 68.48, 35.36°)
OKLaboklab(49.91% 0.1594 0.0842)
OKLCHoklch(49.91% 0.18 27.8)
XYZxyz(19.4412, 10.8879, 2.3740)
Luminance0.1089 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B3231F #1FAFB3
analogous
#B31F65 #B3231F #B36D1F
triadic
#B3231F #1FB323 #231FB3
tetradic
#B3231F #65B31F #1FAFB3 #6D1FB3
square
#B3231F #65B31F #1FAFB3 #6D1FB3
split-complementary
#B3231F #1FB36D #1F65B3
monochromatic
#4B0F0D #7F1916 #B3231F #DC3833 #E56B68

Accessibility & contrast

On white

6.61
#B3231F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#B3231F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B3231F
6.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B3231F#FFFFFF#000000##FFFFFF
##B3231F1.006.613.186.61
#FFFFFF6.611.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.611.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b3231f;
/* rgb */ color: rgb(179, 35, 31);
/* oklch */ color: oklch(49.9% 0.180 27.8);
Tailwind
colors: {
  custom: {
    50: '#d46c5c',
    500: '#b3231f',
    950: '#000000',
  },
}
SCSS
$custom: #b3231f;
$custom-light: #d46c5c;
$custom-dark: #000000;
JSON
{
  "hex": "#b3231f",
  "rgb": {
    "r": 179,
    "g": 35,
    "b": 31
  },
  "hsl": {
    "h": 1.622,
    "s": 70.476,
    "l": 41.176
  },
  "oklch": {
    "l": 0.49907,
    "c": 0.18031,
    "h": 27.8
  },
  "luminance": 0.10885
}

Semantic roles & 50–950 ramp

primary
#B3231F
secondary
#64C7CA
accent
#E8ED3B
background
#FEF6F5
surface
#FCECE9
border
#D5C7C5
text
#160804
muted
#847A79

Preview Lab

Preview with #B3231F

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

Preview Lab → · Contrast checker → · Palette generator →

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