#B12726#B12726

#B12726 is a mid, vivid red. Relative luminance 0.109; OKLCH L 49.9% C 0.175 H 26.6°. Best body text is #FFFFFF at 6.59:1 contrast (WCAG AA passes).

Color values

HEX#B12726
RGBrgb(177, 39, 38)
HSLhsl(0, 65%, 42%)
HSVhsv(0, 79%, 69%)
CMYKcmyk(0%, 78%, 78.5%, 30.6%)
CIE-LABlab(39.48, 54.28, 35.70)
CIE-LCHlch(39.48, 64.97, 33.33°)
OKLaboklab(49.93% 0.1562 0.0782)
OKLCHoklch(49.93% 0.175 26.6)
XYZxyz(19.2091, 10.9411, 2.9338)
Luminance0.1094 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B12726 #26B0B1
analogous
#B1266A #B12726 #B16D26
triadic
#B12726 #26B127 #2726B1
tetradic
#B12726 #6AB126 #26B0B1 #6D26B1
square
#B12726 #6AB126 #26B0B1 #6D26B1
split-complementary
#B12726 #26B16D #266AB1
monochromatic
#4C1110 #7F1C1B #B12726 #D6403F #E07271

Accessibility & contrast

On white

6.59
#B12726 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#B12726 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B12726
6.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B12726#FFFFFF#000000##FFFFFF
##B127261.006.593.196.59
#FFFFFF6.591.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#524A24
Deuteranopia (green-blind)
#746820
Tritanopia (blue-blind)
#C30029
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #b12726;
/* rgb */ color: rgb(177, 39, 38);
/* oklch */ color: oklch(49.9% 0.175 26.6);
Tailwind
colors: {
  custom: {
    50: '#d16e61',
    500: '#b12726',
    950: '#000000',
  },
}
SCSS
$custom: #b12726;
$custom-light: #d16e61;
$custom-dark: #000000;
JSON
{
  "hex": "#b12726",
  "rgb": {
    "r": 177,
    "g": 39,
    "b": 38
  },
  "hsl": {
    "h": 0.432,
    "s": 64.651,
    "l": 42.157
  },
  "oklch": {
    "l": 0.49925,
    "c": 0.17465,
    "h": 26.6
  },
  "luminance": 0.10938
}

Semantic roles & 50–950 ramp

primary
#B12726
secondary
#6BC7C7
accent
#E6E840
background
#FEF7F5
surface
#FCEDEA
border
#D5C8C6
text
#160805
muted
#847B79

Preview Lab

Preview with #B12726

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

Preview Lab → · Contrast checker → · Palette generator →

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