#B12A3C#B12A3C

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

Color values

HEX#B12A3C
RGBrgb(177, 42, 60)
HSLhsl(352, 62%, 43%)
HSVhsv(352, 76%, 69%)
CMYKcmyk(0%, 76.3%, 66.1%, 30.6%)
CIE-LABlab(40.13, 54.33, 23.21)
CIE-LCHlch(40.13, 59.08, 23.14°)
OKLaboklab(50.51% 0.1611 0.0551)
OKLCHoklch(50.51% 0.17 18.9)
XYZxyz(19.7772, 11.3323, 5.4201)
Luminance0.1133 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B12A3C #2AB19F
analogous
#B12A7F #B12A3C #B15B2A
triadic
#B12A3C #3CB12A #2A3CB1
tetradic
#B12A3C #7FB12A #2AB19F #5B2AB1
square
#B12A3C #7FB12A #2AB19F #5B2AB1
split-complementary
#B12A3C #2AB15B #2A7FB1
monochromatic
#4E131A #801E2B #B12A3C #D34558 #DF7785

Accessibility & contrast

On white

6.43
#B12A3C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B12A3C
6.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B12A3C#FFFFFF#000000##FFFFFF
##B12A3C1.006.433.276.43
#FFFFFF6.431.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#514C3C
Deuteranopia (green-blind)
#736938
Tritanopia (blue-blind)
#C20032
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #b12a3c;
/* rgb */ color: rgb(177, 42, 60);
/* oklch */ color: oklch(50.5% 0.170 18.9);
Tailwind
colors: {
  custom: {
    50: '#d06f71',
    500: '#b12a3c',
    950: '#000000',
  },
}
SCSS
$custom: #b12a3c;
$custom-light: #d06f71;
$custom-dark: #000000;
JSON
{
  "hex": "#b12a3c",
  "rgb": {
    "r": 177,
    "g": 42,
    "b": 60
  },
  "hsl": {
    "h": 352,
    "s": 61.644,
    "l": 42.941
  },
  "oklch": {
    "l": 0.5051,
    "c": 0.17031,
    "h": 18.9
  },
  "luminance": 0.11329
}

Semantic roles & 50–950 ramp

primary
#B12A3C
secondary
#70C6BB
accent
#E5CF43
background
#FDF7F6
surface
#FBEDEC
border
#D4C8C7
text
#150807
muted
#837B7A

Preview Lab

Preview with #B12A3C

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

Preview Lab → · Contrast checker → · Palette generator →

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