#B12E46#B12E46

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

Color values

HEX#B12E46
RGBrgb(177, 46, 70)
HSLhsl(349, 59%, 44%)
HSVhsv(349, 74%, 69%)
CMYKcmyk(0%, 74%, 60.5%, 30.6%)
CIE-LABlab(40.81, 53.59, 17.84)
CIE-LCHlch(40.81, 56.48, 18.42°)
OKLaboklab(51.07% 0.1608 0.0437)
OKLCHoklch(51.07% 0.167 15.2)
XYZxyz(20.2160, 11.7462, 6.9959)
Luminance0.1174 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B12E46 #2EB199
analogous
#B12E87 #B12E46 #B1572E
triadic
#B12E46 #46B12E #2E46B1
tetradic
#B12E46 #87B12E #2EB199 #572EB1
square
#B12E46 #87B12E #2EB199 #572EB1
split-complementary
#B12E46 #2EB157 #2E87B1
monochromatic
#501520 #802133 #B12E46 #D04C64 #DD7C8E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B12E46#FFFFFF#000000##FFFFFF
##B12E461.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)
#514F46
Deuteranopia (green-blind)
#736A43
Tritanopia (blue-blind)
#C20038
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #b12e46;
/* rgb */ color: rgb(177, 46, 70);
/* oklch */ color: oklch(51.1% 0.167 15.2);
Tailwind
colors: {
  custom: {
    50: '#cf7179',
    500: '#b12e46',
    950: '#000000',
  },
}
SCSS
$custom: #b12e46;
$custom-light: #cf7179;
$custom-dark: #000000;
JSON
{
  "hex": "#b12e46",
  "rgb": {
    "r": 177,
    "g": 46,
    "b": 70
  },
  "hsl": {
    "h": 349.008,
    "s": 58.744,
    "l": 43.725
  },
  "oklch": {
    "l": 0.51072,
    "c": 0.16659,
    "h": 15.2
  },
  "luminance": 0.11743
}

Semantic roles & 50–950 ramp

primary
#B12E46
secondary
#75C6B7
accent
#E2C546
background
#FDF7F7
surface
#FBEDED
border
#D4C8C8
text
#150809
muted
#837B7B

Preview Lab

Preview with #B12E46

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

Preview Lab → · Contrast checker → · Palette generator →

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