#BA5240#BA5240

#BA5240 is a mid, vivid red. Relative luminance 0.168; OKLCH L 56.8% C 0.139 H 31.7°. Best body text is #FFFFFF at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#BA5240
RGBrgb(186, 82, 64)
HSLhsl(9, 49%, 49%)
HSVhsv(9, 66%, 73%)
CMYKcmyk(0%, 55.9%, 65.6%, 27.1%)
CIE-LABlab(48.07, 40.73, 31.00)
CIE-LCHlch(48.07, 51.19, 37.28°)
OKLaboklab(56.78% 0.1179 0.0727)
OKLCHoklch(56.78% 0.139 31.7)
XYZxyz(24.1947, 16.8469, 6.8272)
Luminance0.1684 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA5240 #40A8BA
analogous
#BA406B #BA5240 #BA8F40
triadic
#BA5240 #40BA52 #5240BA
tetradic
#BA5240 #6BBA40 #40A8BA #8F40BA
square
#BA5240 #6BBA40 #40A8BA #8F40BA
split-complementary
#BA5240 #40BA8F #406BBA
monochromatic
#5F2A21 #8C3E30 #BA5240 #CC796B #DCA399

Accessibility & contrast

On white

4.81
#BA5240 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.37
#BA5240 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA5240
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA5240#FFFFFF#000000##FFFFFF
##BA52401.004.814.374.81
#FFFFFF4.811.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6D643E
Deuteranopia (green-blind)
#877B3E
Tritanopia (blue-blind)
#CC3E4E
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #ba5240;
/* rgb */ color: rgb(186, 82, 64);
/* oklch */ color: oklch(56.8% 0.139 31.7);
Tailwind
colors: {
  custom: {
    50: '#d58675',
    500: '#ba5240',
    950: '#000000',
  },
}
SCSS
$custom: #ba5240;
$custom-light: #d58675;
$custom-dark: #000000;
JSON
{
  "hex": "#ba5240",
  "rgb": {
    "r": 186,
    "g": 82,
    "b": 64
  },
  "hsl": {
    "h": 8.852,
    "s": 48.8,
    "l": 49.02
  },
  "oklch": {
    "l": 0.56777,
    "c": 0.13857,
    "h": 31.7
  },
  "luminance": 0.16844
}

Semantic roles & 50–950 ramp

primary
#BA5240
secondary
#8EBFC8
accent
#C4D84F
background
#FDF8F7
surface
#FBEFED
border
#D4CAC8
text
#150B08
muted
#837C7B

Preview Lab

Preview with #BA5240

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

Preview Lab → · Contrast checker → · Palette generator →

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