#BA3434#BA3434

#BA3434 is a mid, vivid red. Relative luminance 0.131; OKLCH L 52.9% C 0.171 H 25.2°. Best body text is #FFFFFF at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#BA3434
RGBrgb(186, 52, 52)
HSLhsl(0, 56%, 47%)
HSVhsv(0, 72%, 73%)
CMYKcmyk(0%, 72%, 72%, 27.1%)
CIE-LABlab(42.98, 53.22, 31.93)
CIE-LCHlch(42.98, 62.06, 30.96°)
OKLaboklab(52.9% 0.1547 0.0728)
OKLCHoklch(52.9% 0.171 25.2)
XYZxyz(22.1000, 13.1463, 4.6220)
Luminance0.1314 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3434 #34BABA
analogous
#BA3477 #BA3434 #BA7734
triadic
#BA3434 #34BA34 #3434BA
tetradic
#BA3434 #77BA34 #34BABA #7734BA
square
#BA3434 #77BA34 #34BABA #7734BA
split-complementary
#BA3434 #34BA77 #3477BA
monochromatic
#5A1919 #8A2727 #BA3434 #D15A5A #DE8A8A

Accessibility & contrast

On white

5.79
#BA3434 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#BA3434 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA3434
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA3434#FFFFFF#000000##FFFFFF
##BA34341.005.793.635.79
#FFFFFF5.791.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B5333
Deuteranopia (green-blind)
#7C702F
Tritanopia (blue-blind)
#CD0036
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #ba3434;
/* rgb */ color: rgb(186, 52, 52);
/* oklch */ color: oklch(52.9% 0.171 25.2);
Tailwind
colors: {
  custom: {
    50: '#d7756c',
    500: '#ba3434',
    950: '#000000',
  },
}
SCSS
$custom: #ba3434;
$custom-light: #d7756c;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3434",
  "rgb": {
    "r": 186,
    "g": 52,
    "b": 52
  },
  "hsl": {
    "h": 0,
    "s": 56.303,
    "l": 46.667
  },
  "oklch": {
    "l": 0.529,
    "c": 0.17101,
    "h": 25.2
  },
  "luminance": 0.13143
}

Semantic roles & 50–950 ramp

primary
#BA3434
secondary
#81C8C8
accent
#E0E048
background
#FEF7F6
surface
#FCEDEB
border
#D5C8C6
text
#160907
muted
#847B7A

Preview Lab

Preview with #BA3434

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

Preview Lab → · Contrast checker → · Palette generator →

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