#B13228#B13228

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

Color values

HEX#B13228
RGBrgb(177, 50, 40)
HSLhsl(4, 63%, 43%)
HSVhsv(4, 77%, 69%)
CMYKcmyk(0%, 71.8%, 77.4%, 30.6%)
CIE-LABlab(40.87, 50.55, 36.04)
CIE-LCHlch(40.87, 62.08, 35.48°)
OKLaboklab(50.97% 0.1449 0.0795)
OKLCHoklch(50.97% 0.165 28.8)
XYZxyz(19.6573, 11.7845, 3.2467)
Luminance0.1178 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B13228 #28A7B1
analogous
#B12862 #B13228 #B17728
triadic
#B13228 #28B132 #3228B1
tetradic
#B13228 #62B128 #28A7B1 #7728B1
square
#B13228 #62B128 #28A7B1 #7728B1
split-complementary
#B13228 #28B177 #2862B1
monochromatic
#4D1611 #7F241D #B13228 #D44D42 #E07C74

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B13228#FFFFFF#000000##FFFFFF
##B132281.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)
#574F26
Deuteranopia (green-blind)
#776B23
Tritanopia (blue-blind)
#C30031
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #b13228;
/* rgb */ color: rgb(177, 50, 40);
/* oklch */ color: oklch(51.0% 0.165 28.8);
Tailwind
colors: {
  custom: {
    50: '#d17363',
    500: '#b13228',
    950: '#000000',
  },
}
SCSS
$custom: #b13228;
$custom-light: #d17363;
$custom-dark: #000000;
JSON
{
  "hex": "#b13228",
  "rgb": {
    "r": 177,
    "g": 50,
    "b": 40
  },
  "hsl": {
    "h": 4.38,
    "s": 63.134,
    "l": 42.549
  },
  "oklch": {
    "l": 0.50968,
    "c": 0.16524,
    "h": 28.8
  },
  "luminance": 0.11782
}

Semantic roles & 50–950 ramp

primary
#B13228
secondary
#6EC0C7
accent
#DAE642
background
#FEF7F5
surface
#FCEDEA
border
#D5C8C6
text
#160805
muted
#847B79

Preview Lab

Preview with #B13228

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

Preview Lab → · Contrast checker → · Palette generator →

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