#BA3431#BA3431

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

Color values

HEX#BA3431
RGBrgb(186, 52, 49)
HSLhsl(1, 58%, 46%)
HSVhsv(1, 74%, 73%)
CMYKcmyk(0%, 72%, 73.7%, 27.1%)
CIE-LABlab(42.94, 53.09, 33.64)
CIE-LCHlch(42.94, 62.85, 32.36°)
OKLaboklab(52.86% 0.1537 0.076)
OKLCHoklch(52.86% 0.171 26.3)
XYZxyz(22.0346, 13.1202, 4.2773)
Luminance0.1312 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3431 #31B7BA
analogous
#BA3172 #BA3431 #BA7831
triadic
#BA3431 #31BA34 #3431BA
tetradic
#BA3431 #72BA31 #31B7BA #7831BA
square
#BA3431 #72BA31 #31B7BA #7831BA
split-complementary
#BA3431 #31BA78 #3172BA
monochromatic
#591917 #8A2624 #BA3431 #D25956 #DF8886

Accessibility & contrast

On white

5.80
#BA3431 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#BA3431 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA3431
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA3431#FFFFFF#000000##FFFFFF
##BA34311.005.803.625.80
#FFFFFF5.801.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B532F
Deuteranopia (green-blind)
#7C702C
Tritanopia (blue-blind)
#CD0035
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #ba3431;
/* rgb */ color: rgb(186, 52, 49);
/* oklch */ color: oklch(52.9% 0.171 26.3);
Tailwind
colors: {
  custom: {
    50: '#d77569',
    500: '#ba3431',
    950: '#000000',
  },
}
SCSS
$custom: #ba3431;
$custom-light: #d77569;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3431",
  "rgb": {
    "r": 186,
    "g": 52,
    "b": 49
  },
  "hsl": {
    "h": 1.314,
    "s": 58.298,
    "l": 46.078
  },
  "oklch": {
    "l": 0.52859,
    "c": 0.1714,
    "h": 26.3
  },
  "luminance": 0.13117
}

Semantic roles & 50–950 ramp

primary
#BA3431
secondary
#7EC7C9
accent
#DEE246
background
#FEF7F6
surface
#FCEDEB
border
#D5C8C6
text
#160906
muted
#847B7A

Preview Lab

Preview with #BA3431

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

Preview Lab → · Contrast checker → · Palette generator →

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