#B1272F#B1272F

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

Color values

HEX#B1272F
RGBrgb(177, 39, 47)
HSLhsl(357, 64%, 42%)
HSVhsv(357, 78%, 69%)
CMYKcmyk(0%, 78%, 73.4%, 30.6%)
CIE-LABlab(39.59, 54.63, 30.53)
CIE-LCHlch(39.59, 62.58, 29.19°)
OKLaboklab(50.04% 0.1593 0.0692)
OKLCHoklch(50.04% 0.174 23.5)
XYZxyz(19.3723, 11.0064, 3.7932)
Luminance0.1100 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B1272F #27B1A9
analogous
#B12774 #B1272F #B16427
triadic
#B1272F #2FB127 #272FB1
tetradic
#B1272F #74B127 #27B1A9 #6427B1
square
#B1272F #74B127 #27B1A9 #6427B1
split-complementary
#B1272F #27B164 #2774B1
monochromatic
#4D1114 #7F1C22 #B1272F #D54049 #E07279

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B1272F#FFFFFF#000000##FFFFFF
##B1272F1.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)
#514A2E
Deuteranopia (green-blind)
#73682A
Tritanopia (blue-blind)
#C3002C
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #b1272f;
/* rgb */ color: rgb(177, 39, 47);
/* oklch */ color: oklch(50.0% 0.174 23.5);
Tailwind
colors: {
  custom: {
    50: '#d16e67',
    500: '#b1272f',
    950: '#000000',
  },
}
SCSS
$custom: #b1272f;
$custom-light: #d16e67;
$custom-dark: #000000;
JSON
{
  "hex": "#b1272f",
  "rgb": {
    "r": 177,
    "g": 39,
    "b": 47
  },
  "hsl": {
    "h": 356.522,
    "s": 63.889,
    "l": 42.353
  },
  "oklch": {
    "l": 0.50042,
    "c": 0.17366,
    "h": 23.5
  },
  "luminance": 0.11003
}

Semantic roles & 50–950 ramp

primary
#B1272F
secondary
#6DC7C2
accent
#E7DD41
background
#FEF7F6
surface
#FCEDEB
border
#D5C8C6
text
#160806
muted
#847B7A

Preview Lab

Preview with #B1272F

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

Preview Lab → · Contrast checker → · Palette generator →

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