#BA2E2C#BA2E2C

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

Color values

HEX#BA2E2C
RGBrgb(186, 46, 44)
HSLhsl(1, 62%, 45%)
HSVhsv(1, 76%, 73%)
CMYKcmyk(0%, 75.3%, 76.3%, 27.1%)
CIE-LABlab(42.12, 55.00, 35.61)
CIE-LCHlch(42.12, 65.52, 32.92°)
OKLaboklab(52.23% 0.1586 0.079)
OKLCHoklch(52.23% 0.177 26.5)
XYZxyz(21.6839, 12.5783, 3.6685)
Luminance0.1258 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA2E2C #2CB8BA
analogous
#BA2C71 #BA2E2C #BA752C
triadic
#BA2E2C #2CBA2E #2E2CBA
tetradic
#BA2E2C #71BA2C #2CB8BA #752CBA
square
#BA2E2C #71BA2C #2CB8BA #752CBA
split-complementary
#BA2E2C #2CBA75 #2C71BA
monochromatic
#571615 #892220 #BA2E2C #D5504E #E18180

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BA2E2C#FFFFFF#000000##FFFFFF
##BA2E2C1.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)
#58502A
Deuteranopia (green-blind)
#7B6E26
Tritanopia (blue-blind)
#CD002F
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #ba2e2c;
/* rgb */ color: rgb(186, 46, 44);
/* oklch */ color: oklch(52.2% 0.177 26.5);
Tailwind
colors: {
  custom: {
    50: '#d87266',
    500: '#ba2e2c',
    950: '#000000',
  },
}
SCSS
$custom: #ba2e2c;
$custom-light: #d87266;
$custom-dark: #000000;
JSON
{
  "hex": "#ba2e2c",
  "rgb": {
    "r": 186,
    "g": 46,
    "b": 44
  },
  "hsl": {
    "h": 0.845,
    "s": 61.739,
    "l": 45.098
  },
  "oklch": {
    "l": 0.52226,
    "c": 0.17721,
    "h": 26.5
  },
  "luminance": 0.12575
}

Semantic roles & 50–950 ramp

primary
#BA2E2C
secondary
#78C8CA
accent
#E3E543
background
#FEF7F6
surface
#FDEDEB
border
#D5C8C6
text
#160906
muted
#847B7A

Preview Lab

Preview with #BA2E2C

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

Preview Lab → · Contrast checker → · Palette generator →

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