#B1273F#B1273F

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

Color values

HEX#B1273F
RGBrgb(177, 39, 63)
HSLhsl(350, 64%, 42%)
HSVhsv(350, 78%, 69%)
CMYKcmyk(0%, 78%, 64.4%, 30.6%)
CIE-LABlab(39.85, 55.46, 20.97)
CIE-LCHlch(39.85, 59.29, 20.72°)
OKLaboklab(50.32% 0.1654 0.0504)
OKLCHoklch(50.32% 0.173 16.9)
XYZxyz(19.7563, 11.1600, 5.8155)
Luminance0.1116 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B1273F #27B199
analogous
#B12784 #B1273F #B15427
triadic
#B1273F #3FB127 #273FB1
tetradic
#B1273F #84B127 #27B199 #5427B1
square
#B1273F #84B127 #27B199 #5427B1
split-complementary
#B1273F #27B154 #2784B1
monochromatic
#4D111B #7F1C2D #B1273F #D5405A #E07285

Accessibility & contrast

On white

6.50
#B1273F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B1273F
6.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B1273F#FFFFFF#000000##FFFFFF
##B1273F1.006.503.236.50
#FFFFFF6.501.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F4B3F
Deuteranopia (green-blind)
#72683B
Tritanopia (blue-blind)
#C20031
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #b1273f;
/* rgb */ color: rgb(177, 39, 63);
/* oklch */ color: oklch(50.3% 0.173 16.9);
Tailwind
colors: {
  custom: {
    50: '#d06e73',
    500: '#b1273f',
    950: '#000000',
  },
}
SCSS
$custom: #b1273f;
$custom-light: #d06e73;
$custom-dark: #000000;
JSON
{
  "hex": "#b1273f",
  "rgb": {
    "r": 177,
    "g": 39,
    "b": 63
  },
  "hsl": {
    "h": 349.565,
    "s": 63.889,
    "l": 42.353
  },
  "oklch": {
    "l": 0.50315,
    "c": 0.17288,
    "h": 16.9
  },
  "luminance": 0.11157
}

Semantic roles & 50–950 ramp

primary
#B1273F
secondary
#6DC7B7
accent
#E7CA41
background
#FDF7F7
surface
#FBEDED
border
#D4C8C8
text
#150808
muted
#837B7B

Preview Lab

Preview with #B1273F

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

Preview Lab → · Contrast checker → · Palette generator →

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