#B1272A#B1272A

#B1272A is a mid, vivid red. Relative luminance 0.110; OKLCH L 50.0% C 0.174 H 25.3°. Best body text is #FFFFFF at 6.58:1 contrast (WCAG AA passes).

Color values

HEX#B1272A
RGBrgb(177, 39, 42)
HSLhsl(359, 64%, 42%)
HSVhsv(359, 78%, 69%)
CMYKcmyk(0%, 78%, 76.3%, 30.6%)
CIE-LABlab(39.53, 54.43, 33.43)
CIE-LCHlch(39.53, 63.87, 31.56°)
OKLaboklab(49.97% 0.1575 0.0744)
OKLCHoklch(49.97% 0.174 25.3)
XYZxyz(19.2772, 10.9684, 3.2921)
Luminance0.1096 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B1272A #27B1AE
analogous
#B1276F #B1272A #B16927
triadic
#B1272A #2AB127 #272AB1
tetradic
#B1272A #6FB127 #27B1AE #6927B1
square
#B1272A #6FB127 #27B1AE #6927B1
split-complementary
#B1272A #27B169 #276FB1
monochromatic
#4D1112 #7F1C1E #B1272A #D54043 #E07275

Accessibility & contrast

On white

6.58
#B1272A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#B1272A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B1272A
6.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B1272A#FFFFFF#000000##FFFFFF
##B1272A1.006.583.196.58
#FFFFFF6.581.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#524A28
Deuteranopia (green-blind)
#746825
Tritanopia (blue-blind)
#C3002A
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #b1272a;
/* rgb */ color: rgb(177, 39, 42);
/* oklch */ color: oklch(50.0% 0.174 25.3);
Tailwind
colors: {
  custom: {
    50: '#d16e64',
    500: '#b1272a',
    950: '#000000',
  },
}
SCSS
$custom: #b1272a;
$custom-light: #d16e64;
$custom-dark: #000000;
JSON
{
  "hex": "#b1272a",
  "rgb": {
    "r": 177,
    "g": 39,
    "b": 42
  },
  "hsl": {
    "h": 358.696,
    "s": 63.889,
    "l": 42.353
  },
  "oklch": {
    "l": 0.49973,
    "c": 0.17418,
    "h": 25.3
  },
  "luminance": 0.10965
}

Semantic roles & 50–950 ramp

primary
#B1272A
secondary
#6DC7C5
accent
#E7E341
background
#FEF7F6
surface
#FCEDEB
border
#D5C8C6
text
#160805
muted
#847B7A

Preview Lab

Preview with #B1272A

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

Preview Lab → · Contrast checker → · Palette generator →

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