#BA2D2B#BA2D2B

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

Color values

HEX#BA2D2B
RGBrgb(186, 45, 43)
HSLhsl(1, 62%, 45%)
HSVhsv(1, 77%, 73%)
CMYKcmyk(0%, 75.8%, 76.9%, 27.1%)
CIE-LABlab(41.99, 55.29, 36.04)
CIE-LCHlch(41.99, 66.00, 33.10°)
OKLaboklab(52.13% 0.1593 0.0797)
OKLCHoklch(52.13% 0.178 26.6)
XYZxyz(21.6267, 12.4937, 3.5578)
Luminance0.1249 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA2D2B #2BB8BA
analogous
#BA2B71 #BA2D2B #BA742B
triadic
#BA2D2B #2BBA2D #2D2BBA
tetradic
#BA2D2B #71BA2B #2BB8BA #742BBA
square
#BA2D2B #71BA2B #2BB8BA #742BBA
split-complementary
#BA2D2B #2BBA74 #2B71BA
monochromatic
#571514 #882120 #BA2D2B #D64E4C #E1807E

Accessibility & contrast

On white

6.00
#BA2D2B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #BA2D2B
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA2D2B#FFFFFF#000000##FFFFFF
##BA2D2B1.006.003.506.00
#FFFFFF6.001.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#585029
Deuteranopia (green-blind)
#7B6E25
Tritanopia (blue-blind)
#CD002E
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #ba2d2b;
/* rgb */ color: rgb(186, 45, 43);
/* oklch */ color: oklch(52.1% 0.178 26.6);
Tailwind
colors: {
  custom: {
    50: '#d87265',
    500: '#ba2d2b',
    950: '#000000',
  },
}
SCSS
$custom: #ba2d2b;
$custom-light: #d87265;
$custom-dark: #000000;
JSON
{
  "hex": "#ba2d2b",
  "rgb": {
    "r": 186,
    "g": 45,
    "b": 43
  },
  "hsl": {
    "h": 0.839,
    "s": 62.445,
    "l": 44.902
  },
  "oklch": {
    "l": 0.52125,
    "c": 0.17815,
    "h": 26.6
  },
  "luminance": 0.1249
}

Semantic roles & 50–950 ramp

primary
#BA2D2B
secondary
#77C9CA
accent
#E3E642
background
#FEF7F6
surface
#FDEDEB
border
#D5C8C6
text
#160905
muted
#847B7A

Preview Lab

Preview with #BA2D2B

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

Preview Lab → · Contrast checker → · Palette generator →

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