#BA2A28#BA2A28

#BA2A28 is a mid, vivid red. Relative luminance 0.122; OKLCH L 51.8% C 0.181 H 26.8°. Best body text is #FFFFFF at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#BA2A28
RGBrgb(186, 42, 40)
HSLhsl(1, 65%, 44%)
HSVhsv(1, 78%, 73%)
CMYKcmyk(0%, 77.4%, 78.5%, 27.1%)
CIE-LABlab(41.61, 56.14, 37.35)
CIE-LCHlch(41.61, 67.43, 33.63°)
OKLaboklab(51.83% 0.1614 0.0817)
OKLCHoklch(51.83% 0.181 26.8)
XYZxyz(21.4632, 12.2516, 3.2418)
Luminance0.1225 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA2A28 #28B8BA
analogous
#BA286F #BA2A28 #BA7328
triadic
#BA2A28 #28BA2A #2A28BA
tetradic
#BA2A28 #6FBA28 #28B8BA #7328BA
square
#BA2A28 #6FBA28 #28B8BA #7328BA
split-complementary
#BA2A28 #28BA73 #286FBA
monochromatic
#551312 #881F1D #BA2A28 #D84A48 #E27B7A

Accessibility & contrast

On white

6.09
#BA2A28 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#BA2A28 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA2A28
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA2A28#FFFFFF#000000##FFFFFF
##BA2A281.006.093.456.09
#FFFFFF6.091.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#574E26
Deuteranopia (green-blind)
#7A6D22
Tritanopia (blue-blind)
#CD002C
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #ba2a28;
/* rgb */ color: rgb(186, 42, 40);
/* oklch */ color: oklch(51.8% 0.181 26.8);
Tailwind
colors: {
  custom: {
    50: '#d87063',
    500: '#ba2a28',
    950: '#000000',
  },
}
SCSS
$custom: #ba2a28;
$custom-light: #d87063;
$custom-dark: #000000;
JSON
{
  "hex": "#ba2a28",
  "rgb": {
    "r": 186,
    "g": 42,
    "b": 40
  },
  "hsl": {
    "h": 0.822,
    "s": 64.602,
    "l": 44.314
  },
  "oklch": {
    "l": 0.51834,
    "c": 0.18087,
    "h": 26.8
  },
  "luminance": 0.12248
}

Semantic roles & 50–950 ramp

primary
#BA2A28
secondary
#73C9CA
accent
#E5E840
background
#FEF7F5
surface
#FDEDEA
border
#D5C8C6
text
#160805
muted
#847B79

Preview Lab

Preview with #BA2A28

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

Preview Lab → · Contrast checker → · Palette generator →

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