#BA3229#BA3229

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

Color values

HEX#BA3229
RGBrgb(186, 50, 41)
HSLhsl(4, 64%, 45%)
HSVhsv(4, 78%, 73%)
CMYKcmyk(0%, 73.1%, 78%, 27.1%)
CIE-LABlab(42.59, 53.50, 37.81)
CIE-LCHlch(42.59, 65.51, 35.25°)
OKLaboklab(52.56% 0.1533 0.083)
OKLCHoklch(52.56% 0.174 28.4)
XYZxyz(21.7931, 12.8838, 3.4367)
Luminance0.1288 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3229 #29B1BA
analogous
#BA2969 #BA3229 #BA7B29
triadic
#BA3229 #29BA32 #3229BA
tetradic
#BA3229 #69BA29 #29B1BA #7B29BA
square
#BA3229 #69BA29 #29B1BA #7B29BA
split-complementary
#BA3229 #29BA7B #2969BA
monochromatic
#561713 #88251E #BA3229 #D75249 #E2827B

Accessibility & contrast

On white

5.87
#BA3229 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#BA3229 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA3229
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA3229#FFFFFF#000000##FFFFFF
##BA32291.005.873.585.87
#FFFFFF5.871.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.871.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ba3229;
/* rgb */ color: rgb(186, 50, 41);
/* oklch */ color: oklch(52.6% 0.174 28.4);
Tailwind
colors: {
  custom: {
    50: '#d87464',
    500: '#ba3229',
    950: '#000000',
  },
}
SCSS
$custom: #ba3229;
$custom-light: #d87464;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3229",
  "rgb": {
    "r": 186,
    "g": 50,
    "b": 41
  },
  "hsl": {
    "h": 3.724,
    "s": 63.877,
    "l": 44.51
  },
  "oklch": {
    "l": 0.52563,
    "c": 0.17428,
    "h": 28.4
  },
  "luminance": 0.1288
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BA3229

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

Preview Lab → · Contrast checker → · Palette generator →

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