#BA472F#BA472F

#BA472F is a mid, vivid red. Relative luminance 0.152; OKLCH L 55.0% C 0.154 H 33.5°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#BA472F
RGBrgb(186, 71, 47)
HSLhsl(10, 60%, 46%)
HSVhsv(10, 75%, 73%)
CMYKcmyk(0%, 61.8%, 74.7%, 27.1%)
CIE-LABlab(45.84, 45.09, 37.99)
CIE-LCHlch(45.84, 58.96, 40.11°)
OKLaboklab(55.03% 0.1282 0.0849)
OKLCHoklch(55.03% 0.154 33.5)
XYZxyz(23.0185, 15.1540, 4.4017)
Luminance0.1515 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA472F #2FA2BA
analogous
#BA2F5C #BA472F #BA8C2F
triadic
#BA472F #2FBA47 #472FBA
tetradic
#BA472F #5CBA2F #2FA2BA #8C2FBA
square
#BA472F #5CBA2F #2FA2BA #8C2FBA
split-complementary
#BA472F #2FBA8C #2F5CBA
monochromatic
#582216 #893423 #BA472F #D36953 #E09484

Accessibility & contrast

On white

5.21
#BA472F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#BA472F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA472F
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA472F#FFFFFF#000000##FFFFFF
##BA472F1.005.214.035.21
#FFFFFF5.211.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#675D2C
Deuteranopia (green-blind)
#83762B
Tritanopia (blue-blind)
#CC2B42
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #ba472f;
/* rgb */ color: rgb(186, 71, 47);
/* oklch */ color: oklch(55.0% 0.154 33.5);
Tailwind
colors: {
  custom: {
    50: '#d67f69',
    500: '#ba472f',
    950: '#000000',
  },
}
SCSS
$custom: #ba472f;
$custom-light: #d67f69;
$custom-dark: #000000;
JSON
{
  "hex": "#ba472f",
  "rgb": {
    "r": 186,
    "g": 71,
    "b": 47
  },
  "hsl": {
    "h": 10.36,
    "s": 59.657,
    "l": 45.686
  },
  "oklch": {
    "l": 0.55028,
    "c": 0.1538,
    "h": 33.5
  },
  "luminance": 0.15151
}

Semantic roles & 50–950 ramp

primary
#BA472F
secondary
#7CBCC9
accent
#C8E345
background
#FEF8F6
surface
#FCEFEB
border
#D5CAC6
text
#160A06
muted
#847C7A

Preview Lab

Preview with #BA472F

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

Preview Lab → · Contrast checker → · Palette generator →

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