#B12835#B12835

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

Color values

HEX#B12835
RGBrgb(177, 40, 53)
HSLhsl(354, 63%, 43%)
HSVhsv(354, 77%, 69%)
CMYKcmyk(0%, 77.4%, 70.1%, 30.6%)
CIE-LABlab(39.79, 54.60, 27.11)
CIE-LCHlch(39.79, 60.96, 26.41°)
OKLaboklab(50.22% 0.1605 0.0629)
OKLCHoklch(50.22% 0.172 21.4)
XYZxyz(19.5351, 11.1248, 4.4861)
Luminance0.1112 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B12835 #28B1A4
analogous
#B12879 #B12835 #B16028
triadic
#B12835 #35B128 #2835B1
tetradic
#B12835 #79B128 #28B1A4 #6028B1
square
#B12835 #79B128 #28B1A4 #6028B1
split-complementary
#B12835 #28B160 #2879B1
monochromatic
#4D1117 #7F1D26 #B12835 #D44250 #E0747E

Accessibility & contrast

On white

6.51
#B12835 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B12835
6.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B12835#FFFFFF#000000##FFFFFF
##B128351.006.513.226.51
#FFFFFF6.511.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#514B34
Deuteranopia (green-blind)
#736831
Tritanopia (blue-blind)
#C3002E
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #b12835;
/* rgb */ color: rgb(177, 40, 53);
/* oklch */ color: oklch(50.2% 0.172 21.4);
Tailwind
colors: {
  custom: {
    50: '#d06e6c',
    500: '#b12835',
    950: '#000000',
  },
}
SCSS
$custom: #b12835;
$custom-light: #d06e6c;
$custom-dark: #000000;
JSON
{
  "hex": "#b12835",
  "rgb": {
    "r": 177,
    "g": 40,
    "b": 53
  },
  "hsl": {
    "h": 354.307,
    "s": 63.134,
    "l": 42.549
  },
  "oklch": {
    "l": 0.50217,
    "c": 0.17236,
    "h": 21.4
  },
  "luminance": 0.11122
}

Semantic roles & 50–950 ramp

primary
#B12835
secondary
#6EC7BE
accent
#E6D742
background
#FDF7F6
surface
#FBEDEB
border
#D4C8C6
text
#150807
muted
#837B7A

Preview Lab

Preview with #B12835

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

Preview Lab → · Contrast checker → · Palette generator →

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