#B12E23#B12E23

#B12E23 is a mid, vivid red. Relative luminance 0.114; OKLCH L 50.5% C 0.169 H 29.2°. Best body text is #FFFFFF at 6.39:1 contrast (WCAG AA passes).

Color values

HEX#B12E23
RGBrgb(177, 46, 35)
HSLhsl(5, 67%, 42%)
HSVhsv(5, 80%, 69%)
CMYKcmyk(0%, 74%, 80.2%, 30.6%)
CIE-LABlab(40.29, 51.84, 38.21)
CIE-LCHlch(40.29, 64.40, 36.39°)
OKLaboklab(50.52% 0.1479 0.0827)
OKLCHoklch(50.52% 0.169 29.2)
XYZxyz(19.4141, 11.4255, 2.7729)
Luminance0.1142 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B12E23 #23A6B1
analogous
#B1235F #B12E23 #B17523
triadic
#B12E23 #23B12E #2E23B1
tetradic
#B12E23 #5FB123 #23A6B1 #7523B1
square
#B12E23 #5FB123 #23A6B1 #7523B1
split-complementary
#B12E23 #23B175 #235FB1
monochromatic
#4B130F #7E2119 #B12E23 #D84639 #E2766C

Accessibility & contrast

On white

6.39
#B12E23 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#B12E23 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B12E23
6.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B12E23#FFFFFF#000000##FFFFFF
##B12E231.006.393.286.39
#FFFFFF6.391.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#564D20
Deuteranopia (green-blind)
#76691D
Tritanopia (blue-blind)
#C3002D
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #b12e23;
/* rgb */ color: rgb(177, 46, 35);
/* oklch */ color: oklch(50.5% 0.169 29.2);
Tailwind
colors: {
  custom: {
    50: '#d1715f',
    500: '#b12e23',
    950: '#000000',
  },
}
SCSS
$custom: #b12e23;
$custom-light: #d1715f;
$custom-dark: #000000;
JSON
{
  "hex": "#b12e23",
  "rgb": {
    "r": 177,
    "g": 46,
    "b": 35
  },
  "hsl": {
    "h": 4.648,
    "s": 66.981,
    "l": 41.569
  },
  "oklch": {
    "l": 0.50516,
    "c": 0.16944,
    "h": 29.2
  },
  "luminance": 0.11422
}

Semantic roles & 50–950 ramp

primary
#B12E23
secondary
#68C1C8
accent
#DDEA3E
background
#FEF7F5
surface
#FCEDE9
border
#D5C8C5
text
#160804
muted
#847B79

Preview Lab

Preview with #B12E23

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

Preview Lab → · Contrast checker → · Palette generator →

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