#BA3A28#BA3A28

#BA3A28 is a mid, vivid red. Relative luminance 0.136; OKLCH L 53.4% C 0.167 H 31.0°. Best body text is #FFFFFF at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#BA3A28
RGBrgb(186, 58, 40)
HSLhsl(7, 65%, 44%)
HSVhsv(7, 78%, 73%)
CMYKcmyk(0%, 68.8%, 78.5%, 27.1%)
CIE-LABlab(43.69, 50.42, 39.50)
CIE-LCHlch(43.69, 64.05, 38.07°)
OKLaboklab(53.38% 0.1434 0.0864)
OKLCHoklch(53.38% 0.167 31)
XYZxyz(22.1483, 13.6217, 3.4701)
Luminance0.1362 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3A28 #28A8BA
analogous
#BA285F #BA3A28 #BA8328
triadic
#BA3A28 #28BA3A #3A28BA
tetradic
#BA3A28 #5FBA28 #28A8BA #8328BA
square
#BA3A28 #5FBA28 #28A8BA #8328BA
split-complementary
#BA3A28 #28BA83 #285FBA
monochromatic
#551B12 #882A1D #BA3A28 #D85948 #E2877A

Accessibility & contrast

On white

5.64
#BA3A28 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#BA3A28 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA3A28
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA3A28#FFFFFF#000000##FFFFFF
##BA3A281.005.643.725.64
#FFFFFF5.641.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F5525
Deuteranopia (green-blind)
#7F7223
Tritanopia (blue-blind)
#CD0D37
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #ba3a28;
/* rgb */ color: rgb(186, 58, 40);
/* oklch */ color: oklch(53.4% 0.167 31.0);
Tailwind
colors: {
  custom: {
    50: '#d77863',
    500: '#ba3a28',
    950: '#000000',
  },
}
SCSS
$custom: #ba3a28;
$custom-light: #d77863;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3a28",
  "rgb": {
    "r": 186,
    "g": 58,
    "b": 40
  },
  "hsl": {
    "h": 7.397,
    "s": 64.602,
    "l": 44.314
  },
  "oklch": {
    "l": 0.53381,
    "c": 0.16742,
    "h": 31
  },
  "luminance": 0.13618
}

Semantic roles & 50–950 ramp

primary
#BA3A28
secondary
#73C0CA
accent
#D3E840
background
#FEF7F6
surface
#FDEEEB
border
#D5C9C6
text
#160905
muted
#847B7A

Preview Lab

Preview with #BA3A28

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

Preview Lab → · Contrast checker → · Palette generator →

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