#B12E2C#B12E2C

#B12E2C is a mid, vivid red. Relative luminance 0.115; OKLCH L 50.6% C 0.168 H 26.3°. Best body text is #FFFFFF at 6.37:1 contrast (WCAG AA passes).

Color values

HEX#B12E2C
RGBrgb(177, 46, 44)
HSLhsl(1, 60%, 43%)
HSVhsv(1, 75%, 69%)
CMYKcmyk(0%, 74%, 75.1%, 30.6%)
CIE-LABlab(40.39, 52.18, 33.21)
CIE-LCHlch(40.39, 61.85, 32.48°)
OKLaboklab(50.62% 0.1508 0.0744)
OKLCHoklch(50.62% 0.168 26.3)
XYZxyz(19.5653, 11.4860, 3.5692)
Luminance0.1148 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B12E2C #2CAFB1
analogous
#B12C6C #B12E2C #B1702C
triadic
#B12E2C #2CB12E #2E2CB1
tetradic
#B12E2C #6CB12C #2CAFB1 #702CB1
square
#B12E2C #6CB12C #2CAFB1 #702CB1
split-complementary
#B12E2C #2CB170 #2C6CB1
monochromatic
#4F1514 #802120 #B12E2C #D24B49 #DE7B7A

Accessibility & contrast

On white

6.37
#B12E2C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#B12E2C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B12E2C
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B12E2C#FFFFFF#000000##FFFFFF
##B12E2C1.006.373.306.37
#FFFFFF6.371.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#554D2A
Deuteranopia (green-blind)
#756A27
Tritanopia (blue-blind)
#C3002F
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #b12e2c;
/* rgb */ color: rgb(177, 46, 44);
/* oklch */ color: oklch(50.6% 0.168 26.3);
Tailwind
colors: {
  custom: {
    50: '#d17165',
    500: '#b12e2c',
    950: '#000000',
  },
}
SCSS
$custom: #b12e2c;
$custom-light: #d17165;
$custom-dark: #000000;
JSON
{
  "hex": "#b12e2c",
  "rgb": {
    "r": 177,
    "g": 46,
    "b": 44
  },
  "hsl": {
    "h": 0.902,
    "s": 60.181,
    "l": 43.333
  },
  "oklch": {
    "l": 0.50621,
    "c": 0.16817,
    "h": 26.3
  },
  "luminance": 0.11483
}

Semantic roles & 50–950 ramp

primary
#B12E2C
secondary
#73C5C6
accent
#E1E344
background
#FEF7F6
surface
#FCEDEB
border
#D5C8C6
text
#160806
muted
#847B7A

Preview Lab

Preview with #B12E2C

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

Preview Lab → · Contrast checker → · Palette generator →

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