#B12526#B12526

#B12526 is a mid, vivid red. Relative luminance 0.108; OKLCH L 49.8% C 0.176 H 26.2°. Best body text is #FFFFFF at 6.64:1 contrast (WCAG AA passes).

Color values

HEX#B12526
RGBrgb(177, 37, 38)
HSLhsl(360, 65%, 42%)
HSVhsv(360, 79%, 69%)
CMYKcmyk(0%, 79.1%, 78.5%, 30.6%)
CIE-LABlab(39.26, 54.89, 35.47)
CIE-LCHlch(39.26, 65.35, 32.87°)
OKLaboklab(49.76% 0.1581 0.0777)
OKLCHoklch(49.76% 0.176 26.2)
XYZxyz(19.1452, 10.8133, 2.9125)
Luminance0.1081 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B12526 #25B1B0
analogous
#B1256C #B12526 #B16A25
triadic
#B12526 #26B125 #2526B1
tetradic
#B12526 #6CB125 #25B1B0 #6A25B1
square
#B12526 #6CB125 #25B1B0 #6A25B1
split-complementary
#B12526 #25B16A #256CB1
monochromatic
#4C1010 #7E1A1B #B12526 #D63D3E #E16F70

Accessibility & contrast

On white

6.64
#B12526 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#B12526 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B12526
6.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B12526#FFFFFF#000000##FFFFFF
##B125261.006.643.166.64
#FFFFFF6.641.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#514924
Deuteranopia (green-blind)
#736720
Tritanopia (blue-blind)
#C30028
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #b12526;
/* rgb */ color: rgb(177, 37, 38);
/* oklch */ color: oklch(49.8% 0.176 26.2);
Tailwind
colors: {
  custom: {
    50: '#d26d61',
    500: '#b12526',
    950: '#000000',
  },
}
SCSS
$custom: #b12526;
$custom-light: #d26d61;
$custom-dark: #000000;
JSON
{
  "hex": "#b12526",
  "rgb": {
    "r": 177,
    "g": 37,
    "b": 38
  },
  "hsl": {
    "h": 359.571,
    "s": 65.421,
    "l": 41.961
  },
  "oklch": {
    "l": 0.49763,
    "c": 0.17615,
    "h": 26.2
  },
  "luminance": 0.1081
}

Semantic roles & 50–950 ramp

primary
#B12526
secondary
#6AC8C7
accent
#E8E73F
background
#FEF7F5
surface
#FCEDE9
border
#D5C8C5
text
#160805
muted
#847B79

Preview Lab

Preview with #B12526

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

Preview Lab → · Contrast checker → · Palette generator →

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