#B1272D#B1272D

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

Color values

HEX#B1272D
RGBrgb(177, 39, 45)
HSLhsl(357, 64%, 42%)
HSVhsv(357, 78%, 69%)
CMYKcmyk(0%, 78%, 74.6%, 30.6%)
CIE-LABlab(39.56, 54.55, 31.70)
CIE-LCHlch(39.56, 63.09, 30.16°)
OKLaboklab(50.01% 0.1585 0.0714)
OKLCHoklch(50.01% 0.174 24.2)
XYZxyz(19.3329, 10.9907, 3.5856)
Luminance0.1099 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B1272D #27B1AB
analogous
#B12772 #B1272D #B16627
triadic
#B1272D #2DB127 #272DB1
tetradic
#B1272D #72B127 #27B1AB #6627B1
square
#B1272D #72B127 #27B1AB #6627B1
split-complementary
#B1272D #27B166 #2772B1
monochromatic
#4D1114 #7F1C20 #B1272D #D54047 #E07277

Accessibility & contrast

On white

6.57
#B1272D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B1272D
6.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B1272D#FFFFFF#000000##FFFFFF
##B1272D1.006.573.206.57
#FFFFFF6.571.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.571.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b1272d;
/* rgb */ color: rgb(177, 39, 45);
/* oklch */ color: oklch(50.0% 0.174 24.2);
Tailwind
colors: {
  custom: {
    50: '#d16e66',
    500: '#b1272d',
    950: '#000000',
  },
}
SCSS
$custom: #b1272d;
$custom-light: #d16e66;
$custom-dark: #000000;
JSON
{
  "hex": "#b1272d",
  "rgb": {
    "r": 177,
    "g": 39,
    "b": 45
  },
  "hsl": {
    "h": 357.391,
    "s": 63.889,
    "l": 42.353
  },
  "oklch": {
    "l": 0.50013,
    "c": 0.17386,
    "h": 24.2
  },
  "luminance": 0.10988
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B1272D

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

Preview Lab → · Contrast checker → · Palette generator →

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