#B12F3F#B12F3F

#B12F3F is a mid, vivid red. Relative luminance 0.117; OKLCH L 51.0% C 0.166 H 18.7°. Best body text is #FFFFFF at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#B12F3F
RGBrgb(177, 47, 63)
HSLhsl(353, 58%, 44%)
HSVhsv(353, 73%, 69%)
CMYKcmyk(0%, 73.4%, 64.4%, 30.6%)
CIE-LABlab(40.80, 52.79, 22.20)
CIE-LCHlch(40.80, 57.27, 22.81°)
OKLaboklab(51.02% 0.1568 0.0532)
OKLCHoklch(51.02% 0.166 18.7)
XYZxyz(20.0473, 11.7420, 5.9125)
Luminance0.1174 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B12F3F #2FB1A1
analogous
#B12F80 #B12F3F #B1602F
triadic
#B12F3F #3FB12F #2F3FB1
tetradic
#B12F3F #80B12F #2FB1A1 #602FB1
square
#B12F3F #80B12F #2FB1A1 #602FB1
split-complementary
#B12F3F #2FB160 #2F80B1
monochromatic
#50151D #81222E #B12F3F #D04D5D #DD7E89

Accessibility & contrast

On white

6.27
#B12F3F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#B12F3F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B12F3F
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B12F3F#FFFFFF#000000##FFFFFF
##B12F3F1.006.273.356.27
#FFFFFF6.271.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#534F3F
Deuteranopia (green-blind)
#746A3B
Tritanopia (blue-blind)
#C20036
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #b12f3f;
/* rgb */ color: rgb(177, 47, 63);
/* oklch */ color: oklch(51.0% 0.166 18.7);
Tailwind
colors: {
  custom: {
    50: '#d07273',
    500: '#b12f3f',
    950: '#000000',
  },
}
SCSS
$custom: #b12f3f;
$custom-light: #d07273;
$custom-dark: #000000;
JSON
{
  "hex": "#b12f3f",
  "rgb": {
    "r": 177,
    "g": 47,
    "b": 63
  },
  "hsl": {
    "h": 352.615,
    "s": 58.036,
    "l": 43.922
  },
  "oklch": {
    "l": 0.51023,
    "c": 0.1656,
    "h": 18.7
  },
  "luminance": 0.11739
}

Semantic roles & 50–950 ramp

primary
#B12F3F
secondary
#76C5BC
accent
#E1CE47
background
#FDF7F7
surface
#FBEDED
border
#D4C8C8
text
#150808
muted
#837B7B

Preview Lab

Preview with #B12F3F

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

Preview Lab → · Contrast checker → · Palette generator →

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