#B1232A#B1232A

#B1232A is a mid, vivid red. Relative luminance 0.107; OKLCH L 49.7% C 0.177 H 24.5°. Best body text is #FFFFFF at 6.68:1 contrast (WCAG AA passes).

Color values

HEX#B1232A
RGBrgb(177, 35, 42)
HSLhsl(357, 67%, 42%)
HSVhsv(357, 80%, 69%)
CMYKcmyk(0%, 80.2%, 76.3%, 30.6%)
CIE-LABlab(39.10, 55.62, 32.96)
CIE-LCHlch(39.10, 64.65, 30.65°)
OKLaboklab(49.66% 0.1613 0.0734)
OKLCHoklch(49.66% 0.177 24.5)
XYZxyz(19.1527, 10.7194, 3.2506)
Luminance0.1072 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B1232A #23B1AA
analogous
#B12371 #B1232A #B16323
triadic
#B1232A #2AB123 #232AB1
tetradic
#B1232A #71B123 #23B1AA #6323B1
square
#B1232A #71B123 #23B1AA #6323B1
split-complementary
#B1232A #23B163 #2371B1
monochromatic
#4B0F12 #7E191E #B1232A #D83941 #E26C72

Accessibility & contrast

On white

6.68
#B1232A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#B1232A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B1232A
6.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B1232A#FFFFFF#000000##FFFFFF
##B1232A1.006.683.146.68
#FFFFFF6.681.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#504929
Deuteranopia (green-blind)
#736724
Tritanopia (blue-blind)
#C30027
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #b1232a;
/* rgb */ color: rgb(177, 35, 42);
/* oklch */ color: oklch(49.7% 0.177 24.5);
Tailwind
colors: {
  custom: {
    50: '#d16c64',
    500: '#b1232a',
    950: '#000000',
  },
}
SCSS
$custom: #b1232a;
$custom-light: #d16c64;
$custom-dark: #000000;
JSON
{
  "hex": "#b1232a",
  "rgb": {
    "r": 177,
    "g": 35,
    "b": 42
  },
  "hsl": {
    "h": 357.042,
    "s": 66.981,
    "l": 41.569
  },
  "oklch": {
    "l": 0.49659,
    "c": 0.17718,
    "h": 24.5
  },
  "luminance": 0.10716
}

Semantic roles & 50–950 ramp

primary
#B1232A
secondary
#68C8C3
accent
#EAE13E
background
#FEF6F5
surface
#FCECEA
border
#D5C7C6
text
#160805
muted
#847A79

Preview Lab

Preview with #B1232A

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

Preview Lab → · Contrast checker → · Palette generator →

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