#B12A3A#B12A3A

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

Color values

HEX#B12A3A
RGBrgb(177, 42, 58)
HSLhsl(353, 62%, 43%)
HSVhsv(353, 76%, 69%)
CMYKcmyk(0%, 76.3%, 67.2%, 30.6%)
CIE-LABlab(40.10, 54.22, 24.41)
CIE-LCHlch(40.10, 59.46, 24.24°)
OKLaboklab(50.47% 0.1604 0.0576)
OKLCHoklch(50.47% 0.17 19.8)
XYZxyz(19.7253, 11.3115, 5.1469)
Luminance0.1131 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B12A3A #2AB1A1
analogous
#B12A7D #B12A3A #B15D2A
triadic
#B12A3A #3AB12A #2A3AB1
tetradic
#B12A3A #7DB12A #2AB1A1 #5D2AB1
square
#B12A3A #7DB12A #2AB1A1 #5D2AB1
split-complementary
#B12A3A #2AB15D #2A7DB1
monochromatic
#4E131A #801E2A #B12A3A #D34556 #DF7783

Accessibility & contrast

On white

6.44
#B12A3A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#B12A3A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B12A3A
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B12A3A#FFFFFF#000000##FFFFFF
##B12A3A1.006.443.266.44
#FFFFFF6.441.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#514C3A
Deuteranopia (green-blind)
#736936
Tritanopia (blue-blind)
#C30031
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #b12a3a;
/* rgb */ color: rgb(177, 42, 58);
/* oklch */ color: oklch(50.5% 0.170 19.8);
Tailwind
colors: {
  custom: {
    50: '#d06f70',
    500: '#b12a3a',
    950: '#000000',
  },
}
SCSS
$custom: #b12a3a;
$custom-light: #d06f70;
$custom-dark: #000000;
JSON
{
  "hex": "#b12a3a",
  "rgb": {
    "r": 177,
    "g": 42,
    "b": 58
  },
  "hsl": {
    "h": 352.889,
    "s": 61.644,
    "l": 42.941
  },
  "oklch": {
    "l": 0.50473,
    "c": 0.17037,
    "h": 19.8
  },
  "luminance": 0.11309
}

Semantic roles & 50–950 ramp

primary
#B12A3A
secondary
#70C6BC
accent
#E5D243
background
#FDF7F6
surface
#FBEDEC
border
#D4C8C7
text
#150807
muted
#837B7A

Preview Lab

Preview with #B12A3A

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

Preview Lab → · Contrast checker → · Palette generator →

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