#BA2E2A#BA2E2A

#BA2E2A is a mid, vivid red. Relative luminance 0.126; OKLCH L 52.2% C 0.177 H 27.1°. Best body text is #FFFFFF at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#BA2E2A
RGBrgb(186, 46, 42)
HSLhsl(2, 63%, 45%)
HSVhsv(2, 77%, 73%)
CMYKcmyk(0%, 75.3%, 77.4%, 27.1%)
CIE-LABlab(42.10, 54.92, 36.73)
CIE-LCHlch(42.10, 66.07, 33.77°)
OKLaboklab(52.2% 0.158 0.0809)
OKLCHoklch(52.2% 0.177 27.1)
XYZxyz(21.6472, 12.5637, 3.4753)
Luminance0.1256 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA2E2A #2AB6BA
analogous
#BA2A6E #BA2E2A #BA762A
triadic
#BA2E2A #2ABA2E #2E2ABA
tetradic
#BA2E2A #6EBA2A #2AB6BA #762ABA
square
#BA2E2A #6EBA2A #2AB6BA #762ABA
split-complementary
#BA2E2A #2ABA76 #2A6EBA
monochromatic
#561513 #88221F #BA2E2A #D64F4B #E2807D

Accessibility & contrast

On white

5.98
#BA2E2A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#BA2E2A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA2E2A
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA2E2A#FFFFFF#000000##FFFFFF
##BA2E2A1.005.983.515.98
#FFFFFF5.981.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#595028
Deuteranopia (green-blind)
#7B6E24
Tritanopia (blue-blind)
#CD002F
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #ba2e2a;
/* rgb */ color: rgb(186, 46, 42);
/* oklch */ color: oklch(52.2% 0.177 27.1);
Tailwind
colors: {
  custom: {
    50: '#d87264',
    500: '#ba2e2a',
    950: '#000000',
  },
}
SCSS
$custom: #ba2e2a;
$custom-light: #d87264;
$custom-dark: #000000;
JSON
{
  "hex": "#ba2e2a",
  "rgb": {
    "r": 186,
    "g": 46,
    "b": 42
  },
  "hsl": {
    "h": 1.667,
    "s": 63.158,
    "l": 44.706
  },
  "oklch": {
    "l": 0.52202,
    "c": 0.17747,
    "h": 27.1
  },
  "luminance": 0.1256
}

Semantic roles & 50–950 ramp

primary
#BA2E2A
secondary
#76C8CA
accent
#E2E642
background
#FEF7F6
surface
#FDEDEB
border
#D5C8C6
text
#160905
muted
#847B7A

Preview Lab

Preview with #BA2E2A

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

Preview Lab → · Contrast checker → · Palette generator →

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