#BA3328#BA3328

#BA3328 is a mid, vivid red. Relative luminance 0.130; OKLCH L 52.6% C 0.174 H 29.0°. Best body text is #FFFFFF at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#BA3328
RGBrgb(186, 51, 40)
HSLhsl(5, 65%, 44%)
HSVhsv(5, 78%, 73%)
CMYKcmyk(0%, 72.6%, 78.5%, 27.1%)
CIE-LABlab(42.71, 53.10, 38.49)
CIE-LCHlch(42.71, 65.58, 35.93°)
OKLaboklab(52.65% 0.1518 0.0842)
OKLCHoklch(52.65% 0.174 29)
XYZxyz(21.8191, 12.9633, 3.3604)
Luminance0.1296 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3328 #28AFBA
analogous
#BA2866 #BA3328 #BA7C28
triadic
#BA3328 #28BA33 #3328BA
tetradic
#BA3328 #66BA28 #28AFBA #7C28BA
square
#BA3328 #66BA28 #28AFBA #7C28BA
split-complementary
#BA3328 #28BA7C #2866BA
monochromatic
#551712 #88251D #BA3328 #D85248 #E2827A

Accessibility & contrast

On white

5.85
#BA3328 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#BA3328 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA3328
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA3328#FFFFFF#000000##FFFFFF
##BA33281.005.853.595.85
#FFFFFF5.851.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B5225
Deuteranopia (green-blind)
#7D7022
Tritanopia (blue-blind)
#CD0032
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #ba3328;
/* rgb */ color: rgb(186, 51, 40);
/* oklch */ color: oklch(52.6% 0.174 29.0);
Tailwind
colors: {
  custom: {
    50: '#d87463',
    500: '#ba3328',
    950: '#000000',
  },
}
SCSS
$custom: #ba3328;
$custom-light: #d87463;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3328",
  "rgb": {
    "r": 186,
    "g": 51,
    "b": 40
  },
  "hsl": {
    "h": 4.521,
    "s": 64.602,
    "l": 44.314
  },
  "oklch": {
    "l": 0.5265,
    "c": 0.17358,
    "h": 29
  },
  "luminance": 0.1296
}

Semantic roles & 50–950 ramp

primary
#BA3328
secondary
#73C4CA
accent
#DBE840
background
#FEF7F5
surface
#FDEDEA
border
#D5C8C6
text
#160905
muted
#847B79

Preview Lab

Preview with #BA3328

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

Preview Lab → · Contrast checker → · Palette generator →

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