#B1273B#B1273B

#B1273B is a mid, vivid red. Relative luminance 0.111; OKLCH L 50.2% C 0.173 H 18.7°. Best body text is #FFFFFF at 6.52:1 contrast (WCAG AA passes).

Color values

HEX#B1273B
RGBrgb(177, 39, 59)
HSLhsl(351, 64%, 42%)
HSVhsv(351, 78%, 69%)
CMYKcmyk(0%, 78%, 66.7%, 30.6%)
CIE-LABlab(39.78, 55.23, 23.38)
CIE-LCHlch(39.78, 59.97, 22.95°)
OKLaboklab(50.24% 0.1638 0.0554)
OKLCHoklch(50.24% 0.173 18.7)
XYZxyz(19.6486, 11.1169, 5.2480)
Luminance0.1111 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B1273B #27B19D
analogous
#B12780 #B1273B #B15827
triadic
#B1273B #3BB127 #273BB1
tetradic
#B1273B #80B127 #27B19D #5827B1
square
#B1273B #80B127 #27B19D #5827B1
split-complementary
#B1273B #27B158 #2780B1
monochromatic
#4D111A #7F1C2A #B1273B #D54056 #E07282

Accessibility & contrast

On white

6.52
#B1273B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#B1273B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B1273B
6.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B1273B#FFFFFF#000000##FFFFFF
##B1273B1.006.523.226.52
#FFFFFF6.521.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#504B3B
Deuteranopia (green-blind)
#726837
Tritanopia (blue-blind)
#C30030
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #b1273b;
/* rgb */ color: rgb(177, 39, 59);
/* oklch */ color: oklch(50.2% 0.173 18.7);
Tailwind
colors: {
  custom: {
    50: '#d06e70',
    500: '#b1273b',
    950: '#000000',
  },
}
SCSS
$custom: #b1273b;
$custom-light: #d06e70;
$custom-dark: #000000;
JSON
{
  "hex": "#b1273b",
  "rgb": {
    "r": 177,
    "g": 39,
    "b": 59
  },
  "hsl": {
    "h": 351.304,
    "s": 63.889,
    "l": 42.353
  },
  "oklch": {
    "l": 0.50239,
    "c": 0.17291,
    "h": 18.7
  },
  "luminance": 0.11114
}

Semantic roles & 50–950 ramp

primary
#B1273B
secondary
#6DC7BA
accent
#E7CF41
background
#FDF7F6
surface
#FBEDEC
border
#D4C8C7
text
#150807
muted
#837B7A

Preview Lab

Preview with #B1273B

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

Preview Lab → · Contrast checker → · Palette generator →

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