#BA3129#BA3129

#BA3129 is a mid, vivid red. Relative luminance 0.128; OKLCH L 52.5% C 0.175 H 28.2°. Best body text is #FFFFFF at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#BA3129
RGBrgb(186, 49, 41)
HSLhsl(3, 64%, 45%)
HSVhsv(3, 78%, 73%)
CMYKcmyk(0%, 73.7%, 78%, 27.1%)
CIE-LABlab(42.46, 53.85, 37.67)
CIE-LCHlch(42.46, 65.72, 34.97°)
OKLaboklab(52.47% 0.1544 0.0827)
OKLCHoklch(52.47% 0.175 28.2)
XYZxyz(21.7508, 12.7992, 3.4226)
Luminance0.1280 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3129 #29B2BA
analogous
#BA296A #BA3129 #BA7929
triadic
#BA3129 #29BA31 #3129BA
tetradic
#BA3129 #6ABA29 #29B2BA #7929BA
square
#BA3129 #6ABA29 #29B2BA #7929BA
split-complementary
#BA3129 #29BA79 #296ABA
monochromatic
#561713 #88241E #BA3129 #D75149 #E2817B

Accessibility & contrast

On white

5.90
#BA3129 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#BA3129 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA3129
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA3129#FFFFFF#000000##FFFFFF
##BA31291.005.903.565.90
#FFFFFF5.901.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A5127
Deuteranopia (green-blind)
#7C6F23
Tritanopia (blue-blind)
#CD0031
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #ba3129;
/* rgb */ color: rgb(186, 49, 41);
/* oklch */ color: oklch(52.5% 0.175 28.2);
Tailwind
colors: {
  custom: {
    50: '#d87364',
    500: '#ba3129',
    950: '#000000',
  },
}
SCSS
$custom: #ba3129;
$custom-light: #d87364;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3129",
  "rgb": {
    "r": 186,
    "g": 49,
    "b": 41
  },
  "hsl": {
    "h": 3.31,
    "s": 63.877,
    "l": 44.51
  },
  "oklch": {
    "l": 0.52467,
    "c": 0.17513,
    "h": 28.2
  },
  "luminance": 0.12796
}

Semantic roles & 50–950 ramp

primary
#BA3129
secondary
#75C5CA
accent
#DEE741
background
#FEF7F6
surface
#FDEDEB
border
#D5C8C6
text
#160905
muted
#847B7A

Preview Lab

Preview with #BA3129

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

Preview Lab → · Contrast checker → · Palette generator →

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