#B12020#B12020

#B12020 is a mid, vivid red. Relative luminance 0.105; OKLCH L 49.3% C 0.180 H 27.0°. Best body text is #FFFFFF at 6.78:1 contrast (WCAG AA passes).

Color values

HEX#B12020
RGBrgb(177, 32, 32)
HSLhsl(0, 69%, 41%)
HSVhsv(0, 82%, 69%)
CMYKcmyk(0%, 81.9%, 81.9%, 30.6%)
CIE-LABlab(38.70, 56.11, 38.28)
CIE-LCHlch(38.70, 67.92, 34.31°)
OKLaboklab(49.33% 0.1607 0.0818)
OKLCHoklch(49.33% 0.18 27)
XYZxyz(18.9110, 10.4875, 2.3948)
Luminance0.1048 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B12020 #20B1B1
analogous
#B12068 #B12020 #B16820
triadic
#B12020 #20B120 #2020B1
tetradic
#B12020 #68B120 #20B1B1 #6820B1
square
#B12020 #68B120 #20B1B1 #6820B1
split-complementary
#B12020 #20B168 #2068B1
monochromatic
#490D0D #7D1717 #B12020 #DA3434 #E46868

Accessibility & contrast

On white

6.78
#B12020 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#B12020 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B12020
6.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B12020#FFFFFF#000000##FFFFFF
##B120201.006.783.106.78
#FFFFFF6.781.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F471E
Deuteranopia (green-blind)
#736618
Tritanopia (blue-blind)
#C30023
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #b12020;
/* rgb */ color: rgb(177, 32, 32);
/* oklch */ color: oklch(49.3% 0.180 27.0);
Tailwind
colors: {
  custom: {
    50: '#d26b5d',
    500: '#b12020',
    950: '#000000',
  },
}
SCSS
$custom: #b12020;
$custom-light: #d26b5d;
$custom-dark: #000000;
JSON
{
  "hex": "#b12020",
  "rgb": {
    "r": 177,
    "g": 32,
    "b": 32
  },
  "hsl": {
    "h": 0,
    "s": 69.378,
    "l": 40.98
  },
  "oklch": {
    "l": 0.49328,
    "c": 0.1803,
    "h": 27
  },
  "luminance": 0.10484
}

Semantic roles & 50–950 ramp

primary
#B12020
secondary
#64C9C9
accent
#ECEC3C
background
#FEF6F5
surface
#FCECE9
border
#D5C7C5
text
#160804
muted
#847A79

Preview Lab

Preview with #B12020

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

Preview Lab → · Contrast checker → · Palette generator →

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