#B12846#B12846

#B12846 is a mid, vivid red. Relative luminance 0.113; OKLCH L 50.5% C 0.172 H 13.9°. Best body text is #FFFFFF at 6.44:1 contrast (WCAG AA passes).

Color values

HEX#B12846
RGBrgb(177, 40, 70)
HSLhsl(347, 63%, 43%)
HSVhsv(347, 77%, 69%)
CMYKcmyk(0%, 77.4%, 60.5%, 30.6%)
CIE-LABlab(40.10, 55.59, 16.89)
CIE-LCHlch(40.10, 58.10, 16.91°)
OKLaboklab(50.54% 0.1672 0.0415)
OKLCHoklch(50.54% 0.172 13.9)
XYZxyz(19.9978, 11.3098, 6.9232)
Luminance0.1131 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B12846 #28B193
analogous
#B1288B #B12846 #B14E28
triadic
#B12846 #46B128 #2846B1
tetradic
#B12846 #8BB128 #28B193 #4E28B1
square
#B12846 #8BB128 #28B193 #4E28B1
split-complementary
#B12846 #28B14E #288BB1
monochromatic
#4D111F #7F1D32 #B12846 #D44262 #E0748B

Accessibility & contrast

On white

6.44
#B12846 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#B12846 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B12846
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B12846#FFFFFF#000000##FFFFFF
##B128461.006.443.266.44
#FFFFFF6.441.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E4C46
Deuteranopia (green-blind)
#716942
Tritanopia (blue-blind)
#C20035
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #b12846;
/* rgb */ color: rgb(177, 40, 70);
/* oklch */ color: oklch(50.5% 0.172 13.9);
Tailwind
colors: {
  custom: {
    50: '#cf6f79',
    500: '#b12846',
    950: '#000000',
  },
}
SCSS
$custom: #b12846;
$custom-light: #cf6f79;
$custom-dark: #000000;
JSON
{
  "hex": "#b12846",
  "rgb": {
    "r": 177,
    "g": 40,
    "b": 70
  },
  "hsl": {
    "h": 346.861,
    "s": 63.134,
    "l": 42.549
  },
  "oklch": {
    "l": 0.50544,
    "c": 0.17224,
    "h": 13.9
  },
  "luminance": 0.11307
}

Semantic roles & 50–950 ramp

primary
#B12846
secondary
#6EC7B3
accent
#E6C242
background
#FDF7F7
surface
#FBEDED
border
#D4C8C8
text
#150809
muted
#837B7B

Preview Lab

Preview with #B12846

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

Preview Lab → · Contrast checker → · Palette generator →

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