#B0271C#B0271C

#B0271C is a mid, vivid red. Relative luminance 0.108; OKLCH L 49.6% C 0.175 H 29.4°. Best body text is #FFFFFF at 6.66:1 contrast (WCAG AA passes).

Color values

HEX#B0271C
RGBrgb(176, 39, 28)
HSLhsl(4, 73%, 40%)
HSVhsv(4, 84%, 69%)
CMYKcmyk(0%, 77.8%, 84.1%, 31%)
CIE-LABlab(39.19, 53.67, 40.80)
CIE-LCHlch(39.19, 67.42, 37.25°)
OKLaboklab(49.64% 0.1524 0.086)
OKLCHoklch(49.64% 0.175 29.4)
XYZxyz(18.8419, 10.7680, 2.1847)
Luminance0.1076 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B0271C #1CA5B0
analogous
#B01C5B #B0271C #B0711C
triadic
#B0271C #1CB027 #271CB0
tetradic
#B0271C #5BB01C #1CA5B0 #711CB0
square
#B0271C #5BB01C #1CA5B0 #711CB0
split-complementary
#B0271C #1CB071 #1C5BB0
monochromatic
#46100B #7B1B14 #B0271C #DD392C #E66A61

Accessibility & contrast

On white

6.66
#B0271C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#B0271C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B0271C
6.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B0271C#FFFFFF#000000##FFFFFF
##B0271C1.006.663.156.66
#FFFFFF6.661.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#524919
Deuteranopia (green-blind)
#746714
Tritanopia (blue-blind)
#C20026
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #b0271c;
/* rgb */ color: rgb(176, 39, 28);
/* oklch */ color: oklch(49.6% 0.175 29.4);
Tailwind
colors: {
  custom: {
    50: '#d16d5a',
    500: '#b0271c',
    950: '#000000',
  },
}
SCSS
$custom: #b0271c;
$custom-light: #d16d5a;
$custom-dark: #000000;
JSON
{
  "hex": "#b0271c",
  "rgb": {
    "r": 176,
    "g": 39,
    "b": 28
  },
  "hsl": {
    "h": 4.459,
    "s": 72.549,
    "l": 40
  },
  "oklch": {
    "l": 0.4964,
    "c": 0.17494,
    "h": 29.4
  },
  "luminance": 0.10765
}

Semantic roles & 50–950 ramp

primary
#B0271C
secondary
#5EC2CA
accent
#E2EF39
background
#FEF7F5
surface
#FCEDE9
border
#D5C8C5
text
#160804
muted
#847B79

Preview Lab

Preview with #B0271C

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

Preview Lab → · Contrast checker → · Palette generator →

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