#B12827#B12827

#B12827 is a mid, vivid red. Relative luminance 0.110; OKLCH L 50.0% C 0.174 H 26.5°. Best body text is #FFFFFF at 6.56:1 contrast (WCAG AA passes).

Color values

HEX#B12827
RGBrgb(177, 40, 39)
HSLhsl(0, 64%, 42%)
HSVhsv(0, 78%, 69%)
CMYKcmyk(0%, 77.4%, 78%, 30.6%)
CIE-LABlab(39.60, 54.00, 35.26)
CIE-LCHlch(39.60, 64.49, 33.14°)
OKLaboklab(50.02% 0.1555 0.0775)
OKLCHoklch(50.02% 0.174 26.5)
XYZxyz(19.2588, 11.0142, 3.0310)
Luminance0.1101 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B12827 #27B0B1
analogous
#B1276B #B12827 #B16D27
triadic
#B12827 #27B128 #2827B1
tetradic
#B12827 #6BB127 #27B0B1 #6D27B1
square
#B12827 #6BB127 #27B0B1 #6D27B1
split-complementary
#B12827 #27B16D #276BB1
monochromatic
#4D1111 #7F1D1C #B12827 #D54140 #E07372

Accessibility & contrast

On white

6.56
#B12827 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#B12827 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B12827
6.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B12827#FFFFFF#000000##FFFFFF
##B128271.006.563.206.56
#FFFFFF6.561.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#524A25
Deuteranopia (green-blind)
#746821
Tritanopia (blue-blind)
#C3002A
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #b12827;
/* rgb */ color: rgb(177, 40, 39);
/* oklch */ color: oklch(50.0% 0.174 26.5);
Tailwind
colors: {
  custom: {
    50: '#d16e62',
    500: '#b12827',
    950: '#000000',
  },
}
SCSS
$custom: #b12827;
$custom-light: #d16e62;
$custom-dark: #000000;
JSON
{
  "hex": "#b12827",
  "rgb": {
    "r": 177,
    "g": 40,
    "b": 39
  },
  "hsl": {
    "h": 0.435,
    "s": 63.889,
    "l": 42.353
  },
  "oklch": {
    "l": 0.5002,
    "c": 0.17376,
    "h": 26.5
  },
  "luminance": 0.11011
}

Semantic roles & 50–950 ramp

primary
#B12827
secondary
#6DC6C7
accent
#E6E741
background
#FEF7F5
surface
#FCEDEA
border
#D5C8C6
text
#160805
muted
#847B79

Preview Lab

Preview with #B12827

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

Preview Lab → · Contrast checker → · Palette generator →

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