#B1272C#B1272C

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

Color values

HEX#B1272C
RGBrgb(177, 39, 44)
HSLhsl(358, 64%, 42%)
HSVhsv(358, 78%, 69%)
CMYKcmyk(0%, 78%, 75.1%, 30.6%)
CIE-LABlab(39.55, 54.51, 32.28)
CIE-LCHlch(39.55, 63.35, 30.63°)
OKLaboklab(50% 0.1582 0.0724)
OKLCHoklch(50% 0.174 24.6)
XYZxyz(19.3139, 10.9830, 3.4854)
Luminance0.1098 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B1272C #27B1AC
analogous
#B12771 #B1272C #B16727
triadic
#B1272C #2CB127 #272CB1
tetradic
#B1272C #71B127 #27B1AC #6727B1
square
#B1272C #71B127 #27B1AC #6727B1
split-complementary
#B1272C #27B167 #2771B1
monochromatic
#4D1113 #7F1C20 #B1272C #D54046 #E07276

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B1272C#FFFFFF#000000##FFFFFF
##B1272C1.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)
#514A2B
Deuteranopia (green-blind)
#746827
Tritanopia (blue-blind)
#C3002B
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #b1272c;
/* rgb */ color: rgb(177, 39, 44);
/* oklch */ color: oklch(50.0% 0.174 24.6);
Tailwind
colors: {
  custom: {
    50: '#d16e65',
    500: '#b1272c',
    950: '#000000',
  },
}
SCSS
$custom: #b1272c;
$custom-light: #d16e65;
$custom-dark: #000000;
JSON
{
  "hex": "#b1272c",
  "rgb": {
    "r": 177,
    "g": 39,
    "b": 44
  },
  "hsl": {
    "h": 357.826,
    "s": 63.889,
    "l": 42.353
  },
  "oklch": {
    "l": 0.5,
    "c": 0.17396,
    "h": 24.6
  },
  "luminance": 0.1098
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B1272C

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

Preview Lab → · Contrast checker → · Palette generator →

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