#B12E24#B12E24

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

Color values

HEX#B12E24
RGBrgb(177, 46, 36)
HSLhsl(4, 66%, 42%)
HSVhsv(4, 80%, 69%)
CMYKcmyk(0%, 74%, 79.7%, 30.6%)
CIE-LABlab(40.30, 51.88, 37.67)
CIE-LCHlch(40.30, 64.11, 35.98°)
OKLaboklab(50.53% 0.1482 0.0819)
OKLCHoklch(50.53% 0.169 28.9)
XYZxyz(19.4292, 11.4315, 2.8522)
Luminance0.1143 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B12E24 #24A7B1
analogous
#B12461 #B12E24 #B17524
triadic
#B12E24 #24B12E #2E24B1
tetradic
#B12E24 #61B124 #24A7B1 #7524B1
square
#B12E24 #61B124 #24A7B1 #7524B1
split-complementary
#B12E24 #24B175 #2461B1
monochromatic
#4B140F #7E211A #B12E24 #D7463B #E1766E

Accessibility & contrast

On white

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

On black

3.29
#B12E24 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##B12E24#FFFFFF#000000##FFFFFF
##B12E241.006.393.296.39
#FFFFFF6.391.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.391.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b12e24;
/* rgb */ color: rgb(177, 46, 36);
/* oklch */ color: oklch(50.5% 0.169 28.9);
Tailwind
colors: {
  custom: {
    50: '#d17160',
    500: '#b12e24',
    950: '#000000',
  },
}
SCSS
$custom: #b12e24;
$custom-light: #d17160;
$custom-dark: #000000;
JSON
{
  "hex": "#b12e24",
  "rgb": {
    "r": 177,
    "g": 46,
    "b": 36
  },
  "hsl": {
    "h": 4.255,
    "s": 66.197,
    "l": 41.765
  },
  "oklch": {
    "l": 0.50526,
    "c": 0.1693,
    "h": 28.9
  },
  "luminance": 0.11428
}

Semantic roles & 50–950 ramp

primary
#B12E24
secondary
#69C1C8
accent
#DDE93F
background
#FEF7F5
surface
#FCEDE9
border
#D5C8C5
text
#160805
muted
#847B79

Preview Lab

Preview with #B12E24

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

Preview Lab → · Contrast checker → · Palette generator →

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