#BA5228#BA5228

#BA5228 is a mid, vivid orange. Relative luminance 0.166; OKLCH L 56.5% C 0.145 H 41.0°. Best body text is #FFFFFF at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#BA5228
RGBrgb(186, 82, 40)
HSLhsl(17, 65%, 44%)
HSVhsv(17, 78%, 73%)
CMYKcmyk(0%, 55.9%, 78.5%, 27.1%)
CIE-LABlab(47.79, 39.54, 43.66)
CIE-LCHlch(47.79, 58.90, 47.83°)
OKLaboklab(56.48% 0.1099 0.0954)
OKLCHoklch(56.48% 0.145 41)
XYZxyz(23.6524, 16.6300, 3.9715)
Luminance0.1663 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA5228 #2890BA
analogous
#BA2847 #BA5228 #BA9B28
triadic
#BA5228 #28BA52 #5228BA
tetradic
#BA5228 #47BA28 #2890BA #9B28BA
square
#BA5228 #47BA28 #2890BA #9B28BA
split-complementary
#BA5228 #28BA9B #2847BA
monochromatic
#552612 #883C1D #BA5228 #D87148 #E2987A

Accessibility & contrast

On white

4.86
#BA5228 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.33
#BA5228 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA5228
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA5228#FFFFFF#000000##FFFFFF
##BA52281.004.864.334.86
#FFFFFF4.861.0021.001.00
#0000004.3321.001.0021.00
##FFFFFF4.861.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ba5228;
/* rgb */ color: rgb(186, 82, 40);
/* oklch */ color: oklch(56.5% 0.145 41.0);
Tailwind
colors: {
  custom: {
    50: '#d68565',
    500: '#ba5228',
    950: '#000000',
  },
}
SCSS
$custom: #ba5228;
$custom-light: #d68565;
$custom-dark: #000000;
JSON
{
  "hex": "#ba5228",
  "rgb": {
    "r": 186,
    "g": 82,
    "b": 40
  },
  "hsl": {
    "h": 17.26,
    "s": 64.602,
    "l": 44.314
  },
  "oklch": {
    "l": 0.56479,
    "c": 0.14548,
    "h": 41
  },
  "luminance": 0.16627
}

Semantic roles & 50–950 ramp

primary
#BA5228
secondary
#73B1CA
accent
#B7E840
background
#FEF8F6
surface
#FCEFEB
border
#D5CAC6
text
#160B06
muted
#847C7A

Preview Lab

Preview with #BA5228

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

Preview Lab → · Contrast checker → · Palette generator →

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