#B12D2B#B12D2B

#B12D2B is a mid, vivid red. Relative luminance 0.114; OKLCH L 50.5% C 0.169 H 26.4°. Best body text is #FFFFFF at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#B12D2B
RGBrgb(177, 45, 43)
HSLhsl(1, 61%, 43%)
HSVhsv(1, 76%, 69%)
CMYKcmyk(0%, 74.6%, 75.7%, 30.6%)
CIE-LABlab(40.25, 52.49, 33.64)
CIE-LCHlch(40.25, 62.34, 32.66°)
OKLaboklab(50.51% 0.1516 0.0751)
OKLCHoklch(50.51% 0.169 26.4)
XYZxyz(19.5082, 11.4013, 3.4585)
Luminance0.1140 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B12D2B #2BAFB1
analogous
#B12B6C #B12D2B #B1702B
triadic
#B12D2B #2BB12D #2D2BB1
tetradic
#B12D2B #6CB12B #2BAFB1 #702BB1
square
#B12D2B #6CB12B #2BAFB1 #702BB1
split-complementary
#B12D2B #2BB170 #2B6CB1
monochromatic
#4F1413 #80201F #B12D2B #D24947 #DE7A78

Accessibility & contrast

On white

6.40
#B12D2B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#B12D2B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B12D2B
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B12D2B#FFFFFF#000000##FFFFFF
##B12D2B1.006.403.286.40
#FFFFFF6.401.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#544D29
Deuteranopia (green-blind)
#756926
Tritanopia (blue-blind)
#C3002E
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #b12d2b;
/* rgb */ color: rgb(177, 45, 43);
/* oklch */ color: oklch(50.5% 0.169 26.4);
Tailwind
colors: {
  custom: {
    50: '#d17065',
    500: '#b12d2b',
    950: '#000000',
  },
}
SCSS
$custom: #b12d2b;
$custom-light: #d17065;
$custom-dark: #000000;
JSON
{
  "hex": "#b12d2b",
  "rgb": {
    "r": 177,
    "g": 45,
    "b": 43
  },
  "hsl": {
    "h": 0.896,
    "s": 60.909,
    "l": 43.137
  },
  "oklch": {
    "l": 0.50514,
    "c": 0.16916,
    "h": 26.4
  },
  "luminance": 0.11398
}

Semantic roles & 50–950 ramp

primary
#B12D2B
secondary
#72C5C6
accent
#E2E444
background
#FEF7F6
surface
#FCEDEB
border
#D5C8C6
text
#160805
muted
#847B7A

Preview Lab

Preview with #B12D2B

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

Preview Lab → · Contrast checker → · Palette generator →

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