#B12839#B12839

#B12839 is a mid, vivid red. Relative luminance 0.112; OKLCH L 50.3% C 0.172 H 19.7°. Best body text is #FFFFFF at 6.50:1 contrast (WCAG AA passes).

Color values

HEX#B12839
RGBrgb(177, 40, 57)
HSLhsl(353, 63%, 43%)
HSVhsv(353, 77%, 69%)
CMYKcmyk(0%, 77.4%, 67.8%, 30.6%)
CIE-LABlab(39.85, 54.80, 24.72)
CIE-LCHlch(39.85, 60.12, 24.28°)
OKLaboklab(50.29% 0.162 0.0582)
OKLCHoklch(50.29% 0.172 19.7)
XYZxyz(19.6309, 11.1631, 4.9911)
Luminance0.1116 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B12839 #28B1A0
analogous
#B1287D #B12839 #B15C28
triadic
#B12839 #39B128 #2839B1
tetradic
#B12839 #7DB128 #28B1A0 #5C28B1
square
#B12839 #7DB128 #28B1A0 #5C28B1
split-complementary
#B12839 #28B15C #287DB1
monochromatic
#4D1119 #7F1D29 #B12839 #D44254 #E07481

Accessibility & contrast

On white

6.50
#B12839 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#B12839 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B12839
6.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B12839#FFFFFF#000000##FFFFFF
##B128391.006.503.236.50
#FFFFFF6.501.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#504B39
Deuteranopia (green-blind)
#736835
Tritanopia (blue-blind)
#C30030
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #b12839;
/* rgb */ color: rgb(177, 40, 57);
/* oklch */ color: oklch(50.3% 0.172 19.7);
Tailwind
colors: {
  custom: {
    50: '#d06f6f',
    500: '#b12839',
    950: '#000000',
  },
}
SCSS
$custom: #b12839;
$custom-light: #d06f6f;
$custom-dark: #000000;
JSON
{
  "hex": "#b12839",
  "rgb": {
    "r": 177,
    "g": 40,
    "b": 57
  },
  "hsl": {
    "h": 352.555,
    "s": 63.134,
    "l": 42.549
  },
  "oklch": {
    "l": 0.50285,
    "c": 0.17214,
    "h": 19.7
  },
  "luminance": 0.1116
}

Semantic roles & 50–950 ramp

primary
#B12839
secondary
#6EC7BC
accent
#E6D242
background
#FDF7F6
surface
#FBEDEC
border
#D4C8C7
text
#150807
muted
#837B7A

Preview Lab

Preview with #B12839

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

Preview Lab → · Contrast checker → · Palette generator →

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