#B13227#B13227

#B13227 is a mid, vivid red. Relative luminance 0.118; OKLCH L 51.0% C 0.165 H 29.1°. Best body text is #FFFFFF at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#B13227
RGBrgb(177, 50, 39)
HSLhsl(5, 64%, 42%)
HSVhsv(5, 78%, 69%)
CMYKcmyk(0%, 71.8%, 78%, 30.6%)
CIE-LABlab(40.86, 50.51, 36.59)
CIE-LCHlch(40.86, 62.37, 35.92°)
OKLaboklab(50.96% 0.1445 0.0804)
OKLCHoklch(50.96% 0.165 29.1)
XYZxyz(19.6405, 11.7778, 3.1582)
Luminance0.1177 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B13227 #27A6B1
analogous
#B12761 #B13227 #B17727
triadic
#B13227 #27B132 #3227B1
tetradic
#B13227 #61B127 #27A6B1 #7727B1
square
#B13227 #61B127 #27A6B1 #7727B1
split-complementary
#B13227 #27B177 #2761B1
monochromatic
#4D1611 #7F241C #B13227 #D54C40 #E07B72

Accessibility & contrast

On white

6.26
#B13227 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#B13227 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B13227
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B13227#FFFFFF#000000##FFFFFF
##B132271.006.263.366.26
#FFFFFF6.261.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#574F25
Deuteranopia (green-blind)
#776A22
Tritanopia (blue-blind)
#C30031
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #b13227;
/* rgb */ color: rgb(177, 50, 39);
/* oklch */ color: oklch(51.0% 0.165 29.1);
Tailwind
colors: {
  custom: {
    50: '#d17362',
    500: '#b13227',
    950: '#000000',
  },
}
SCSS
$custom: #b13227;
$custom-light: #d17362;
$custom-dark: #000000;
JSON
{
  "hex": "#b13227",
  "rgb": {
    "r": 177,
    "g": 50,
    "b": 39
  },
  "hsl": {
    "h": 4.783,
    "s": 63.889,
    "l": 42.353
  },
  "oklch": {
    "l": 0.50957,
    "c": 0.1654,
    "h": 29.1
  },
  "luminance": 0.11775
}

Semantic roles & 50–950 ramp

primary
#B13227
secondary
#6DC0C7
accent
#DAE741
background
#FEF7F5
surface
#FCEDEA
border
#D5C8C6
text
#160805
muted
#847B79

Preview Lab

Preview with #B13227

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

Preview Lab → · Contrast checker → · Palette generator →

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