#B12E42#B12E42

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

Color values

HEX#B12E42
RGBrgb(177, 46, 66)
HSLhsl(351, 59%, 44%)
HSVhsv(351, 74%, 69%)
CMYKcmyk(0%, 74%, 62.7%, 30.6%)
CIE-LABlab(40.73, 53.33, 20.24)
CIE-LCHlch(40.73, 57.04, 20.78°)
OKLaboklab(50.99% 0.1592 0.049)
OKLCHoklch(50.99% 0.167 17.1)
XYZxyz(20.0939, 11.6974, 6.3530)
Luminance0.1169 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B12E42 #2EB19D
analogous
#B12E83 #B12E42 #B15B2E
triadic
#B12E42 #42B12E #2E42B1
tetradic
#B12E42 #83B12E #2EB19D #5B2EB1
square
#B12E42 #83B12E #2EB19D #5B2EB1
split-complementary
#B12E42 #2EB15B #2E83B1
monochromatic
#50151E #802130 #B12E42 #D04C60 #DD7C8B

Accessibility & contrast

On white

6.29
#B12E42 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#B12E42 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B12E42
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B12E42#FFFFFF#000000##FFFFFF
##B12E421.006.293.346.29
#FFFFFF6.291.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#524F42
Deuteranopia (green-blind)
#736A3E
Tritanopia (blue-blind)
#C20036
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #b12e42;
/* rgb */ color: rgb(177, 46, 66);
/* oklch */ color: oklch(51.0% 0.167 17.1);
Tailwind
colors: {
  custom: {
    50: '#cf7176',
    500: '#b12e42',
    950: '#000000',
  },
}
SCSS
$custom: #b12e42;
$custom-light: #cf7176;
$custom-dark: #000000;
JSON
{
  "hex": "#b12e42",
  "rgb": {
    "r": 177,
    "g": 46,
    "b": 66
  },
  "hsl": {
    "h": 350.84,
    "s": 58.744,
    "l": 43.725
  },
  "oklch": {
    "l": 0.50988,
    "c": 0.16652,
    "h": 17.1
  },
  "luminance": 0.11694
}

Semantic roles & 50–950 ramp

primary
#B12E42
secondary
#75C6B9
accent
#E2CA46
background
#FDF7F7
surface
#FBEDED
border
#D4C8C8
text
#150808
muted
#837B7B

Preview Lab

Preview with #B12E42

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

Preview Lab → · Contrast checker → · Palette generator →

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