#B12834#B12834

#B12834 is a mid, vivid red. Relative luminance 0.111; OKLCH L 50.2% C 0.172 H 21.8°. Best body text is #FFFFFF at 6.52:1 contrast (WCAG AA passes).

Color values

HEX#B12834
RGBrgb(177, 40, 52)
HSLhsl(355, 63%, 43%)
HSVhsv(355, 77%, 69%)
CMYKcmyk(0%, 77.4%, 70.6%, 30.6%)
CIE-LABlab(39.77, 54.55, 27.71)
CIE-LCHlch(39.77, 61.18, 26.93°)
OKLaboklab(50.2% 0.1601 0.064)
OKLCHoklch(50.2% 0.172 21.8)
XYZxyz(19.5123, 11.1156, 4.3663)
Luminance0.1111 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B12834 #28B1A5
analogous
#B12878 #B12834 #B16128
triadic
#B12834 #34B128 #2834B1
tetradic
#B12834 #78B128 #28B1A5 #6128B1
square
#B12834 #78B128 #28B1A5 #6128B1
split-complementary
#B12834 #28B161 #2878B1
monochromatic
#4D1117 #7F1D25 #B12834 #D4424F #E0747D

Accessibility & contrast

On white

6.52
#B12834 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#B12834 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B12834
6.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B12834#FFFFFF#000000##FFFFFF
##B128341.006.523.226.52
#FFFFFF6.521.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#514B33
Deuteranopia (green-blind)
#73682F
Tritanopia (blue-blind)
#C3002E
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #b12834;
/* rgb */ color: rgb(177, 40, 52);
/* oklch */ color: oklch(50.2% 0.172 21.8);
Tailwind
colors: {
  custom: {
    50: '#d16e6b',
    500: '#b12834',
    950: '#000000',
  },
}
SCSS
$custom: #b12834;
$custom-light: #d16e6b;
$custom-dark: #000000;
JSON
{
  "hex": "#b12834",
  "rgb": {
    "r": 177,
    "g": 40,
    "b": 52
  },
  "hsl": {
    "h": 354.745,
    "s": 63.134,
    "l": 42.549
  },
  "oklch": {
    "l": 0.50201,
    "c": 0.17243,
    "h": 21.8
  },
  "luminance": 0.11113
}

Semantic roles & 50–950 ramp

primary
#B12834
secondary
#6EC7BF
accent
#E6D842
background
#FDF7F6
surface
#FBEDEB
border
#D4C8C6
text
#150806
muted
#837B7A

Preview Lab

Preview with #B12834

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

Preview Lab → · Contrast checker → · Palette generator →

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