#BA2B2F#BA2B2F

#BA2B2F is a mid, vivid red. Relative luminance 0.124; OKLCH L 52.0% C 0.179 H 24.8°. Best body text is #FFFFFF at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#BA2B2F
RGBrgb(186, 43, 47)
HSLhsl(358, 62%, 45%)
HSVhsv(358, 77%, 73%)
CMYKcmyk(0%, 76.9%, 74.7%, 27.1%)
CIE-LABlab(41.81, 56.09, 33.52)
CIE-LCHlch(41.81, 65.35, 30.86°)
OKLaboklab(52% 0.1627 0.0752)
OKLCHoklch(52% 0.179 24.8)
XYZxyz(21.6292, 12.3755, 3.9386)
Luminance0.1237 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA2B2F #2BBAB6
analogous
#BA2B76 #BA2B2F #BA6F2B
triadic
#BA2B2F #2FBA2B #2B2FBA
tetradic
#BA2B2F #76BA2B #2BBAB6 #6F2BBA
square
#BA2B2F #76BA2B #2BBAB6 #6F2BBA
split-complementary
#BA2B2F #2BBA6F #2B76BA
monochromatic
#571416 #882022 #BA2B2F #D64C50 #E17E81

Accessibility & contrast

On white

6.04
#BA2B2F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#BA2B2F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA2B2F
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA2B2F#FFFFFF#000000##FFFFFF
##BA2B2F1.006.043.476.04
#FFFFFF6.041.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#574F2E
Deuteranopia (green-blind)
#7A6E2A
Tritanopia (blue-blind)
#CD002E
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #ba2b2f;
/* rgb */ color: rgb(186, 43, 47);
/* oklch */ color: oklch(52.0% 0.179 24.8);
Tailwind
colors: {
  custom: {
    50: '#d87168',
    500: '#ba2b2f',
    950: '#000000',
  },
}
SCSS
$custom: #ba2b2f;
$custom-light: #d87168;
$custom-dark: #000000;
JSON
{
  "hex": "#ba2b2f",
  "rgb": {
    "r": 186,
    "g": 43,
    "b": 47
  },
  "hsl": {
    "h": 358.322,
    "s": 62.445,
    "l": 44.902
  },
  "oklch": {
    "l": 0.52004,
    "c": 0.17928,
    "h": 24.8
  },
  "luminance": 0.12372
}

Semantic roles & 50–950 ramp

primary
#BA2B2F
secondary
#77CAC7
accent
#E6E142
background
#FEF7F6
surface
#FDEDEB
border
#D5C8C6
text
#160806
muted
#847B7A

Preview Lab

Preview with #BA2B2F

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

Preview Lab → · Contrast checker → · Palette generator →

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