#BA2D2A#BA2D2A

#BA2D2A is a mid, vivid red. Relative luminance 0.125; OKLCH L 52.1% C 0.178 H 26.9°. Best body text is #FFFFFF at 6.01:1 contrast (WCAG AA passes).

Color values

HEX#BA2D2A
RGBrgb(186, 45, 42)
HSLhsl(1, 63%, 45%)
HSVhsv(1, 77%, 73%)
CMYKcmyk(0%, 75.8%, 77.4%, 27.1%)
CIE-LABlab(41.98, 55.25, 36.60)
CIE-LCHlch(41.98, 66.28, 33.52°)
OKLaboklab(52.11% 0.159 0.0806)
OKLCHoklch(52.11% 0.178 26.9)
XYZxyz(21.6086, 12.4864, 3.4624)
Luminance0.1248 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA2D2A #2AB7BA
analogous
#BA2A6F #BA2D2A #BA752A
triadic
#BA2D2A #2ABA2D #2D2ABA
tetradic
#BA2D2A #6FBA2A #2AB7BA #752ABA
square
#BA2D2A #6FBA2A #2AB7BA #752ABA
split-complementary
#BA2D2A #2ABA75 #2A6FBA
monochromatic
#561513 #88211F #BA2D2A #D64E4B #E27F7D

Accessibility & contrast

On white

6.01
#BA2D2A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#BA2D2A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA2D2A
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA2D2A#FFFFFF#000000##FFFFFF
##BA2D2A1.006.013.506.01
#FFFFFF6.011.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#584F28
Deuteranopia (green-blind)
#7B6E24
Tritanopia (blue-blind)
#CD002E
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #ba2d2a;
/* rgb */ color: rgb(186, 45, 42);
/* oklch */ color: oklch(52.1% 0.178 26.9);
Tailwind
colors: {
  custom: {
    50: '#d87264',
    500: '#ba2d2a',
    950: '#000000',
  },
}
SCSS
$custom: #ba2d2a;
$custom-light: #d87264;
$custom-dark: #000000;
JSON
{
  "hex": "#ba2d2a",
  "rgb": {
    "r": 186,
    "g": 45,
    "b": 42
  },
  "hsl": {
    "h": 1.25,
    "s": 63.158,
    "l": 44.706
  },
  "oklch": {
    "l": 0.52113,
    "c": 0.17828,
    "h": 26.9
  },
  "luminance": 0.12483
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BA2D2A

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

Preview Lab → · Contrast checker → · Palette generator →

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