#BA472A#BA472A

#BA472A is a mid, vivid red. Relative luminance 0.151; OKLCH L 55.0% C 0.155 H 35.2°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#BA472A
RGBrgb(186, 71, 42)
HSLhsl(12, 63%, 45%)
HSVhsv(12, 77%, 73%)
CMYKcmyk(0%, 61.8%, 77.4%, 27.1%)
CIE-LABlab(45.79, 44.88, 40.61)
CIE-LCHlch(45.79, 60.53, 42.14°)
OKLaboklab(54.97% 0.1266 0.0893)
OKLCHoklch(54.97% 0.155 35.2)
XYZxyz(22.9233, 15.1160, 3.9006)
Luminance0.1511 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA472A #2A9DBA
analogous
#BA2A55 #BA472A #BA8F2A
triadic
#BA472A #2ABA47 #472ABA
tetradic
#BA472A #55BA2A #2A9DBA #8F2ABA
square
#BA472A #55BA2A #2A9DBA #8F2ABA
split-complementary
#BA472A #2ABA8F #2A55BA
monochromatic
#562113 #88341F #BA472A #D6674B #E2917D

Accessibility & contrast

On white

5.22
#BA472A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#BA472A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA472A
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA472A#FFFFFF#000000##FFFFFF
##BA472A1.005.224.025.22
#FFFFFF5.221.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#675C26
Deuteranopia (green-blind)
#847626
Tritanopia (blue-blind)
#CD2A41
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #ba472a;
/* rgb */ color: rgb(186, 71, 42);
/* oklch */ color: oklch(55.0% 0.155 35.2);
Tailwind
colors: {
  custom: {
    50: '#d77f65',
    500: '#ba472a',
    950: '#000000',
  },
}
SCSS
$custom: #ba472a;
$custom-light: #d77f65;
$custom-dark: #000000;
JSON
{
  "hex": "#ba472a",
  "rgb": {
    "r": 186,
    "g": 71,
    "b": 42
  },
  "hsl": {
    "h": 12.083,
    "s": 63.158,
    "l": 44.706
  },
  "oklch": {
    "l": 0.54972,
    "c": 0.15497,
    "h": 35.2
  },
  "luminance": 0.15113
}

Semantic roles & 50–950 ramp

primary
#BA472A
secondary
#76B9CA
accent
#C5E642
background
#FEF7F6
surface
#FCEEEB
border
#D5C9C6
text
#160A06
muted
#847C7A

Preview Lab

Preview with #BA472A

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

Preview Lab → · Contrast checker → · Palette generator →

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