#BA4A42#BA4A42

#BA4A42 is a mid, vivid red. Relative luminance 0.157; OKLCH L 55.7% C 0.147 H 26.9°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#BA4A42
RGBrgb(186, 74, 66)
HSLhsl(4, 48%, 49%)
HSVhsv(4, 65%, 73%)
CMYKcmyk(0%, 60.2%, 64.5%, 27.1%)
CIE-LABlab(46.62, 44.71, 28.07)
CIE-LCHlch(46.62, 52.79, 32.12°)
OKLaboklab(55.7% 0.1307 0.0665)
OKLCHoklch(55.7% 0.147 26.9)
XYZxyz(23.6841, 15.7331, 6.9428)
Luminance0.1573 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA4A42 #42B2BA
analogous
#BA4276 #BA4A42 #BA8642
triadic
#BA4A42 #42BA4A #4A42BA
tetradic
#BA4A42 #76BA42 #42B2BA #8642BA
square
#BA4A42 #76BA42 #42B2BA #8642BA
split-complementary
#BA4A42 #42BA86 #4276BA
monochromatic
#602622 #8D3832 #BA4A42 #CB746E #DB9F9B

Accessibility & contrast

On white

5.07
#BA4A42 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#BA4A42 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA4A42
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA4A42#FFFFFF#000000##FFFFFF
##BA4A421.005.074.155.07
#FFFFFF5.071.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#675F41
Deuteranopia (green-blind)
#83783F
Tritanopia (blue-blind)
#CC3349
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #ba4a42;
/* rgb */ color: rgb(186, 74, 66);
/* oklch */ color: oklch(55.7% 0.147 26.9);
Tailwind
colors: {
  custom: {
    50: '#d58176',
    500: '#ba4a42',
    950: '#000000',
  },
}
SCSS
$custom: #ba4a42;
$custom-light: #d58176;
$custom-dark: #000000;
JSON
{
  "hex": "#ba4a42",
  "rgb": {
    "r": 186,
    "g": 74,
    "b": 66
  },
  "hsl": {
    "h": 4,
    "s": 47.619,
    "l": 49.412
  },
  "oklch": {
    "l": 0.55696,
    "c": 0.14666,
    "h": 26.9
  },
  "luminance": 0.1573
}

Semantic roles & 50–950 ramp

primary
#BA4A42
secondary
#90C4C8
accent
#CED751
background
#FDF8F7
surface
#FBEFED
border
#D4CAC8
text
#150B08
muted
#837C7B

Preview Lab

Preview with #BA4A42

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

Preview Lab → · Contrast checker → · Palette generator →

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