#B12747#B12747

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

Color values

HEX#B12747
RGBrgb(177, 39, 71)
HSLhsl(346, 64%, 42%)
HSVhsv(346, 78%, 69%)
CMYKcmyk(0%, 78%, 59.9%, 30.6%)
CIE-LABlab(40.01, 55.96, 16.14)
CIE-LCHlch(40.01, 58.24, 16.09°)
OKLaboklab(50.49% 0.1686 0.0398)
OKLCHoklch(50.49% 0.173 13.3)
XYZxyz(19.9963, 11.2560, 7.0797)
Luminance0.1125 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B12747 #27B191
analogous
#B1278C #B12747 #B14C27
triadic
#B12747 #47B127 #2747B1
tetradic
#B12747 #8CB127 #27B191 #4C27B1
square
#B12747 #8CB127 #27B191 #4C27B1
split-complementary
#B12747 #27B14C #278CB1
monochromatic
#4D111F #7F1C33 #B12747 #D54063 #E0728C

Accessibility & contrast

On white

6.46
#B12747 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#B12747 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B12747
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B12747#FFFFFF#000000##FFFFFF
##B127471.006.463.256.46
#FFFFFF6.461.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.461.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b12747;
/* rgb */ color: rgb(177, 39, 71);
/* oklch */ color: oklch(50.5% 0.173 13.3);
Tailwind
colors: {
  custom: {
    50: '#cf6e79',
    500: '#b12747',
    950: '#000000',
  },
}
SCSS
$custom: #b12747;
$custom-light: #cf6e79;
$custom-dark: #000000;
JSON
{
  "hex": "#b12747",
  "rgb": {
    "r": 177,
    "g": 39,
    "b": 71
  },
  "hsl": {
    "h": 346.087,
    "s": 63.889,
    "l": 42.353
  },
  "oklch": {
    "l": 0.50485,
    "c": 0.17319,
    "h": 13.3
  },
  "luminance": 0.11253
}

Semantic roles & 50–950 ramp

primary
#B12747
secondary
#6DC7B2
accent
#E7C041
background
#FDF7F7
surface
#FBEDED
border
#D4C8C8
text
#150809
muted
#837B7B

Preview Lab

Preview with #B12747

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

Preview Lab → · Contrast checker → · Palette generator →

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