#BA5140#BA5140

#BA5140 is a mid, vivid red. Relative luminance 0.167; OKLCH L 56.6% C 0.140 H 31.2°. Best body text is #FFFFFF at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#BA5140
RGBrgb(186, 81, 64)
HSLhsl(8, 49%, 49%)
HSVhsv(8, 66%, 73%)
CMYKcmyk(0%, 56.5%, 65.6%, 27.1%)
CIE-LABlab(47.88, 41.23, 30.77)
CIE-LCHlch(47.88, 51.44, 36.74°)
OKLaboklab(56.63% 0.1195 0.0722)
OKLCHoklch(56.63% 0.14 31.2)
XYZxyz(24.1198, 16.6972, 6.8022)
Luminance0.1669 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA5140 #40A9BA
analogous
#BA406C #BA5140 #BA8E40
triadic
#BA5140 #40BA51 #5140BA
tetradic
#BA5140 #6CBA40 #40A9BA #8E40BA
square
#BA5140 #6CBA40 #40A9BA #8E40BA
split-complementary
#BA5140 #40BA8E #406CBA
monochromatic
#5F2921 #8C3D30 #BA5140 #CC796B #DCA299

Accessibility & contrast

On white

4.84
#BA5140 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.34
#BA5140 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA5140
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA5140#FFFFFF#000000##FFFFFF
##BA51401.004.844.344.84
#FFFFFF4.841.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.841.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ba5140;
/* rgb */ color: rgb(186, 81, 64);
/* oklch */ color: oklch(56.6% 0.140 31.2);
Tailwind
colors: {
  custom: {
    50: '#d58575',
    500: '#ba5140',
    950: '#000000',
  },
}
SCSS
$custom: #ba5140;
$custom-light: #d58575;
$custom-dark: #000000;
JSON
{
  "hex": "#ba5140",
  "rgb": {
    "r": 186,
    "g": 81,
    "b": 64
  },
  "hsl": {
    "h": 8.361,
    "s": 48.8,
    "l": 49.02
  },
  "oklch": {
    "l": 0.56633,
    "c": 0.13961,
    "h": 31.2
  },
  "luminance": 0.16694
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BA5140

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

Preview Lab → · Contrast checker → · Palette generator →

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