#B12845#B12845

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

Color values

HEX#B12845
RGBrgb(177, 40, 69)
HSLhsl(347, 63%, 43%)
HSVhsv(347, 77%, 69%)
CMYKcmyk(0%, 77.4%, 61%, 30.6%)
CIE-LABlab(40.08, 55.52, 17.50)
CIE-LCHlch(40.08, 58.21, 17.49°)
OKLaboklab(50.52% 0.1668 0.0429)
OKLCHoklch(50.52% 0.172 14.4)
XYZxyz(19.9665, 11.2973, 6.7583)
Luminance0.1129 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B12845 #28B194
analogous
#B1288A #B12845 #B14F28
triadic
#B12845 #45B128 #2845B1
tetradic
#B12845 #8AB128 #28B194 #4F28B1
square
#B12845 #8AB128 #28B194 #4F28B1
split-complementary
#B12845 #28B14F #288AB1
monochromatic
#4D111E #7F1D32 #B12845 #D44261 #E0748B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B12845#FFFFFF#000000##FFFFFF
##B128451.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)
#4E4C45
Deuteranopia (green-blind)
#716941
Tritanopia (blue-blind)
#C20034
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #b12845;
/* rgb */ color: rgb(177, 40, 69);
/* oklch */ color: oklch(50.5% 0.172 14.4);
Tailwind
colors: {
  custom: {
    50: '#cf6f78',
    500: '#b12845',
    950: '#000000',
  },
}
SCSS
$custom: #b12845;
$custom-light: #cf6f78;
$custom-dark: #000000;
JSON
{
  "hex": "#b12845",
  "rgb": {
    "r": 177,
    "g": 40,
    "b": 69
  },
  "hsl": {
    "h": 347.299,
    "s": 63.134,
    "l": 42.549
  },
  "oklch": {
    "l": 0.50522,
    "c": 0.17218,
    "h": 14.4
  },
  "luminance": 0.11294
}

Semantic roles & 50–950 ramp

primary
#B12845
secondary
#6EC7B4
accent
#E6C342
background
#FDF7F7
surface
#FBEDED
border
#D4C8C8
text
#150808
muted
#837B7B

Preview Lab

Preview with #B12845

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

Preview Lab → · Contrast checker → · Palette generator →

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