#BA3831#BA3831

#BA3831 is a mid, vivid red. Relative luminance 0.135; OKLCH L 53.3% C 0.168 H 27.4°. Best body text is #FFFFFF at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#BA3831
RGBrgb(186, 56, 49)
HSLhsl(3, 58%, 46%)
HSVhsv(3, 74%, 73%)
CMYKcmyk(0%, 69.9%, 73.7%, 27.1%)
CIE-LABlab(43.50, 51.57, 34.26)
CIE-LCHlch(43.50, 61.91, 33.60°)
OKLaboklab(53.27% 0.1489 0.0773)
OKLCHoklch(53.27% 0.168 27.4)
XYZxyz(22.2207, 13.4925, 4.3394)
Luminance0.1349 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3831 #31B3BA
analogous
#BA316E #BA3831 #BA7C31
triadic
#BA3831 #31BA38 #3831BA
tetradic
#BA3831 #6EBA31 #31B3BA #7C31BA
square
#BA3831 #6EBA31 #31B3BA #7C31BA
split-complementary
#BA3831 #31BA7C #316EBA
monochromatic
#591B17 #8A2924 #BA3831 #D25C56 #DF8B86

Accessibility & contrast

On white

5.68
#BA3831 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.70
#BA3831 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA3831
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA3831#FFFFFF#000000##FFFFFF
##BA38311.005.683.705.68
#FFFFFF5.681.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5D552F
Deuteranopia (green-blind)
#7E712C
Tritanopia (blue-blind)
#CD0938
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #ba3831;
/* rgb */ color: rgb(186, 56, 49);
/* oklch */ color: oklch(53.3% 0.168 27.4);
Tailwind
colors: {
  custom: {
    50: '#d77769',
    500: '#ba3831',
    950: '#000000',
  },
}
SCSS
$custom: #ba3831;
$custom-light: #d77769;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3831",
  "rgb": {
    "r": 186,
    "g": 56,
    "b": 49
  },
  "hsl": {
    "h": 3.066,
    "s": 58.298,
    "l": 46.078
  },
  "oklch": {
    "l": 0.53271,
    "c": 0.16775,
    "h": 27.4
  },
  "luminance": 0.13489
}

Semantic roles & 50–950 ramp

primary
#BA3831
secondary
#7EC5C9
accent
#DAE246
background
#FEF7F6
surface
#FCEEEB
border
#D5C9C6
text
#160906
muted
#847B7A

Preview Lab

Preview with #BA3831

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

Preview Lab → · Contrast checker → · Palette generator →

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