#B1231E#B1231E

#B1231E is a mid, vivid red. Relative luminance 0.106; OKLCH L 49.5% C 0.179 H 28.1°. Best body text is #FFFFFF at 6.71:1 contrast (WCAG AA passes).

Color values

HEX#B1231E
RGBrgb(177, 35, 30)
HSLhsl(2, 71%, 41%)
HSVhsv(2, 83%, 69%)
CMYKcmyk(0%, 80.2%, 83.1%, 30.6%)
CIE-LABlab(38.98, 55.22, 39.63)
CIE-LCHlch(38.98, 67.97, 35.67°)
OKLaboklab(49.53% 0.1575 0.084)
OKLCHoklch(49.53% 0.179 28.1)
XYZxyz(18.9692, 10.6460, 2.2841)
Luminance0.1064 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B1231E #1EACB1
analogous
#B11E62 #B1231E #B16C1E
triadic
#B1231E #1EB123 #231EB1
tetradic
#B1231E #62B11E #1EACB1 #6C1EB1
square
#B1231E #62B11E #1EACB1 #6C1EB1
split-complementary
#B1231E #1EB16C #1E62B1
monochromatic
#480E0C #7D1915 #B1231E #DC3630 #E56965

Accessibility & contrast

On white

6.71
#B1231E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#B1231E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B1231E
6.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B1231E#FFFFFF#000000##FFFFFF
##B1231E1.006.713.136.71
#FFFFFF6.711.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#51481B
Deuteranopia (green-blind)
#736716
Tritanopia (blue-blind)
#C30024
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #b1231e;
/* rgb */ color: rgb(177, 35, 30);
/* oklch */ color: oklch(49.5% 0.179 28.1);
Tailwind
colors: {
  custom: {
    50: '#d26c5b',
    500: '#b1231e',
    950: '#000000',
  },
}
SCSS
$custom: #b1231e;
$custom-light: #d26c5b;
$custom-dark: #000000;
JSON
{
  "hex": "#b1231e",
  "rgb": {
    "r": 177,
    "g": 35,
    "b": 30
  },
  "hsl": {
    "h": 2.041,
    "s": 71.014,
    "l": 40.588
  },
  "oklch": {
    "l": 0.49525,
    "c": 0.17852,
    "h": 28.1
  },
  "luminance": 0.10643
}

Semantic roles & 50–950 ramp

primary
#B1231E
secondary
#61C6CA
accent
#E8EE3A
background
#FEF6F5
surface
#FCECE9
border
#D5C7C5
text
#160804
muted
#847A79

Preview Lab

Preview with #B1231E

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

Preview Lab → · Contrast checker → · Palette generator →

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