#BA4F40#BA4F40

#BA4F40 is a mid, vivid red. Relative luminance 0.164; OKLCH L 56.3% C 0.142 H 30.2°. Best body text is #FFFFFF at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#BA4F40
RGBrgb(186, 79, 64)
HSLhsl(7, 49%, 49%)
HSVhsv(7, 66%, 73%)
CMYKcmyk(0%, 57.5%, 65.6%, 27.1%)
CIE-LABlab(47.50, 42.20, 30.32)
CIE-LCHlch(47.50, 51.96, 35.69°)
OKLaboklab(56.35% 0.1225 0.0712)
OKLCHoklch(56.35% 0.142 30.2)
XYZxyz(23.9734, 16.4043, 6.7534)
Luminance0.1640 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA4F40 #40ABBA
analogous
#BA406E #BA4F40 #BA8C40
triadic
#BA4F40 #40BA4F #4F40BA
tetradic
#BA4F40 #6EBA40 #40ABBA #8C40BA
square
#BA4F40 #6EBA40 #40ABBA #8C40BA
split-complementary
#BA4F40 #40BA8C #406EBA
monochromatic
#5F2821 #8C3C30 #BA4F40 #CC776B #DCA199

Accessibility & contrast

On white

4.91
#BA4F40 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.28
#BA4F40 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA4F40
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA4F40#FFFFFF#000000##FFFFFF
##BA4F401.004.914.284.91
#FFFFFF4.911.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6B623E
Deuteranopia (green-blind)
#85793D
Tritanopia (blue-blind)
#CC3A4C
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #ba4f40;
/* rgb */ color: rgb(186, 79, 64);
/* oklch */ color: oklch(56.3% 0.142 30.2);
Tailwind
colors: {
  custom: {
    50: '#d58475',
    500: '#ba4f40',
    950: '#000000',
  },
}
SCSS
$custom: #ba4f40;
$custom-light: #d58475;
$custom-dark: #000000;
JSON
{
  "hex": "#ba4f40",
  "rgb": {
    "r": 186,
    "g": 79,
    "b": 64
  },
  "hsl": {
    "h": 7.377,
    "s": 48.8,
    "l": 49.02
  },
  "oklch": {
    "l": 0.56349,
    "c": 0.14172,
    "h": 30.2
  },
  "luminance": 0.16401
}

Semantic roles & 50–950 ramp

primary
#BA4F40
secondary
#8EC1C8
accent
#C8D84F
background
#FDF8F7
surface
#FBEFED
border
#D4CAC8
text
#150B08
muted
#837C7B

Preview Lab

Preview with #BA4F40

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

Preview Lab → · Contrast checker → · Palette generator →

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