#BA2E2B#BA2E2B

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

Color values

HEX#BA2E2B
RGBrgb(186, 46, 43)
HSLhsl(1, 62%, 45%)
HSVhsv(1, 77%, 73%)
CMYKcmyk(0%, 75.3%, 76.9%, 27.1%)
CIE-LABlab(42.11, 54.96, 36.17)
CIE-LCHlch(42.11, 65.79, 33.35°)
OKLaboklab(52.21% 0.1583 0.08)
OKLCHoklch(52.21% 0.177 26.8)
XYZxyz(21.6653, 12.5709, 3.5707)
Luminance0.1257 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA2E2B #2BB7BA
analogous
#BA2B6F #BA2E2B #BA762B
triadic
#BA2E2B #2BBA2E #2E2BBA
tetradic
#BA2E2B #6FBA2B #2BB7BA #762BBA
square
#BA2E2B #6FBA2B #2BB7BA #762BBA
split-complementary
#BA2E2B #2BBA76 #2B6FBA
monochromatic
#571514 #882220 #BA2E2B #D64F4C #E1807E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BA2E2B#FFFFFF#000000##FFFFFF
##BA2E2B1.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)
#585029
Deuteranopia (green-blind)
#7B6E25
Tritanopia (blue-blind)
#CD002F
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #ba2e2b;
/* rgb */ color: rgb(186, 46, 43);
/* oklch */ color: oklch(52.2% 0.177 26.8);
Tailwind
colors: {
  custom: {
    50: '#d87265',
    500: '#ba2e2b',
    950: '#000000',
  },
}
SCSS
$custom: #ba2e2b;
$custom-light: #d87265;
$custom-dark: #000000;
JSON
{
  "hex": "#ba2e2b",
  "rgb": {
    "r": 186,
    "g": 46,
    "b": 43
  },
  "hsl": {
    "h": 1.259,
    "s": 62.445,
    "l": 44.902
  },
  "oklch": {
    "l": 0.52214,
    "c": 0.17734,
    "h": 26.8
  },
  "luminance": 0.12568
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BA2E2B

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

Preview Lab → · Contrast checker → · Palette generator →

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