#B12A3E#B12A3E

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

Color values

HEX#B12A3E
RGBrgb(177, 42, 62)
HSLhsl(351, 62%, 43%)
HSVhsv(351, 76%, 69%)
CMYKcmyk(0%, 76.3%, 65%, 30.6%)
CIE-LABlab(40.17, 54.44, 22.01)
CIE-LCHlch(40.17, 58.72, 22.01°)
OKLaboklab(50.55% 0.1619 0.0526)
OKLCHoklch(50.55% 0.17 18)
XYZxyz(19.8311, 11.3538, 5.7038)
Luminance0.1135 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B12A3E #2AB19D
analogous
#B12A81 #B12A3E #B1592A
triadic
#B12A3E #3EB12A #2A3EB1
tetradic
#B12A3E #81B12A #2AB19D #592AB1
square
#B12A3E #81B12A #2AB19D #592AB1
split-complementary
#B12A3E #2AB159 #2A81B1
monochromatic
#4E131B #801E2D #B12A3E #D3455A #DF7786

Accessibility & contrast

On white

6.42
#B12A3E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#B12A3E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B12A3E
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B12A3E#FFFFFF#000000##FFFFFF
##B12A3E1.006.423.276.42
#FFFFFF6.421.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#514D3E
Deuteranopia (green-blind)
#73693A
Tritanopia (blue-blind)
#C20033
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #b12a3e;
/* rgb */ color: rgb(177, 42, 62);
/* oklch */ color: oklch(50.5% 0.170 18.0);
Tailwind
colors: {
  custom: {
    50: '#d06f73',
    500: '#b12a3e',
    950: '#000000',
  },
}
SCSS
$custom: #b12a3e;
$custom-light: #d06f73;
$custom-dark: #000000;
JSON
{
  "hex": "#b12a3e",
  "rgb": {
    "r": 177,
    "g": 42,
    "b": 62
  },
  "hsl": {
    "h": 351.111,
    "s": 61.644,
    "l": 42.941
  },
  "oklch": {
    "l": 0.50547,
    "c": 0.17026,
    "h": 18
  },
  "luminance": 0.11351
}

Semantic roles & 50–950 ramp

primary
#B12A3E
secondary
#70C6BA
accent
#E5CD43
background
#FDF7F6
surface
#FBEDEC
border
#D4C8C7
text
#150808
muted
#837B7B

Preview Lab

Preview with #B12A3E

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

Preview Lab → · Contrast checker → · Palette generator →

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