#B1272E#B1272E

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

Color values

HEX#B1272E
RGBrgb(177, 39, 46)
HSLhsl(357, 64%, 42%)
HSVhsv(357, 78%, 69%)
CMYKcmyk(0%, 78%, 74%, 30.6%)
CIE-LABlab(39.58, 54.59, 31.11)
CIE-LCHlch(39.58, 62.83, 29.68°)
OKLaboklab(50.03% 0.1589 0.0703)
OKLCHoklch(50.03% 0.174 23.9)
XYZxyz(19.3524, 10.9984, 3.6882)
Luminance0.1100 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B1272E #27B1AA
analogous
#B12773 #B1272E #B16527
triadic
#B1272E #2EB127 #272EB1
tetradic
#B1272E #73B127 #27B1AA #6527B1
square
#B1272E #73B127 #27B1AA #6527B1
split-complementary
#B1272E #27B165 #2773B1
monochromatic
#4D1114 #7F1C21 #B1272E #D54048 #E07278

Accessibility & contrast

On white

6.56
#B1272E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#B1272E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B1272E
6.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B1272E#FFFFFF#000000##FFFFFF
##B1272E1.006.563.206.56
#FFFFFF6.561.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#514A2D
Deuteranopia (green-blind)
#736829
Tritanopia (blue-blind)
#C3002B
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #b1272e;
/* rgb */ color: rgb(177, 39, 46);
/* oklch */ color: oklch(50.0% 0.174 23.9);
Tailwind
colors: {
  custom: {
    50: '#d16e67',
    500: '#b1272e',
    950: '#000000',
  },
}
SCSS
$custom: #b1272e;
$custom-light: #d16e67;
$custom-dark: #000000;
JSON
{
  "hex": "#b1272e",
  "rgb": {
    "r": 177,
    "g": 39,
    "b": 46
  },
  "hsl": {
    "h": 356.957,
    "s": 63.889,
    "l": 42.353
  },
  "oklch": {
    "l": 0.50027,
    "c": 0.17376,
    "h": 23.9
  },
  "luminance": 0.10995
}

Semantic roles & 50–950 ramp

primary
#B1272E
secondary
#6DC7C3
accent
#E7DE41
background
#FEF7F6
surface
#FCEDEB
border
#D5C8C6
text
#160806
muted
#847B7A

Preview Lab

Preview with #B1272E

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

Preview Lab → · Contrast checker → · Palette generator →

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