#B12C42#B12C42

#B12C42 is a mid, vivid red. Relative luminance 0.115; OKLCH L 50.8% C 0.168 H 16.6°. Best body text is #FFFFFF at 6.35:1 contrast (WCAG AA passes).

Color values

HEX#B12C42
RGBrgb(177, 44, 66)
HSLhsl(350, 60%, 43%)
HSVhsv(350, 75%, 69%)
CMYKcmyk(0%, 75.1%, 62.7%, 30.6%)
CIE-LABlab(40.48, 54.02, 19.92)
CIE-LCHlch(40.48, 57.57, 20.24°)
OKLaboklab(50.8% 0.1614 0.0482)
OKLCHoklch(50.8% 0.168 16.6)
XYZxyz(20.0176, 11.5448, 6.3275)
Luminance0.1154 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B12C42 #2CB19B
analogous
#B12C84 #B12C42 #B1582C
triadic
#B12C42 #42B12C #2C42B1
tetradic
#B12C42 #84B12C #2CB19B #582CB1
square
#B12C42 #84B12C #2CB19B #582CB1
split-complementary
#B12C42 #2CB158 #2C84B1
monochromatic
#4F141D #802030 #B12C42 #D2495F #DE7A8A

Accessibility & contrast

On white

6.35
#B12C42 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#B12C42 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B12C42
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B12C42#FFFFFF#000000##FFFFFF
##B12C421.006.353.316.35
#FFFFFF6.351.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#514E42
Deuteranopia (green-blind)
#73693E
Tritanopia (blue-blind)
#C20035
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #b12c42;
/* rgb */ color: rgb(177, 44, 66);
/* oklch */ color: oklch(50.8% 0.168 16.6);
Tailwind
colors: {
  custom: {
    50: '#cf7076',
    500: '#b12c42',
    950: '#000000',
  },
}
SCSS
$custom: #b12c42;
$custom-light: #cf7076;
$custom-dark: #000000;
JSON
{
  "hex": "#b12c42",
  "rgb": {
    "r": 177,
    "g": 44,
    "b": 66
  },
  "hsl": {
    "h": 350.075,
    "s": 60.181,
    "l": 43.333
  },
  "oklch": {
    "l": 0.50804,
    "c": 0.16842,
    "h": 16.6
  },
  "luminance": 0.11542
}

Semantic roles & 50–950 ramp

primary
#B12C42
secondary
#73C6B8
accent
#E3C944
background
#FDF7F7
surface
#FBEDED
border
#D4C8C8
text
#150808
muted
#837B7B

Preview Lab

Preview with #B12C42

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

Preview Lab → · Contrast checker → · Palette generator →

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