#BA5126#BA5126

#BA5126 is a mid, vivid orange. Relative luminance 0.165; OKLCH L 56.3% C 0.147 H 41.0°. Best body text is #FFFFFF at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#BA5126
RGBrgb(186, 81, 38)
HSLhsl(17, 66%, 44%)
HSVhsv(17, 80%, 73%)
CMYKcmyk(0%, 56.5%, 79.6%, 27.1%)
CIE-LABlab(47.58, 39.96, 44.42)
CIE-LCHlch(47.58, 59.75, 48.03°)
OKLaboklab(56.32% 0.1108 0.0965)
OKLCHoklch(56.32% 0.147 41)
XYZxyz(23.5444, 16.4670, 3.7720)
Luminance0.1646 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA5126 #268FBA
analogous
#BA2645 #BA5126 #BA9B26
triadic
#BA5126 #26BA51 #5126BA
tetradic
#BA5126 #45BA26 #268FBA #9B26BA
square
#BA5126 #45BA26 #268FBA #9B26BA
split-complementary
#BA5126 #26BA9B #2645BA
monochromatic
#542511 #873B1C #BA5126 #D96F44 #E39777

Accessibility & contrast

On white

4.89
#BA5126 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.29
#BA5126 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA5126
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA5126#FFFFFF#000000##FFFFFF
##BA51261.004.894.294.89
#FFFFFF4.891.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6E6220
Deuteranopia (green-blind)
#887A23
Tritanopia (blue-blind)
#CC3948
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #ba5126;
/* rgb */ color: rgb(186, 81, 38);
/* oklch */ color: oklch(56.3% 0.147 41.0);
Tailwind
colors: {
  custom: {
    50: '#d68563',
    500: '#ba5126',
    950: '#000000',
  },
}
SCSS
$custom: #ba5126;
$custom-light: #d68563;
$custom-dark: #000000;
JSON
{
  "hex": "#ba5126",
  "rgb": {
    "r": 186,
    "g": 81,
    "b": 38
  },
  "hsl": {
    "h": 17.432,
    "s": 66.071,
    "l": 43.922
  },
  "oklch": {
    "l": 0.56315,
    "c": 0.14692,
    "h": 41
  },
  "luminance": 0.16464
}

Semantic roles & 50–950 ramp

primary
#BA5126
secondary
#71B1CB
accent
#B8E93F
background
#FEF8F6
surface
#FCEFEB
border
#D5CAC6
text
#160B05
muted
#847C7A

Preview Lab

Preview with #BA5126

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

Preview Lab → · Contrast checker → · Palette generator →

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