#BA5128#BA5128

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

Color values

HEX#BA5128
RGBrgb(186, 81, 40)
HSLhsl(17, 65%, 44%)
HSVhsv(17, 78%, 73%)
CMYKcmyk(0%, 56.5%, 78.5%, 27.1%)
CIE-LABlab(47.60, 40.03, 43.46)
CIE-LCHlch(47.60, 59.09, 47.35°)
OKLaboklab(56.33% 0.1114 0.095)
OKLCHoklch(56.33% 0.146 40.5)
XYZxyz(23.5776, 16.4803, 3.9465)
Luminance0.1648 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA5128 #2891BA
analogous
#BA2848 #BA5128 #BA9A28
triadic
#BA5128 #28BA51 #5128BA
tetradic
#BA5128 #48BA28 #2891BA #9A28BA
square
#BA5128 #48BA28 #2891BA #9A28BA
split-complementary
#BA5128 #28BA9A #2848BA
monochromatic
#552512 #883B1D #BA5128 #D87048 #E2977A

Accessibility & contrast

On white

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

On black

4.30
#BA5128 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##BA5128#FFFFFF#000000##FFFFFF
##BA51281.004.894.304.89
#FFFFFF4.891.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.891.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ba5128;
/* rgb */ color: rgb(186, 81, 40);
/* oklch */ color: oklch(56.3% 0.146 40.5);
Tailwind
colors: {
  custom: {
    50: '#d68565',
    500: '#ba5128',
    950: '#000000',
  },
}
SCSS
$custom: #ba5128;
$custom-light: #d68565;
$custom-dark: #000000;
JSON
{
  "hex": "#ba5128",
  "rgb": {
    "r": 186,
    "g": 81,
    "b": 40
  },
  "hsl": {
    "h": 16.849,
    "s": 64.602,
    "l": 44.314
  },
  "oklch": {
    "l": 0.56333,
    "c": 0.14636,
    "h": 40.5
  },
  "luminance": 0.16477
}

Semantic roles & 50–950 ramp

primary
#BA5128
secondary
#73B2CA
accent
#B9E840
background
#FEF8F6
surface
#FCEFEB
border
#D5CAC6
text
#160B06
muted
#847C7A

Preview Lab

Preview with #BA5128

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

Preview Lab → · Contrast checker → · Palette generator →

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