#B1273C#B1273C

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

Color values

HEX#B1273C
RGBrgb(177, 39, 60)
HSLhsl(351, 64%, 42%)
HSVhsv(351, 78%, 69%)
CMYKcmyk(0%, 78%, 66.1%, 30.6%)
CIE-LABlab(39.79, 55.28, 22.78)
CIE-LCHlch(39.79, 59.79, 22.40°)
OKLaboklab(50.26% 0.1642 0.0542)
OKLCHoklch(50.26% 0.173 18.3)
XYZxyz(19.6747, 11.1274, 5.3859)
Luminance0.1112 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B1273C #27B19C
analogous
#B12781 #B1273C #B15727
triadic
#B1273C #3CB127 #273CB1
tetradic
#B1273C #81B127 #27B19C #5727B1
square
#B1273C #81B127 #27B19C #5727B1
split-complementary
#B1273C #27B157 #2781B1
monochromatic
#4D111A #7F1C2B #B1273C #D54057 #E07283

Accessibility & contrast

On white

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

On black

3.22
#B1273C on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##B1273C#FFFFFF#000000##FFFFFF
##B1273C1.006.513.226.51
#FFFFFF6.511.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F4B3C
Deuteranopia (green-blind)
#726838
Tritanopia (blue-blind)
#C20030
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #b1273c;
/* rgb */ color: rgb(177, 39, 60);
/* oklch */ color: oklch(50.3% 0.173 18.3);
Tailwind
colors: {
  custom: {
    50: '#d06e71',
    500: '#b1273c',
    950: '#000000',
  },
}
SCSS
$custom: #b1273c;
$custom-light: #d06e71;
$custom-dark: #000000;
JSON
{
  "hex": "#b1273c",
  "rgb": {
    "r": 177,
    "g": 39,
    "b": 60
  },
  "hsl": {
    "h": 350.87,
    "s": 63.889,
    "l": 42.353
  },
  "oklch": {
    "l": 0.50257,
    "c": 0.1729,
    "h": 18.3
  },
  "luminance": 0.11124
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B1273C

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

Preview Lab → · Contrast checker → · Palette generator →

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