#B12A3F#B12A3F

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

Color values

HEX#B12A3F
RGBrgb(177, 42, 63)
HSLhsl(351, 62%, 43%)
HSVhsv(351, 76%, 69%)
CMYKcmyk(0%, 76.3%, 64.4%, 30.6%)
CIE-LABlab(40.19, 54.50, 21.41)
CIE-LCHlch(40.19, 58.56, 21.45°)
OKLaboklab(50.57% 0.1623 0.0514)
OKLCHoklch(50.57% 0.17 17.6)
XYZxyz(19.8587, 11.3649, 5.8496)
Luminance0.1136 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B12A3F #2AB19C
analogous
#B12A82 #B12A3F #B1592A
triadic
#B12A3F #3FB12A #2A3FB1
tetradic
#B12A3F #82B12A #2AB19C #592AB1
square
#B12A3F #82B12A #2AB19C #592AB1
split-complementary
#B12A3F #2AB159 #2A82B1
monochromatic
#4E131C #801E2D #B12A3F #D3455B #DF7787

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B12A3F#FFFFFF#000000##FFFFFF
##B12A3F1.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)
#504D3F
Deuteranopia (green-blind)
#73693B
Tritanopia (blue-blind)
#C20033
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #b12a3f;
/* rgb */ color: rgb(177, 42, 63);
/* oklch */ color: oklch(50.6% 0.170 17.6);
Tailwind
colors: {
  custom: {
    50: '#d07073',
    500: '#b12a3f',
    950: '#000000',
  },
}
SCSS
$custom: #b12a3f;
$custom-light: #d07073;
$custom-dark: #000000;
JSON
{
  "hex": "#b12a3f",
  "rgb": {
    "r": 177,
    "g": 42,
    "b": 63
  },
  "hsl": {
    "h": 350.667,
    "s": 61.644,
    "l": 42.941
  },
  "oklch": {
    "l": 0.50567,
    "c": 0.17025,
    "h": 17.6
  },
  "luminance": 0.11362
}

Semantic roles & 50–950 ramp

primary
#B12A3F
secondary
#70C6B9
accent
#E5CC43
background
#FDF7F7
surface
#FBEDED
border
#D4C8C8
text
#150808
muted
#837B7B

Preview Lab

Preview with #B12A3F

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

Preview Lab → · Contrast checker → · Palette generator →

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