#B12528#B12528

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

Color values

HEX#B12528
RGBrgb(177, 37, 40)
HSLhsl(359, 65%, 42%)
HSVhsv(359, 79%, 69%)
CMYKcmyk(0%, 79.1%, 77.4%, 30.6%)
CIE-LABlab(39.29, 54.96, 34.34)
CIE-LCHlch(39.29, 64.81, 32.00°)
OKLaboklab(49.79% 0.1587 0.0758)
OKLCHoklch(49.79% 0.176 25.5)
XYZxyz(19.1783, 10.8265, 3.0870)
Luminance0.1082 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B12528 #25B1AE
analogous
#B1256E #B12528 #B16825
triadic
#B12528 #28B125 #2528B1
tetradic
#B12528 #6EB125 #25B1AE #6825B1
square
#B12528 #6EB125 #25B1AE #6825B1
split-complementary
#B12528 #25B168 #256EB1
monochromatic
#4C1011 #7E1A1D #B12528 #D63D40 #E16F72

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B12528#FFFFFF#000000##FFFFFF
##B125281.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)
#514926
Deuteranopia (green-blind)
#736722
Tritanopia (blue-blind)
#C30028
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #b12528;
/* rgb */ color: rgb(177, 37, 40);
/* oklch */ color: oklch(49.8% 0.176 25.5);
Tailwind
colors: {
  custom: {
    50: '#d16d62',
    500: '#b12528',
    950: '#000000',
  },
}
SCSS
$custom: #b12528;
$custom-light: #d16d62;
$custom-dark: #000000;
JSON
{
  "hex": "#b12528",
  "rgb": {
    "r": 177,
    "g": 37,
    "b": 40
  },
  "hsl": {
    "h": 358.714,
    "s": 65.421,
    "l": 41.961
  },
  "oklch": {
    "l": 0.49787,
    "c": 0.17592,
    "h": 25.5
  },
  "luminance": 0.10823
}

Semantic roles & 50–950 ramp

primary
#B12528
secondary
#6AC8C6
accent
#E8E53F
background
#FEF7F5
surface
#FCEDEA
border
#D5C8C6
text
#160805
muted
#847B79

Preview Lab

Preview with #B12528

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

Preview Lab → · Contrast checker → · Palette generator →

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