#BA5229#BA5229

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

Color values

HEX#BA5229
RGBrgb(186, 82, 41)
HSLhsl(17, 64%, 45%)
HSVhsv(17, 78%, 73%)
CMYKcmyk(0%, 55.9%, 78%, 27.1%)
CIE-LABlab(47.80, 39.58, 43.17)
CIE-LCHlch(47.80, 58.57, 47.49°)
OKLaboklab(56.49% 0.1101 0.0946)
OKLCHoklch(56.49% 0.145 40.7)
XYZxyz(23.6697, 16.6369, 4.0622)
Luminance0.1663 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA5229 #2991BA
analogous
#BA2948 #BA5229 #BA9B29
triadic
#BA5229 #29BA52 #5229BA
tetradic
#BA5229 #48BA29 #2991BA #9B29BA
square
#BA5229 #48BA29 #2991BA #9B29BA
split-complementary
#BA5229 #29BA9B #2948BA
monochromatic
#562613 #883C1E #BA5229 #D77149 #E2987B

Accessibility & contrast

On white

4.85
#BA5229 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #BA5229
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA5229#FFFFFF#000000##FFFFFF
##BA52291.004.854.334.85
#FFFFFF4.851.0021.001.00
#0000004.3321.001.0021.00
##FFFFFF4.851.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ba5229;
/* rgb */ color: rgb(186, 82, 41);
/* oklch */ color: oklch(56.5% 0.145 40.7);
Tailwind
colors: {
  custom: {
    50: '#d68565',
    500: '#ba5229',
    950: '#000000',
  },
}
SCSS
$custom: #ba5229;
$custom-light: #d68565;
$custom-dark: #000000;
JSON
{
  "hex": "#ba5229",
  "rgb": {
    "r": 186,
    "g": 82,
    "b": 41
  },
  "hsl": {
    "h": 16.966,
    "s": 63.877,
    "l": 44.51
  },
  "oklch": {
    "l": 0.56489,
    "c": 0.14519,
    "h": 40.7
  },
  "luminance": 0.16634
}

Semantic roles & 50–950 ramp

primary
#BA5229
secondary
#75B2CA
accent
#B8E741
background
#FEF8F6
surface
#FCEFEB
border
#D5CAC6
text
#160B06
muted
#847C7A

Preview Lab

Preview with #BA5229

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

Preview Lab → · Contrast checker → · Palette generator →

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