#B12A2D#B12A2D

#B12A2D is a mid, vivid red. Relative luminance 0.112; OKLCH L 50.3% C 0.171 H 24.9°. Best body text is #FFFFFF at 6.48:1 contrast (WCAG AA passes).

Color values

HEX#B12A2D
RGBrgb(177, 42, 45)
HSLhsl(359, 62%, 43%)
HSVhsv(359, 76%, 69%)
CMYKcmyk(0%, 76.3%, 74.6%, 30.6%)
CIE-LABlab(39.91, 53.59, 32.08)
CIE-LCHlch(39.91, 62.46, 30.91°)
OKLaboklab(50.27% 0.1555 0.0722)
OKLCHoklch(50.27% 0.171 24.9)
XYZxyz(19.4353, 11.1955, 3.6197)
Luminance0.1119 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B12A2D #2AB1AE
analogous
#B12A70 #B12A2D #B16B2A
triadic
#B12A2D #2DB12A #2A2DB1
tetradic
#B12A2D #70B12A #2AB1AE #6B2AB1
square
#B12A2D #70B12A #2AB1AE #6B2AB1
split-complementary
#B12A2D #2AB16B #2A70B1
monochromatic
#4E1314 #801E20 #B12A2D #D34548 #DF7779

Accessibility & contrast

On white

6.48
#B12A2D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#B12A2D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B12A2D
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B12A2D#FFFFFF#000000##FFFFFF
##B12A2D1.006.483.246.48
#FFFFFF6.481.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#534B2C
Deuteranopia (green-blind)
#746928
Tritanopia (blue-blind)
#C3002D
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #b12a2d;
/* rgb */ color: rgb(177, 42, 45);
/* oklch */ color: oklch(50.3% 0.171 24.9);
Tailwind
colors: {
  custom: {
    50: '#d16f66',
    500: '#b12a2d',
    950: '#000000',
  },
}
SCSS
$custom: #b12a2d;
$custom-light: #d16f66;
$custom-dark: #000000;
JSON
{
  "hex": "#b12a2d",
  "rgb": {
    "r": 177,
    "g": 42,
    "b": 45
  },
  "hsl": {
    "h": 358.667,
    "s": 61.644,
    "l": 42.941
  },
  "oklch": {
    "l": 0.50268,
    "c": 0.17144,
    "h": 24.9
  },
  "luminance": 0.11193
}

Semantic roles & 50–950 ramp

primary
#B12A2D
secondary
#70C6C4
accent
#E5E143
background
#FEF7F6
surface
#FCEDEB
border
#D5C8C6
text
#160806
muted
#847B7A

Preview Lab

Preview with #B12A2D

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

Preview Lab → · Contrast checker → · Palette generator →

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