#B12746#B12746

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

Color values

HEX#B12746
RGBrgb(177, 39, 70)
HSLhsl(347, 64%, 42%)
HSVhsv(347, 78%, 69%)
CMYKcmyk(0%, 78%, 60.5%, 30.6%)
CIE-LABlab(39.99, 55.89, 16.75)
CIE-LCHlch(39.99, 58.35, 16.68°)
OKLaboklab(50.46% 0.1682 0.0412)
OKLCHoklch(50.46% 0.173 13.8)
XYZxyz(19.9645, 11.2433, 6.9121)
Luminance0.1124 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B12746 #27B192
analogous
#B1278B #B12746 #B14D27
triadic
#B12746 #46B127 #2746B1
tetradic
#B12746 #8BB127 #27B192 #4D27B1
square
#B12746 #8BB127 #27B192 #4D27B1
split-complementary
#B12746 #27B14D #278BB1
monochromatic
#4D111E #7F1C32 #B12746 #D54062 #E0728B

Accessibility & contrast

On white

6.47
#B12746 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B12746
6.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B12746#FFFFFF#000000##FFFFFF
##B127461.006.473.256.47
#FFFFFF6.471.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.471.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b12746;
/* rgb */ color: rgb(177, 39, 70);
/* oklch */ color: oklch(50.5% 0.173 13.8);
Tailwind
colors: {
  custom: {
    50: '#cf6e79',
    500: '#b12746',
    950: '#000000',
  },
}
SCSS
$custom: #b12746;
$custom-light: #cf6e79;
$custom-dark: #000000;
JSON
{
  "hex": "#b12746",
  "rgb": {
    "r": 177,
    "g": 39,
    "b": 70
  },
  "hsl": {
    "h": 346.522,
    "s": 63.889,
    "l": 42.353
  },
  "oklch": {
    "l": 0.50463,
    "c": 0.17312,
    "h": 13.8
  },
  "luminance": 0.1124
}

Semantic roles & 50–950 ramp

primary
#B12746
secondary
#6DC7B3
accent
#E7C241
background
#FDF7F7
surface
#FBEDED
border
#D4C8C8
text
#150809
muted
#837B7B

Preview Lab

Preview with #B12746

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

Preview Lab → · Contrast checker → · Palette generator →

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