#B12E3F#B12E3F

#B12E3F is a mid, vivid red. Relative luminance 0.117; OKLCH L 50.9% C 0.167 H 18.5°. Best body text is #FFFFFF at 6.30:1 contrast (WCAG AA passes).

Color values

HEX#B12E3F
RGBrgb(177, 46, 63)
HSLhsl(352, 59%, 44%)
HSVhsv(352, 74%, 69%)
CMYKcmyk(0%, 74%, 64.4%, 30.6%)
CIE-LABlab(40.68, 53.14, 22.04)
CIE-LCHlch(40.68, 57.53, 22.52°)
OKLaboklab(50.93% 0.158 0.0528)
OKLCHoklch(50.93% 0.167 18.5)
XYZxyz(20.0078, 11.6629, 5.8993)
Luminance0.1166 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B12E3F #2EB1A0
analogous
#B12E80 #B12E3F #B15E2E
triadic
#B12E3F #3FB12E #2E3FB1
tetradic
#B12E3F #80B12E #2EB1A0 #5E2EB1
square
#B12E3F #80B12E #2EB1A0 #5E2EB1
split-complementary
#B12E3F #2EB15E #2E80B1
monochromatic
#50151C #80212E #B12E3F #D04C5D #DD7C89

Accessibility & contrast

On white

6.30
#B12E3F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#B12E3F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B12E3F
6.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B12E3F#FFFFFF#000000##FFFFFF
##B12E3F1.006.303.336.30
#FFFFFF6.301.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#534E3F
Deuteranopia (green-blind)
#746A3B
Tritanopia (blue-blind)
#C20035
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #b12e3f;
/* rgb */ color: rgb(177, 46, 63);
/* oklch */ color: oklch(50.9% 0.167 18.5);
Tailwind
colors: {
  custom: {
    50: '#d07173',
    500: '#b12e3f',
    950: '#000000',
  },
}
SCSS
$custom: #b12e3f;
$custom-light: #d07173;
$custom-dark: #000000;
JSON
{
  "hex": "#b12e3f",
  "rgb": {
    "r": 177,
    "g": 46,
    "b": 63
  },
  "hsl": {
    "h": 352.214,
    "s": 58.744,
    "l": 43.725
  },
  "oklch": {
    "l": 0.50928,
    "c": 0.16656,
    "h": 18.5
  },
  "luminance": 0.1166
}

Semantic roles & 50–950 ramp

primary
#B12E3F
secondary
#75C6BB
accent
#E2CE46
background
#FDF7F7
surface
#FBEDED
border
#D4C8C8
text
#150808
muted
#837B7B

Preview Lab

Preview with #B12E3F

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

Preview Lab → · Contrast checker → · Palette generator →

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