#B12F43#B12F43

#B12F43 is a mid, vivid red. Relative luminance 0.118; OKLCH L 51.1% C 0.166 H 16.9°. Best body text is #FFFFFF at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#B12F43
RGBrgb(177, 47, 67)
HSLhsl(351, 58%, 44%)
HSVhsv(351, 73%, 69%)
CMYKcmyk(0%, 73.4%, 62.1%, 30.6%)
CIE-LABlab(40.88, 53.04, 19.81)
CIE-LCHlch(40.88, 56.62, 20.48°)
OKLaboklab(51.1% 0.1584 0.0481)
OKLCHoklch(51.1% 0.166 16.9)
XYZxyz(20.1632, 11.7883, 6.5228)
Luminance0.1178 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B12F43 #2FB19D
analogous
#B12F84 #B12F43 #B15C2F
triadic
#B12F43 #43B12F #2F43B1
tetradic
#B12F43 #84B12F #2FB19D #5C2FB1
square
#B12F43 #84B12F #2FB19D #5C2FB1
split-complementary
#B12F43 #2FB15C #2F84B1
monochromatic
#50151E #812231 #B12F43 #D04D61 #DD7E8C

Accessibility & contrast

On white

6.26
#B12F43 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#B12F43 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B12F43
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B12F43#FFFFFF#000000##FFFFFF
##B12F431.006.263.366.26
#FFFFFF6.261.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#524F43
Deuteranopia (green-blind)
#746A3F
Tritanopia (blue-blind)
#C20137
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #b12f43;
/* rgb */ color: rgb(177, 47, 67);
/* oklch */ color: oklch(51.1% 0.166 16.9);
Tailwind
colors: {
  custom: {
    50: '#cf7277',
    500: '#b12f43',
    950: '#000000',
  },
}
SCSS
$custom: #b12f43;
$custom-light: #cf7277;
$custom-dark: #000000;
JSON
{
  "hex": "#b12f43",
  "rgb": {
    "r": 177,
    "g": 47,
    "b": 67
  },
  "hsl": {
    "h": 350.769,
    "s": 58.036,
    "l": 43.922
  },
  "oklch": {
    "l": 0.51103,
    "c": 0.16555,
    "h": 16.9
  },
  "luminance": 0.11785
}

Semantic roles & 50–950 ramp

primary
#B12F43
secondary
#76C5B9
accent
#E1C947
background
#FDF7F7
surface
#FBEDED
border
#D4C8C8
text
#150808
muted
#837B7B

Preview Lab

Preview with #B12F43

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

Preview Lab → · Contrast checker → · Palette generator →

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