#B12849#B12849

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

Color values

HEX#B12849
RGBrgb(177, 40, 73)
HSLhsl(346, 63%, 43%)
HSVhsv(346, 77%, 69%)
CMYKcmyk(0%, 77.4%, 58.8%, 30.6%)
CIE-LABlab(40.16, 55.79, 15.09)
CIE-LCHlch(40.16, 57.79, 15.13°)
OKLaboklab(50.61% 0.1684 0.0374)
OKLCHoklch(50.61% 0.172 12.5)
XYZxyz(20.0949, 11.3487, 7.4344)
Luminance0.1135 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B12849 #28B190
analogous
#B1288E #B12849 #B14B28
triadic
#B12849 #49B128 #2849B1
tetradic
#B12849 #8EB128 #28B190 #4B28B1
square
#B12849 #8EB128 #28B190 #4B28B1
split-complementary
#B12849 #28B14B #288EB1
monochromatic
#4D1120 #7F1D34 #B12849 #D44265 #E0748E

Accessibility & contrast

On white

6.42
#B12849 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B12849
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B12849#FFFFFF#000000##FFFFFF
##B128491.006.423.276.42
#FFFFFF6.421.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.421.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b12849;
/* rgb */ color: rgb(177, 40, 73);
/* oklch */ color: oklch(50.6% 0.172 12.5);
Tailwind
colors: {
  custom: {
    50: '#cf6f7b',
    500: '#b12849',
    950: '#000000',
  },
}
SCSS
$custom: #b12849;
$custom-light: #cf6f7b;
$custom-dark: #000000;
JSON
{
  "hex": "#b12849",
  "rgb": {
    "r": 177,
    "g": 40,
    "b": 73
  },
  "hsl": {
    "h": 345.547,
    "s": 63.134,
    "l": 42.549
  },
  "oklch": {
    "l": 0.50612,
    "c": 0.17246,
    "h": 12.5
  },
  "luminance": 0.11346
}

Semantic roles & 50–950 ramp

primary
#B12849
secondary
#6EC7B1
accent
#E6BF42
background
#FDF7F7
surface
#FBEDED
border
#D4C8C8
text
#150809
muted
#837B7B

Preview Lab

Preview with #B12849

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

Preview Lab → · Contrast checker → · Palette generator →

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