#BA4838#BA4838

#BA4838 is a mid, vivid red. Relative luminance 0.154; OKLCH L 55.3% C 0.151 H 30.5°. Best body text is #FFFFFF at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#BA4838
RGBrgb(186, 72, 56)
HSLhsl(7, 54%, 47%)
HSVhsv(7, 70%, 73%)
CMYKcmyk(0%, 61.3%, 69.9%, 27.1%)
CIE-LABlab(46.13, 45.06, 33.27)
CIE-LCHlch(46.13, 56.02, 36.44°)
OKLaboklab(55.28% 0.1299 0.0765)
OKLCHoklch(55.28% 0.151 30.5)
XYZxyz(23.2832, 15.3625, 5.4798)
Luminance0.1536 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA4838 #38AABA
analogous
#BA3869 #BA4838 #BA8938
triadic
#BA4838 #38BA48 #4838BA
tetradic
#BA4838 #69BA38 #38AABA #8938BA
square
#BA4838 #69BA38 #38AABA #8938BA
split-complementary
#BA4838 #38BA89 #3869BA
monochromatic
#5C241C #8B362A #BA4838 #CF6E60 #DD998F

Accessibility & contrast

On white

5.16
#BA4838 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.07
#BA4838 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA4838
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA4838#FFFFFF#000000##FFFFFF
##BA48381.005.164.075.16
#FFFFFF5.161.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#675E36
Deuteranopia (green-blind)
#837735
Tritanopia (blue-blind)
#CC2E45
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #ba4838;
/* rgb */ color: rgb(186, 72, 56);
/* oklch */ color: oklch(55.3% 0.151 30.5);
Tailwind
colors: {
  custom: {
    50: '#d6806f',
    500: '#ba4838',
    950: '#000000',
  },
}
SCSS
$custom: #ba4838;
$custom-light: #d6806f;
$custom-dark: #000000;
JSON
{
  "hex": "#ba4838",
  "rgb": {
    "r": 186,
    "g": 72,
    "b": 56
  },
  "hsl": {
    "h": 7.385,
    "s": 53.719,
    "l": 47.451
  },
  "oklch": {
    "l": 0.55276,
    "c": 0.15076,
    "h": 30.5
  },
  "luminance": 0.15359
}

Semantic roles & 50–950 ramp

primary
#BA4838
secondary
#86C0C8
accent
#CBDD4B
background
#FEF8F6
surface
#FCEFEC
border
#D5CAC7
text
#160A07
muted
#847C7A

Preview Lab

Preview with #BA4838

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

Preview Lab → · Contrast checker → · Palette generator →

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