#B12E47#B12E47

#B12E47 is a mid, vivid red. Relative luminance 0.118; OKLCH L 51.1% C 0.167 H 14.7°. Best body text is #FFFFFF at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#B12E47
RGBrgb(177, 46, 71)
HSLhsl(349, 59%, 44%)
HSVhsv(349, 74%, 69%)
CMYKcmyk(0%, 74%, 59.9%, 30.6%)
CIE-LABlab(40.83, 53.66, 17.24)
CIE-LCHlch(40.83, 56.36, 17.82°)
OKLaboklab(51.09% 0.1611 0.0424)
OKLCHoklch(51.09% 0.167 14.7)
XYZxyz(20.2478, 11.7590, 7.1635)
Luminance0.1176 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B12E47 #2EB198
analogous
#B12E88 #B12E47 #B1572E
triadic
#B12E47 #47B12E #2E47B1
tetradic
#B12E47 #88B12E #2EB198 #572EB1
square
#B12E47 #88B12E #2EB198 #572EB1
split-complementary
#B12E47 #2EB157 #2E88B1
monochromatic
#501520 #802134 #B12E47 #D04C65 #DD7C8F

Accessibility & contrast

On white

6.27
#B12E47 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#B12E47 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B12E47
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B12E47#FFFFFF#000000##FFFFFF
##B12E471.006.273.356.27
#FFFFFF6.271.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#514F47
Deuteranopia (green-blind)
#736A44
Tritanopia (blue-blind)
#C20138
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #b12e47;
/* rgb */ color: rgb(177, 46, 71);
/* oklch */ color: oklch(51.1% 0.167 14.7);
Tailwind
colors: {
  custom: {
    50: '#cf717a',
    500: '#b12e47',
    950: '#000000',
  },
}
SCSS
$custom: #b12e47;
$custom-light: #cf717a;
$custom-dark: #000000;
JSON
{
  "hex": "#b12e47",
  "rgb": {
    "r": 177,
    "g": 46,
    "b": 71
  },
  "hsl": {
    "h": 348.55,
    "s": 58.744,
    "l": 43.725
  },
  "oklch": {
    "l": 0.51094,
    "c": 0.16663,
    "h": 14.7
  },
  "luminance": 0.11756
}

Semantic roles & 50–950 ramp

primary
#B12E47
secondary
#75C6B6
accent
#E2C446
background
#FDF7F7
surface
#FBEDED
border
#D4C8C8
text
#150809
muted
#837B7B

Preview Lab

Preview with #B12E47

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

Preview Lab → · Contrast checker → · Palette generator →

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