#BA4131#BA4131

#BA4131 is a mid, vivid red. Relative luminance 0.144; OKLCH L 54.3% C 0.159 H 30.4°. Best body text is #FFFFFF at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#BA4131
RGBrgb(186, 65, 49)
HSLhsl(7, 58%, 46%)
HSVhsv(7, 74%, 73%)
CMYKcmyk(0%, 65.1%, 73.7%, 27.1%)
CIE-LABlab(44.86, 47.86, 35.80)
CIE-LCHlch(44.86, 59.77, 36.80°)
OKLaboklab(54.3% 0.1372 0.0807)
OKLCHoklch(54.3% 0.159 30.4)
XYZxyz(22.6968, 14.4447, 4.4981)
Luminance0.1444 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA4131 #31AABA
analogous
#BA3165 #BA4131 #BA8531
triadic
#BA4131 #31BA41 #4131BA
tetradic
#BA4131 #65BA31 #31AABA #8531BA
square
#BA4131 #65BA31 #31AABA #8531BA
split-complementary
#BA4131 #31BA85 #3165BA
monochromatic
#591F17 #8A3024 #BA4131 #D26456 #DF9186

Accessibility & contrast

On white

5.40
#BA4131 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#BA4131 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA4131
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA4131#FFFFFF#000000##FFFFFF
##BA41311.005.403.895.40
#FFFFFF5.401.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#63592E
Deuteranopia (green-blind)
#81742D
Tritanopia (blue-blind)
#CC213E
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #ba4131;
/* rgb */ color: rgb(186, 65, 49);
/* oklch */ color: oklch(54.3% 0.159 30.4);
Tailwind
colors: {
  custom: {
    50: '#d77c6a',
    500: '#ba4131',
    950: '#000000',
  },
}
SCSS
$custom: #ba4131;
$custom-light: #d77c6a;
$custom-dark: #000000;
JSON
{
  "hex": "#ba4131",
  "rgb": {
    "r": 186,
    "g": 65,
    "b": 49
  },
  "hsl": {
    "h": 7.007,
    "s": 58.298,
    "l": 46.078
  },
  "oklch": {
    "l": 0.54297,
    "c": 0.15917,
    "h": 30.4
  },
  "luminance": 0.14441
}

Semantic roles & 50–950 ramp

primary
#BA4131
secondary
#7EC0C9
accent
#CFE246
background
#FEF7F6
surface
#FCEEEB
border
#D5C9C6
text
#160A06
muted
#847C7A

Preview Lab

Preview with #BA4131

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

Preview Lab → · Contrast checker → · Palette generator →

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