#B1273D#B1273D

#B1273D is a mid, vivid red. Relative luminance 0.111; OKLCH L 50.3% C 0.173 H 17.8°. Best body text is #FFFFFF at 6.51:1 contrast (WCAG AA passes).

Color values

HEX#B1273D
RGBrgb(177, 39, 61)
HSLhsl(350, 64%, 42%)
HSVhsv(350, 78%, 69%)
CMYKcmyk(0%, 78%, 65.5%, 30.6%)
CIE-LABlab(39.81, 55.34, 22.18)
CIE-LCHlch(39.81, 59.62, 21.84°)
OKLaboklab(50.28% 0.1646 0.0529)
OKLCHoklch(50.28% 0.173 17.8)
XYZxyz(19.7014, 11.1381, 5.5265)
Luminance0.1114 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B1273D #27B19B
analogous
#B12782 #B1273D #B15627
triadic
#B1273D #3DB127 #273DB1
tetradic
#B1273D #82B127 #27B19B #5627B1
square
#B1273D #82B127 #27B19B #5627B1
split-complementary
#B1273D #27B156 #2782B1
monochromatic
#4D111A #7F1C2C #B1273D #D54058 #E07284

Accessibility & contrast

On white

6.51
#B1273D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#B1273D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B1273D
6.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B1273D#FFFFFF#000000##FFFFFF
##B1273D1.006.513.236.51
#FFFFFF6.511.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F4B3D
Deuteranopia (green-blind)
#726839
Tritanopia (blue-blind)
#C20031
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #b1273d;
/* rgb */ color: rgb(177, 39, 61);
/* oklch */ color: oklch(50.3% 0.173 17.8);
Tailwind
colors: {
  custom: {
    50: '#d06e72',
    500: '#b1273d',
    950: '#000000',
  },
}
SCSS
$custom: #b1273d;
$custom-light: #d06e72;
$custom-dark: #000000;
JSON
{
  "hex": "#b1273d",
  "rgb": {
    "r": 177,
    "g": 39,
    "b": 61
  },
  "hsl": {
    "h": 350.435,
    "s": 63.889,
    "l": 42.353
  },
  "oklch": {
    "l": 0.50276,
    "c": 0.17288,
    "h": 17.8
  },
  "luminance": 0.11135
}

Semantic roles & 50–950 ramp

primary
#B1273D
secondary
#6DC7B9
accent
#E7CC41
background
#FDF7F6
surface
#FBEDEC
border
#D4C8C7
text
#150807
muted
#837B7A

Preview Lab

Preview with #B1273D

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

Preview Lab → · Contrast checker → · Palette generator →

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