#B12F2C#B12F2C

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

Color values

HEX#B12F2C
RGBrgb(177, 47, 44)
HSLhsl(1, 60%, 43%)
HSVhsv(1, 75%, 69%)
CMYKcmyk(0%, 73.4%, 75.1%, 30.6%)
CIE-LABlab(40.52, 51.82, 33.36)
CIE-LCHlch(40.52, 61.63, 32.77°)
OKLaboklab(50.72% 0.1497 0.0747)
OKLCHoklch(50.72% 0.167 26.5)
XYZxyz(19.6049, 11.5650, 3.5824)
Luminance0.1156 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B12F2C #2CAEB1
analogous
#B12C6C #B12F2C #B1712C
triadic
#B12F2C #2CB12F #2F2CB1
tetradic
#B12F2C #6CB12C #2CAEB1 #712CB1
square
#B12F2C #6CB12C #2CAEB1 #712CB1
split-complementary
#B12F2C #2CB171 #2C6CB1
monochromatic
#4F1514 #802220 #B12F2C #D24C49 #DE7C7A

Accessibility & contrast

On white

6.34
#B12F2C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B12F2C
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B12F2C#FFFFFF#000000##FFFFFF
##B12F2C1.006.343.316.34
#FFFFFF6.341.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#554D2A
Deuteranopia (green-blind)
#766A27
Tritanopia (blue-blind)
#C30030
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #b12f2c;
/* rgb */ color: rgb(177, 47, 44);
/* oklch */ color: oklch(50.7% 0.167 26.5);
Tailwind
colors: {
  custom: {
    50: '#d17165',
    500: '#b12f2c',
    950: '#000000',
  },
}
SCSS
$custom: #b12f2c;
$custom-light: #d17165;
$custom-dark: #000000;
JSON
{
  "hex": "#b12f2c",
  "rgb": {
    "r": 177,
    "g": 47,
    "b": 44
  },
  "hsl": {
    "h": 1.353,
    "s": 60.181,
    "l": 43.333
  },
  "oklch": {
    "l": 0.50718,
    "c": 0.16731,
    "h": 26.5
  },
  "luminance": 0.11562
}

Semantic roles & 50–950 ramp

primary
#B12F2C
secondary
#73C4C6
accent
#E0E344
background
#FEF7F6
surface
#FCEDEB
border
#D5C8C6
text
#160806
muted
#847B7A

Preview Lab

Preview with #B12F2C

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

Preview Lab → · Contrast checker → · Palette generator →

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