#B12848#B12848

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

Color values

HEX#B12848
RGBrgb(177, 40, 72)
HSLhsl(346, 63%, 43%)
HSVhsv(346, 77%, 69%)
CMYKcmyk(0%, 77.4%, 59.3%, 30.6%)
CIE-LABlab(40.14, 55.72, 15.69)
CIE-LCHlch(40.14, 57.89, 15.72°)
OKLaboklab(50.59% 0.1679 0.0388)
OKLCHoklch(50.59% 0.172 13)
XYZxyz(20.0620, 11.3355, 7.2612)
Luminance0.1133 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B12848 #28B191
analogous
#B1288D #B12848 #B14C28
triadic
#B12848 #48B128 #2848B1
tetradic
#B12848 #8DB128 #28B191 #4C28B1
square
#B12848 #8DB128 #28B191 #4C28B1
split-complementary
#B12848 #28B14C #288DB1
monochromatic
#4D111F #7F1D34 #B12848 #D44264 #E0748D

Accessibility & contrast

On white

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

On black

3.27
#B12848 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##B12848#FFFFFF#000000##FFFFFF
##B128481.006.433.276.43
#FFFFFF6.431.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E4D48
Deuteranopia (green-blind)
#716944
Tritanopia (blue-blind)
#C20036
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #b12848;
/* rgb */ color: rgb(177, 40, 72);
/* oklch */ color: oklch(50.6% 0.172 13.0);
Tailwind
colors: {
  custom: {
    50: '#cf6f7a',
    500: '#b12848',
    950: '#000000',
  },
}
SCSS
$custom: #b12848;
$custom-light: #cf6f7a;
$custom-dark: #000000;
JSON
{
  "hex": "#b12848",
  "rgb": {
    "r": 177,
    "g": 40,
    "b": 72
  },
  "hsl": {
    "h": 345.985,
    "s": 63.134,
    "l": 42.549
  },
  "oklch": {
    "l": 0.50589,
    "c": 0.17237,
    "h": 13
  },
  "luminance": 0.11333
}

Semantic roles & 50–950 ramp

primary
#B12848
secondary
#6EC7B2
accent
#E6C042
background
#FDF7F7
surface
#FBEDED
border
#D4C8C8
text
#150809
muted
#837B7B

Preview Lab

Preview with #B12848

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

Preview Lab → · Contrast checker → · Palette generator →

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