#B12D32#B12D32

#B12D32 is a mid, vivid red. Relative luminance 0.115; OKLCH L 50.6% C 0.168 H 23.8°. Best body text is #FFFFFF at 6.38:1 contrast (WCAG AA passes).

Color values

HEX#B12D32
RGBrgb(177, 45, 50)
HSLhsl(358, 59%, 44%)
HSVhsv(358, 75%, 69%)
CMYKcmyk(0%, 74.6%, 71.8%, 30.6%)
CIE-LABlab(40.34, 52.79, 29.59)
CIE-LCHlch(40.34, 60.52, 29.27°)
OKLaboklab(50.61% 0.1541 0.0678)
OKLCHoklch(50.61% 0.168 23.8)
XYZxyz(19.6478, 11.4572, 4.1939)
Luminance0.1145 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B12D32 #2DB1AC
analogous
#B12D74 #B12D32 #B16A2D
triadic
#B12D32 #32B12D #2D32B1
tetradic
#B12D32 #74B12D #2DB1AC #6A2DB1
square
#B12D32 #74B12D #2DB1AC #6A2DB1
split-complementary
#B12D32 #2DB16A #2D74B1
monochromatic
#4F1416 #802124 #B12D32 #D14A4F #DD7B7F

Accessibility & contrast

On white

6.38
#B12D32 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#B12D32 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B12D32
6.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B12D32#FFFFFF#000000##FFFFFF
##B12D321.006.383.296.38
#FFFFFF6.381.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#544D31
Deuteranopia (green-blind)
#75692E
Tritanopia (blue-blind)
#C30030
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #b12d32;
/* rgb */ color: rgb(177, 45, 50);
/* oklch */ color: oklch(50.6% 0.168 23.8);
Tailwind
colors: {
  custom: {
    50: '#d0706a',
    500: '#b12d32',
    950: '#000000',
  },
}
SCSS
$custom: #b12d32;
$custom-light: #d0706a;
$custom-dark: #000000;
JSON
{
  "hex": "#b12d32",
  "rgb": {
    "r": 177,
    "g": 45,
    "b": 50
  },
  "hsl": {
    "h": 357.727,
    "s": 59.459,
    "l": 43.529
  },
  "oklch": {
    "l": 0.50612,
    "c": 0.16834,
    "h": 23.8
  },
  "luminance": 0.11454
}

Semantic roles & 50–950 ramp

primary
#B12D32
secondary
#74C6C3
accent
#E3DD45
background
#FDF7F6
surface
#FBEDEB
border
#D4C8C6
text
#150806
muted
#837B7A

Preview Lab

Preview with #B12D32

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

Preview Lab → · Contrast checker → · Palette generator →

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