#BA2E2E#BA2E2E

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

Color values

HEX#BA2E2E
RGBrgb(186, 46, 46)
HSLhsl(0, 60%, 45%)
HSVhsv(0, 75%, 73%)
CMYKcmyk(0%, 75.3%, 75.3%, 27.1%)
CIE-LABlab(42.14, 55.08, 34.48)
CIE-LCHlch(42.14, 64.98, 32.05°)
OKLaboklab(52.25% 0.1593 0.0771)
OKLCHoklch(52.25% 0.177 25.8)
XYZxyz(21.7224, 12.5937, 3.8713)
Luminance0.1259 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA2E2E #2EBABA
analogous
#BA2E74 #BA2E2E #BA742E
triadic
#BA2E2E #2EBA2E #2E2EBA
tetradic
#BA2E2E #74BA2E #2EBABA #742EBA
square
#BA2E2E #74BA2E #2EBABA #742EBA
split-complementary
#BA2E2E #2EBA74 #2E74BA
monochromatic
#581616 #892222 #BA2E2E #D45151 #E08282

Accessibility & contrast

On white

5.97
#BA2E2E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#BA2E2E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA2E2E
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA2E2E#FFFFFF#000000##FFFFFF
##BA2E2E1.005.973.525.97
#FFFFFF5.971.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#58502C
Deuteranopia (green-blind)
#7B6E29
Tritanopia (blue-blind)
#CD0030
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #ba2e2e;
/* rgb */ color: rgb(186, 46, 46);
/* oklch */ color: oklch(52.3% 0.177 25.8);
Tailwind
colors: {
  custom: {
    50: '#d87267',
    500: '#ba2e2e',
    950: '#000000',
  },
}
SCSS
$custom: #ba2e2e;
$custom-light: #d87267;
$custom-dark: #000000;
JSON
{
  "hex": "#ba2e2e",
  "rgb": {
    "r": 186,
    "g": 46,
    "b": 46
  },
  "hsl": {
    "h": 0,
    "s": 60.345,
    "l": 45.49
  },
  "oklch": {
    "l": 0.52251,
    "c": 0.17696,
    "h": 25.8
  },
  "luminance": 0.1259
}

Semantic roles & 50–950 ramp

primary
#BA2E2E
secondary
#7BC9C9
accent
#E3E344
background
#FEF7F6
surface
#FDEDEB
border
#D5C8C6
text
#160906
muted
#847B7A

Preview Lab

Preview with #BA2E2E

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

Preview Lab → · Contrast checker → · Palette generator →

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