#BA5226#BA5226

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

Color values

HEX#BA5226
RGBrgb(186, 82, 38)
HSLhsl(18, 66%, 44%)
HSVhsv(18, 80%, 73%)
CMYKcmyk(0%, 55.9%, 79.6%, 27.1%)
CIE-LABlab(47.77, 39.46, 44.61)
CIE-LCHlch(47.77, 59.56, 48.50°)
OKLaboklab(56.46% 0.1093 0.0969)
OKLCHoklch(56.46% 0.146 41.6)
XYZxyz(23.6193, 16.6168, 3.7969)
Luminance0.1661 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA5226 #268EBA
analogous
#BA2644 #BA5226 #BA9C26
triadic
#BA5226 #26BA52 #5226BA
tetradic
#BA5226 #44BA26 #268EBA #9C26BA
square
#BA5226 #44BA26 #268EBA #9C26BA
split-complementary
#BA5226 #26BA9C #2644BA
monochromatic
#542511 #873C1C #BA5226 #D97044 #E39777

Accessibility & contrast

On white

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

On black

4.32
#BA5226 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##BA5226#FFFFFF#000000##FFFFFF
##BA52261.004.864.324.86
#FFFFFF4.861.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6F6320
Deuteranopia (green-blind)
#897A23
Tritanopia (blue-blind)
#CC3A49
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #ba5226;
/* rgb */ color: rgb(186, 82, 38);
/* oklch */ color: oklch(56.5% 0.146 41.6);
Tailwind
colors: {
  custom: {
    50: '#d68563',
    500: '#ba5226',
    950: '#000000',
  },
}
SCSS
$custom: #ba5226;
$custom-light: #d68563;
$custom-dark: #000000;
JSON
{
  "hex": "#ba5226",
  "rgb": {
    "r": 186,
    "g": 82,
    "b": 38
  },
  "hsl": {
    "h": 17.838,
    "s": 66.071,
    "l": 43.922
  },
  "oklch": {
    "l": 0.56461,
    "c": 0.14605,
    "h": 41.6
  },
  "luminance": 0.16614
}

Semantic roles & 50–950 ramp

primary
#BA5226
secondary
#71B0CB
accent
#B6E93F
background
#FEF8F6
surface
#FCEFEB
border
#D5CAC6
text
#160B05
muted
#847C7A

Preview Lab

Preview with #BA5226

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

Preview Lab → · Contrast checker → · Palette generator →

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