#B12F2A#B12F2A

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

Color values

HEX#B12F2A
RGBrgb(177, 47, 42)
HSLhsl(2, 62%, 43%)
HSVhsv(2, 76%, 69%)
CMYKcmyk(0%, 73.4%, 76.3%, 30.6%)
CIE-LABlab(40.49, 51.74, 34.49)
CIE-LCHlch(40.49, 62.18, 33.69°)
OKLaboklab(50.69% 0.149 0.0767)
OKLCHoklch(50.69% 0.168 27.2)
XYZxyz(19.5682, 11.5503, 3.3891)
Luminance0.1155 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B12F2A #2AACB1
analogous
#B12A69 #B12F2A #B1722A
triadic
#B12F2A #2AB12F #2F2AB1
tetradic
#B12F2A #69B12A #2AACB1 #722AB1
square
#B12F2A #69B12A #2AACB1 #722AB1
split-complementary
#B12F2A #2AB172 #2A69B1
monochromatic
#4E1513 #80221E #B12F2A #D34B45 #DF7B77

Accessibility & contrast

On white

6.35
#B12F2A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#B12F2A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B12F2A
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B12F2A#FFFFFF#000000##FFFFFF
##B12F2A1.006.353.316.35
#FFFFFF6.351.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#564D28
Deuteranopia (green-blind)
#766A25
Tritanopia (blue-blind)
#C3002F
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #b12f2a;
/* rgb */ color: rgb(177, 47, 42);
/* oklch */ color: oklch(50.7% 0.168 27.2);
Tailwind
colors: {
  custom: {
    50: '#d17164',
    500: '#b12f2a',
    950: '#000000',
  },
}
SCSS
$custom: #b12f2a;
$custom-light: #d17164;
$custom-dark: #000000;
JSON
{
  "hex": "#b12f2a",
  "rgb": {
    "r": 177,
    "g": 47,
    "b": 42
  },
  "hsl": {
    "h": 2.222,
    "s": 61.644,
    "l": 42.941
  },
  "oklch": {
    "l": 0.50692,
    "c": 0.16758,
    "h": 27.2
  },
  "luminance": 0.11547
}

Semantic roles & 50–950 ramp

primary
#B12F2A
secondary
#70C3C6
accent
#DFE543
background
#FEF7F6
surface
#FCEDEB
border
#D5C8C6
text
#160805
muted
#847B7A

Preview Lab

Preview with #B12F2A

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

Preview Lab → · Contrast checker → · Palette generator →

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