#BA281F#BA281F

#BA281F is a mid, vivid red. Relative luminance 0.121; OKLCH L 51.6% C 0.183 H 28.9°. Best body text is #FFFFFF at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#BA281F
RGBrgb(186, 40, 31)
HSLhsl(3, 71%, 43%)
HSVhsv(3, 83%, 73%)
CMYKcmyk(0%, 78.5%, 83.3%, 27.1%)
CIE-LABlab(41.31, 56.48, 41.93)
CIE-LCHlch(41.31, 70.34, 36.59°)
OKLaboklab(51.58% 0.1607 0.0886)
OKLCHoklch(51.58% 0.183 28.9)
XYZxyz(21.2584, 12.0591, 2.5044)
Luminance0.1206 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA281F #1FB1BA
analogous
#BA1F63 #BA281F #BA761F
triadic
#BA281F #1FBA28 #281FBA
tetradic
#BA281F #63BA1F #1FB1BA #761FBA
square
#BA281F #63BA1F #1FB1BA #761FBA
split-complementary
#BA281F #1FBA76 #1F63BA
monochromatic
#51110E #861D16 #BA281F #DE4238 #E7746D

Accessibility & contrast

On white

6.16
#BA281F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#BA281F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA281F
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA281F#FFFFFF#000000##FFFFFF
##BA281F1.006.163.416.16
#FFFFFF6.161.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#574D1C
Deuteranopia (green-blind)
#7A6D17
Tritanopia (blue-blind)
#CD0028
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #ba281f;
/* rgb */ color: rgb(186, 40, 31);
/* oklch */ color: oklch(51.6% 0.183 28.9);
Tailwind
colors: {
  custom: {
    50: '#d96f5d',
    500: '#ba281f',
    950: '#000000',
  },
}
SCSS
$custom: #ba281f;
$custom-light: #d96f5d;
$custom-dark: #000000;
JSON
{
  "hex": "#ba281f",
  "rgb": {
    "r": 186,
    "g": 40,
    "b": 31
  },
  "hsl": {
    "h": 3.484,
    "s": 71.429,
    "l": 42.549
  },
  "oklch": {
    "l": 0.51581,
    "c": 0.18347,
    "h": 28.9
  },
  "luminance": 0.12056
}

Semantic roles & 50–950 ramp

primary
#BA281F
secondary
#68C7CD
accent
#E4EE3A
background
#FEF7F5
surface
#FDEDE9
border
#D5C8C5
text
#170804
muted
#857B79

Preview Lab

Preview with #BA281F

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

Preview Lab → · Contrast checker → · Palette generator →

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