#B12F2F#B12F2F

#B12F2F is a mid, vivid red. Relative luminance 0.116; OKLCH L 50.8% C 0.167 H 25.4°. Best body text is #FFFFFF at 6.33:1 contrast (WCAG AA passes).

Color values

HEX#B12F2F
RGBrgb(177, 47, 47)
HSLhsl(0, 58%, 44%)
HSVhsv(0, 73%, 69%)
CMYKcmyk(0%, 73.4%, 73.4%, 30.6%)
CIE-LABlab(40.55, 51.95, 31.64)
CIE-LCHlch(40.55, 60.82, 31.34°)
OKLaboklab(50.76% 0.1507 0.0717)
OKLCHoklch(50.76% 0.167 25.4)
XYZxyz(19.6633, 11.5884, 3.8902)
Luminance0.1158 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B12F2F #2FB1B1
analogous
#B12F70 #B12F2F #B1702F
triadic
#B12F2F #2FB12F #2F2FB1
tetradic
#B12F2F #70B12F #2FB1B1 #702FB1
square
#B12F2F #70B12F #2FB1B1 #702FB1
split-complementary
#B12F2F #2FB170 #2F70B1
monochromatic
#501515 #812222 #B12F2F #D04D4D #DD7E7E

Accessibility & contrast

On white

6.33
#B12F2F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#B12F2F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B12F2F
6.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B12F2F#FFFFFF#000000##FFFFFF
##B12F2F1.006.333.326.33
#FFFFFF6.331.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#554E2E
Deuteranopia (green-blind)
#756A2A
Tritanopia (blue-blind)
#C30031
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #b12f2f;
/* rgb */ color: rgb(177, 47, 47);
/* oklch */ color: oklch(50.8% 0.167 25.4);
Tailwind
colors: {
  custom: {
    50: '#d17168',
    500: '#b12f2f',
    950: '#000000',
  },
}
SCSS
$custom: #b12f2f;
$custom-light: #d17168;
$custom-dark: #000000;
JSON
{
  "hex": "#b12f2f",
  "rgb": {
    "r": 177,
    "g": 47,
    "b": 47
  },
  "hsl": {
    "h": 0,
    "s": 58.036,
    "l": 43.922
  },
  "oklch": {
    "l": 0.50758,
    "c": 0.16691,
    "h": 25.4
  },
  "luminance": 0.11585
}

Semantic roles & 50–950 ramp

primary
#B12F2F
secondary
#76C5C5
accent
#E1E147
background
#FDF7F6
surface
#FBEDEB
border
#D4C8C6
text
#160806
muted
#847B7A

Preview Lab

Preview with #B12F2F

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

Preview Lab → · Contrast checker → · Palette generator →

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