#B1272B#B1272B

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

Color values

HEX#B1272B
RGBrgb(177, 39, 43)
HSLhsl(358, 64%, 42%)
HSVhsv(358, 78%, 69%)
CMYKcmyk(0%, 78%, 75.7%, 30.6%)
CIE-LABlab(39.54, 54.47, 32.85)
CIE-LCHlch(39.54, 63.61, 31.10°)
OKLaboklab(49.99% 0.1578 0.0734)
OKLCHoklch(49.99% 0.174 24.9)
XYZxyz(19.2953, 10.9756, 3.3876)
Luminance0.1097 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B1272B #27B1AD
analogous
#B12770 #B1272B #B16827
triadic
#B1272B #2BB127 #272BB1
tetradic
#B1272B #70B127 #27B1AD #6827B1
square
#B1272B #70B127 #27B1AD #6827B1
split-complementary
#B1272B #27B168 #2770B1
monochromatic
#4D1113 #7F1C1F #B1272B #D54045 #E07276

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B1272B#FFFFFF#000000##FFFFFF
##B1272B1.006.573.196.57
#FFFFFF6.571.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.571.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b1272b;
/* rgb */ color: rgb(177, 39, 43);
/* oklch */ color: oklch(50.0% 0.174 24.9);
Tailwind
colors: {
  custom: {
    50: '#d16e64',
    500: '#b1272b',
    950: '#000000',
  },
}
SCSS
$custom: #b1272b;
$custom-light: #d16e64;
$custom-dark: #000000;
JSON
{
  "hex": "#b1272b",
  "rgb": {
    "r": 177,
    "g": 39,
    "b": 43
  },
  "hsl": {
    "h": 358.261,
    "s": 63.889,
    "l": 42.353
  },
  "oklch": {
    "l": 0.49986,
    "c": 0.17407,
    "h": 24.9
  },
  "luminance": 0.10973
}

Semantic roles & 50–950 ramp

primary
#B1272B
secondary
#6DC7C4
accent
#E7E241
background
#FEF7F6
surface
#FCEDEB
border
#D5C8C6
text
#160805
muted
#847B7A

Preview Lab

Preview with #B1272B

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

Preview Lab → · Contrast checker → · Palette generator →

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