#B12E40#B12E40

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

Color values

HEX#B12E40
RGBrgb(177, 46, 64)
HSLhsl(352, 59%, 44%)
HSVhsv(352, 74%, 69%)
CMYKcmyk(0%, 74%, 63.8%, 30.6%)
CIE-LABlab(40.69, 53.20, 21.44)
CIE-LCHlch(40.69, 57.36, 21.95°)
OKLaboklab(50.95% 0.1584 0.0515)
OKLCHoklch(50.95% 0.167 18)
XYZxyz(20.0360, 11.6742, 6.0478)
Luminance0.1167 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B12E40 #2EB19F
analogous
#B12E81 #B12E40 #B15D2E
triadic
#B12E40 #40B12E #2E40B1
tetradic
#B12E40 #81B12E #2EB19F #5D2EB1
square
#B12E40 #81B12E #2EB19F #5D2EB1
split-complementary
#B12E40 #2EB15D #2E81B1
monochromatic
#50151D #80212E #B12E40 #D04C5E #DD7C8A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B12E40#FFFFFF#000000##FFFFFF
##B12E401.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)
#524E40
Deuteranopia (green-blind)
#746A3C
Tritanopia (blue-blind)
#C20036
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #b12e40;
/* rgb */ color: rgb(177, 46, 64);
/* oklch */ color: oklch(50.9% 0.167 18.0);
Tailwind
colors: {
  custom: {
    50: '#d07174',
    500: '#b12e40',
    950: '#000000',
  },
}
SCSS
$custom: #b12e40;
$custom-light: #d07174;
$custom-dark: #000000;
JSON
{
  "hex": "#b12e40",
  "rgb": {
    "r": 177,
    "g": 46,
    "b": 64
  },
  "hsl": {
    "h": 351.756,
    "s": 58.744,
    "l": 43.725
  },
  "oklch": {
    "l": 0.50948,
    "c": 0.16653,
    "h": 18
  },
  "luminance": 0.11671
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B12E40

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

Preview Lab → · Contrast checker → · Palette generator →

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