#B12217#B12217

#B12217 is a mid, vivid red. Relative luminance 0.106; OKLCH L 49.4% C 0.180 H 29.6°. Best body text is #FFFFFF at 6.75:1 contrast (WCAG AA passes).

Color values

HEX#B12217
RGBrgb(177, 34, 23)
HSLhsl(4, 77%, 39%)
HSVhsv(4, 87%, 69%)
CMYKcmyk(0%, 80.8%, 87%, 30.6%)
CIE-LABlab(38.82, 55.33, 43.06)
CIE-LCHlch(38.82, 70.11, 37.89°)
OKLaboklab(49.39% 0.1566 0.0888)
OKLCHoklch(49.39% 0.18 29.6)
XYZxyz(18.8605, 10.5561, 1.8549)
Luminance0.1055 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B12217 #17A6B1
analogous
#B11759 #B12217 #B16F17
triadic
#B12217 #17B122 #2217B1
tetradic
#B12217 #59B117 #17A6B1 #6F17B1
square
#B12217 #59B117 #17A6B1 #6F17B1
split-complementary
#B12217 #17B16F #1759B1
monochromatic
#450D09 #7B1810 #B12217 #E23023 #E96359

Accessibility & contrast

On white

6.75
#B12217 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#B12217 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B12217
6.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B12217#FFFFFF#000000##FFFFFF
##B122171.006.753.116.75
#FFFFFF6.751.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#514713
Deuteranopia (green-blind)
#74670C
Tritanopia (blue-blind)
#C40022
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #b12217;
/* rgb */ color: rgb(177, 34, 23);
/* oklch */ color: oklch(49.4% 0.180 29.6);
Tailwind
colors: {
  custom: {
    50: '#d36c57',
    500: '#b12217',
    950: '#000000',
  },
}
SCSS
$custom: #b12217;
$custom-light: #d36c57;
$custom-dark: #000000;
JSON
{
  "hex": "#b12217",
  "rgb": {
    "r": 177,
    "g": 34,
    "b": 23
  },
  "hsl": {
    "h": 4.286,
    "s": 77,
    "l": 39.216
  },
  "oklch": {
    "l": 0.49393,
    "c": 0.18,
    "h": 29.6
  },
  "luminance": 0.10553
}

Semantic roles & 50–950 ramp

primary
#B12217
secondary
#57C4CD
accent
#E6F434
background
#FEF6F5
surface
#FCECE9
border
#D5C7C5
text
#160803
muted
#847A78

Preview Lab

Preview with #B12217

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

Preview Lab → · Contrast checker → · Palette generator →

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