#B12847#B12847

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

Color values

HEX#B12847
RGBrgb(177, 40, 71)
HSLhsl(346, 63%, 43%)
HSVhsv(346, 77%, 69%)
CMYKcmyk(0%, 77.4%, 59.9%, 30.6%)
CIE-LABlab(40.12, 55.65, 16.29)
CIE-LCHlch(40.12, 57.99, 16.32°)
OKLaboklab(50.57% 0.1676 0.0402)
OKLCHoklch(50.57% 0.172 13.5)
XYZxyz(20.0296, 11.3226, 7.0908)
Luminance0.1132 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B12847 #28B192
analogous
#B1288C #B12847 #B14D28
triadic
#B12847 #47B128 #2847B1
tetradic
#B12847 #8CB128 #28B192 #4D28B1
square
#B12847 #8CB128 #28B192 #4D28B1
split-complementary
#B12847 #28B14D #288CB1
monochromatic
#4D111F #7F1D33 #B12847 #D44263 #E0748C

Accessibility & contrast

On white

6.43
#B12847 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B12847
6.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B12847#FFFFFF#000000##FFFFFF
##B128471.006.433.266.43
#FFFFFF6.431.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E4D47
Deuteranopia (green-blind)
#716943
Tritanopia (blue-blind)
#C20035
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #b12847;
/* rgb */ color: rgb(177, 40, 71);
/* oklch */ color: oklch(50.6% 0.172 13.5);
Tailwind
colors: {
  custom: {
    50: '#cf6f79',
    500: '#b12847',
    950: '#000000',
  },
}
SCSS
$custom: #b12847;
$custom-light: #cf6f79;
$custom-dark: #000000;
JSON
{
  "hex": "#b12847",
  "rgb": {
    "r": 177,
    "g": 40,
    "b": 71
  },
  "hsl": {
    "h": 346.423,
    "s": 63.134,
    "l": 42.549
  },
  "oklch": {
    "l": 0.50566,
    "c": 0.1723,
    "h": 13.5
  },
  "luminance": 0.1132
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B12847

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

Preview Lab → · Contrast checker → · Palette generator →

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