#B12A39#B12A39

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

Color values

HEX#B12A39
RGBrgb(177, 42, 57)
HSLhsl(353, 62%, 43%)
HSVhsv(353, 76%, 69%)
CMYKcmyk(0%, 76.3%, 67.8%, 30.6%)
CIE-LABlab(40.08, 54.16, 25.01)
CIE-LCHlch(40.08, 59.66, 24.78°)
OKLaboklab(50.46% 0.16 0.0588)
OKLCHoklch(50.46% 0.17 20.2)
XYZxyz(19.7001, 11.3014, 5.0142)
Luminance0.1130 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B12A39 #2AB1A2
analogous
#B12A7D #B12A39 #B15E2A
triadic
#B12A39 #39B12A #2A39B1
tetradic
#B12A39 #7DB12A #2AB1A2 #5E2AB1
square
#B12A39 #7DB12A #2AB1A2 #5E2AB1
split-complementary
#B12A39 #2AB15E #2A7DB1
monochromatic
#4E1319 #801E29 #B12A39 #D34555 #DF7782

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B12A39#FFFFFF#000000##FFFFFF
##B12A391.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)
#514C38
Deuteranopia (green-blind)
#736935
Tritanopia (blue-blind)
#C30031
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #b12a39;
/* rgb */ color: rgb(177, 42, 57);
/* oklch */ color: oklch(50.5% 0.170 20.2);
Tailwind
colors: {
  custom: {
    50: '#d06f6f',
    500: '#b12a39',
    950: '#000000',
  },
}
SCSS
$custom: #b12a39;
$custom-light: #d06f6f;
$custom-dark: #000000;
JSON
{
  "hex": "#b12a39",
  "rgb": {
    "r": 177,
    "g": 42,
    "b": 57
  },
  "hsl": {
    "h": 353.333,
    "s": 61.644,
    "l": 42.941
  },
  "oklch": {
    "l": 0.50455,
    "c": 0.17042,
    "h": 20.2
  },
  "luminance": 0.11298
}

Semantic roles & 50–950 ramp

primary
#B12A39
secondary
#70C6BD
accent
#E5D343
background
#FDF7F6
surface
#FBEDEC
border
#D4C8C7
text
#150807
muted
#837B7A

Preview Lab

Preview with #B12A39

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

Preview Lab → · Contrast checker → · Palette generator →

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