#B12F40#B12F40

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

Color values

HEX#B12F40
RGBrgb(177, 47, 64)
HSLhsl(352, 58%, 44%)
HSVhsv(352, 73%, 69%)
CMYKcmyk(0%, 73.4%, 63.8%, 30.6%)
CIE-LABlab(40.82, 52.85, 21.60)
CIE-LCHlch(40.82, 57.09, 22.23°)
OKLaboklab(51.04% 0.1572 0.0519)
OKLCHoklch(51.04% 0.166 18.3)
XYZxyz(20.0755, 11.7532, 6.0610)
Luminance0.1175 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B12F40 #2FB1A0
analogous
#B12F81 #B12F40 #B15F2F
triadic
#B12F40 #40B12F #2F40B1
tetradic
#B12F40 #81B12F #2FB1A0 #5F2FB1
square
#B12F40 #81B12F #2FB1A0 #5F2FB1
split-complementary
#B12F40 #2FB15F #2F81B1
monochromatic
#50151D #81222F #B12F40 #D04D5E #DD7E8A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B12F40#FFFFFF#000000##FFFFFF
##B12F401.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)
#534F40
Deuteranopia (green-blind)
#746A3C
Tritanopia (blue-blind)
#C20036
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #b12f40;
/* rgb */ color: rgb(177, 47, 64);
/* oklch */ color: oklch(51.0% 0.166 18.3);
Tailwind
colors: {
  custom: {
    50: '#cf7274',
    500: '#b12f40',
    950: '#000000',
  },
}
SCSS
$custom: #b12f40;
$custom-light: #cf7274;
$custom-dark: #000000;
JSON
{
  "hex": "#b12f40",
  "rgb": {
    "r": 177,
    "g": 47,
    "b": 64
  },
  "hsl": {
    "h": 352.154,
    "s": 58.036,
    "l": 43.922
  },
  "oklch": {
    "l": 0.51043,
    "c": 0.16558,
    "h": 18.3
  },
  "luminance": 0.1175
}

Semantic roles & 50–950 ramp

primary
#B12F40
secondary
#76C5BB
accent
#E1CD47
background
#FDF7F7
surface
#FBEDED
border
#D4C8C8
text
#150808
muted
#837B7B

Preview Lab

Preview with #B12F40

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

Preview Lab → · Contrast checker → · Palette generator →

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