#BA4F28#BA4F28

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

Color values

HEX#BA4F28
RGBrgb(186, 79, 40)
HSLhsl(16, 65%, 44%)
HSVhsv(16, 78%, 73%)
CMYKcmyk(0%, 57.5%, 78.5%, 27.1%)
CIE-LABlab(47.22, 41.02, 43.08)
CIE-LCHlch(47.22, 59.49, 46.41°)
OKLaboklab(56.05% 0.1144 0.0942)
OKLCHoklch(56.05% 0.148 39.5)
XYZxyz(23.4311, 16.1874, 3.8977)
Luminance0.1618 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA4F28 #2893BA
analogous
#BA284A #BA4F28 #BA9828
triadic
#BA4F28 #28BA4F #4F28BA
tetradic
#BA4F28 #4ABA28 #2893BA #9828BA
square
#BA4F28 #4ABA28 #2893BA #9828BA
split-complementary
#BA4F28 #28BA98 #284ABA
monochromatic
#552412 #883A1D #BA4F28 #D86E48 #E2967A

Accessibility & contrast

On white

4.96
#BA4F28 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #BA4F28
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA4F28#FFFFFF#000000##FFFFFF
##BA4F281.004.964.244.96
#FFFFFF4.961.0021.001.00
#0000004.2421.001.0021.00
##FFFFFF4.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6D6123
Deuteranopia (green-blind)
#877925
Tritanopia (blue-blind)
#CC3647
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #ba4f28;
/* rgb */ color: rgb(186, 79, 40);
/* oklch */ color: oklch(56.0% 0.148 39.5);
Tailwind
colors: {
  custom: {
    50: '#d68465',
    500: '#ba4f28',
    950: '#000000',
  },
}
SCSS
$custom: #ba4f28;
$custom-light: #d68465;
$custom-dark: #000000;
JSON
{
  "hex": "#ba4f28",
  "rgb": {
    "r": 186,
    "g": 79,
    "b": 40
  },
  "hsl": {
    "h": 16.027,
    "s": 64.602,
    "l": 44.314
  },
  "oklch": {
    "l": 0.56046,
    "c": 0.14814,
    "h": 39.5
  },
  "luminance": 0.16184
}

Semantic roles & 50–950 ramp

primary
#BA4F28
secondary
#73B3CA
accent
#BBE840
background
#FEF8F6
surface
#FCEFEB
border
#D5CAC6
text
#160B06
muted
#847C7A

Preview Lab

Preview with #BA4F28

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

Preview Lab → · Contrast checker → · Palette generator →

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