#BA5040#BA5040

#BA5040 is a mid, vivid red. Relative luminance 0.165; OKLCH L 56.5% C 0.141 H 30.7°. Best body text is #FFFFFF at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#BA5040
RGBrgb(186, 80, 64)
HSLhsl(8, 49%, 49%)
HSVhsv(8, 66%, 73%)
CMYKcmyk(0%, 57%, 65.6%, 27.1%)
CIE-LABlab(47.69, 41.72, 30.54)
CIE-LCHlch(47.69, 51.70, 36.21°)
OKLaboklab(56.49% 0.121 0.0717)
OKLCHoklch(56.49% 0.141 30.7)
XYZxyz(24.0460, 16.5497, 6.7776)
Luminance0.1655 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA5040 #40AABA
analogous
#BA406D #BA5040 #BA8D40
triadic
#BA5040 #40BA50 #5040BA
tetradic
#BA5040 #6DBA40 #40AABA #8D40BA
square
#BA5040 #6DBA40 #40AABA #8D40BA
split-complementary
#BA5040 #40BA8D #406DBA
monochromatic
#5F2921 #8C3C30 #BA5040 #CC786B #DCA199

Accessibility & contrast

On white

4.87
#BA5040 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.31
#BA5040 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA5040
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA5040#FFFFFF#000000##FFFFFF
##BA50401.004.874.314.87
#FFFFFF4.871.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6C633E
Deuteranopia (green-blind)
#867A3D
Tritanopia (blue-blind)
#CC3B4D
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #ba5040;
/* rgb */ color: rgb(186, 80, 64);
/* oklch */ color: oklch(56.5% 0.141 30.7);
Tailwind
colors: {
  custom: {
    50: '#d58475',
    500: '#ba5040',
    950: '#000000',
  },
}
SCSS
$custom: #ba5040;
$custom-light: #d58475;
$custom-dark: #000000;
JSON
{
  "hex": "#ba5040",
  "rgb": {
    "r": 186,
    "g": 80,
    "b": 64
  },
  "hsl": {
    "h": 7.869,
    "s": 48.8,
    "l": 49.02
  },
  "oklch": {
    "l": 0.5649,
    "c": 0.14066,
    "h": 30.7
  },
  "luminance": 0.16547
}

Semantic roles & 50–950 ramp

primary
#BA5040
secondary
#8EC0C8
accent
#C6D84F
background
#FDF8F7
surface
#FBEFED
border
#D4CAC8
text
#150B08
muted
#837C7B

Preview Lab

Preview with #BA5040

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

Preview Lab → · Contrast checker → · Palette generator →

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