#B12A23#B12A23

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

Color values

HEX#B12A23
RGBrgb(177, 42, 35)
HSLhsl(3, 67%, 42%)
HSVhsv(3, 80%, 69%)
CMYKcmyk(0%, 76.3%, 80.2%, 30.6%)
CIE-LABlab(39.79, 53.21, 37.71)
CIE-LCHlch(39.79, 65.22, 35.32°)
OKLaboklab(50.15% 0.1522 0.0816)
OKLCHoklch(50.15% 0.173 28.2)
XYZxyz(19.2651, 11.1274, 2.7232)
Luminance0.1112 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B12A23 #23AAB1
analogous
#B12363 #B12A23 #B17123
triadic
#B12A23 #23B12A #2A23B1
tetradic
#B12A23 #63B123 #23AAB1 #7123B1
square
#B12A23 #63B123 #23AAB1 #7123B1
split-complementary
#B12A23 #23B171 #2363B1
monochromatic
#4B120F #7E1E19 #B12A23 #D84139 #E2726C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B12A23#FFFFFF#000000##FFFFFF
##B12A231.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)
#544B21
Deuteranopia (green-blind)
#75681D
Tritanopia (blue-blind)
#C3002A
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #b12a23;
/* rgb */ color: rgb(177, 42, 35);
/* oklch */ color: oklch(50.1% 0.173 28.2);
Tailwind
colors: {
  custom: {
    50: '#d26f5f',
    500: '#b12a23',
    950: '#000000',
  },
}
SCSS
$custom: #b12a23;
$custom-light: #d26f5f;
$custom-dark: #000000;
JSON
{
  "hex": "#b12a23",
  "rgb": {
    "r": 177,
    "g": 42,
    "b": 35
  },
  "hsl": {
    "h": 2.958,
    "s": 66.981,
    "l": 41.569
  },
  "oklch": {
    "l": 0.50148,
    "c": 0.1727,
    "h": 28.2
  },
  "luminance": 0.11124
}

Semantic roles & 50–950 ramp

primary
#B12A23
secondary
#68C3C8
accent
#E1EA3E
background
#FEF7F5
surface
#FCEDE9
border
#D5C8C5
text
#160804
muted
#847B79

Preview Lab

Preview with #B12A23

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

Preview Lab → · Contrast checker → · Palette generator →

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