#BA4F2A#BA4F2A

#BA4F2A is a mid, vivid orange. Relative luminance 0.162; OKLCH L 56.1% C 0.148 H 38.8°. Best body text is #FFFFFF at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#BA4F2A
RGBrgb(186, 79, 42)
HSLhsl(15, 63%, 45%)
HSVhsv(15, 77%, 73%)
CMYKcmyk(0%, 57.5%, 77.4%, 27.1%)
CIE-LABlab(47.24, 41.09, 42.10)
CIE-LCHlch(47.24, 58.83, 45.69°)
OKLaboklab(56.07% 0.115 0.0925)
OKLCHoklch(56.07% 0.148 38.8)
XYZxyz(23.4660, 16.2014, 4.0815)
Luminance0.1620 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA4F2A #2A95BA
analogous
#BA2A4D #BA4F2A #BA972A
triadic
#BA4F2A #2ABA4F #4F2ABA
tetradic
#BA4F2A #4DBA2A #2A95BA #972ABA
square
#BA4F2A #4DBA2A #2A95BA #972ABA
split-complementary
#BA4F2A #2ABA97 #2A4DBA
monochromatic
#562513 #883A1F #BA4F2A #D66F4B #E2977D

Accessibility & contrast

On white

4.95
#BA4F2A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.24
#BA4F2A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA4F2A
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA4F2A#FFFFFF#000000##FFFFFF
##BA4F2A1.004.954.244.95
#FFFFFF4.951.0021.001.00
#0000004.2421.001.0021.00
##FFFFFF4.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6D6125
Deuteranopia (green-blind)
#877927
Tritanopia (blue-blind)
#CC3747
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #ba4f2a;
/* rgb */ color: rgb(186, 79, 42);
/* oklch */ color: oklch(56.1% 0.148 38.8);
Tailwind
colors: {
  custom: {
    50: '#d68466',
    500: '#ba4f2a',
    950: '#000000',
  },
}
SCSS
$custom: #ba4f2a;
$custom-light: #d68466;
$custom-dark: #000000;
JSON
{
  "hex": "#ba4f2a",
  "rgb": {
    "r": 186,
    "g": 79,
    "b": 42
  },
  "hsl": {
    "h": 15.417,
    "s": 63.158,
    "l": 44.706
  },
  "oklch": {
    "l": 0.56065,
    "c": 0.14758,
    "h": 38.8
  },
  "luminance": 0.16198
}

Semantic roles & 50–950 ramp

primary
#BA4F2A
secondary
#76B4CA
accent
#BCE642
background
#FEF8F6
surface
#FCEFEB
border
#D5CAC6
text
#160B06
muted
#847C7A

Preview Lab

Preview with #BA4F2A

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

Preview Lab → · Contrast checker → · Palette generator →

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