#BA4F26#BA4F26

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

Color values

HEX#BA4F26
RGBrgb(186, 79, 38)
HSLhsl(17, 66%, 44%)
HSVhsv(17, 80%, 73%)
CMYKcmyk(0%, 57.5%, 79.6%, 27.1%)
CIE-LABlab(47.20, 40.94, 44.05)
CIE-LCHlch(47.20, 60.14, 47.10°)
OKLaboklab(56.03% 0.1138 0.0957)
OKLCHoklch(56.03% 0.149 40.1)
XYZxyz(23.3980, 16.1742, 3.7232)
Luminance0.1617 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA4F26 #2691BA
analogous
#BA2647 #BA4F26 #BA9926
triadic
#BA4F26 #26BA4F #4F26BA
tetradic
#BA4F26 #47BA26 #2691BA #9926BA
square
#BA4F26 #47BA26 #2691BA #9926BA
split-complementary
#BA4F26 #26BA99 #2647BA
monochromatic
#542411 #87391C #BA4F26 #D96D44 #E39577

Accessibility & contrast

On white

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

On black

4.23
#BA4F26 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##BA4F26#FFFFFF#000000##FFFFFF
##BA4F261.004.964.234.96
#FFFFFF4.961.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.961.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ba4f26;
/* rgb */ color: rgb(186, 79, 38);
/* oklch */ color: oklch(56.0% 0.149 40.1);
Tailwind
colors: {
  custom: {
    50: '#d68363',
    500: '#ba4f26',
    950: '#000000',
  },
}
SCSS
$custom: #ba4f26;
$custom-light: #d68363;
$custom-dark: #000000;
JSON
{
  "hex": "#ba4f26",
  "rgb": {
    "r": 186,
    "g": 79,
    "b": 38
  },
  "hsl": {
    "h": 16.622,
    "s": 66.071,
    "l": 43.922
  },
  "oklch": {
    "l": 0.56027,
    "c": 0.14868,
    "h": 40.1
  },
  "luminance": 0.16171
}

Semantic roles & 50–950 ramp

primary
#BA4F26
secondary
#71B2CB
accent
#BAE93F
background
#FEF8F6
surface
#FCEFEB
border
#D5CAC6
text
#160B05
muted
#847C7A

Preview Lab

Preview with #BA4F26

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

Preview Lab → · Contrast checker → · Palette generator →

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