#BA5227#BA5227

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

Color values

HEX#BA5227
RGBrgb(186, 82, 39)
HSLhsl(18, 65%, 44%)
HSVhsv(18, 79%, 73%)
CMYKcmyk(0%, 55.9%, 79%, 27.1%)
CIE-LABlab(47.78, 39.50, 44.14)
CIE-LCHlch(47.78, 59.23, 48.17°)
OKLaboklab(56.47% 0.1096 0.0962)
OKLCHoklch(56.47% 0.146 41.3)
XYZxyz(23.6356, 16.6233, 3.8831)
Luminance0.1662 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA5227 #278FBA
analogous
#BA2746 #BA5227 #BA9C27
triadic
#BA5227 #27BA52 #5227BA
tetradic
#BA5227 #46BA27 #278FBA #9C27BA
square
#BA5227 #46BA27 #278FBA #9C27BA
split-complementary
#BA5227 #27BA9C #2746BA
monochromatic
#552512 #873C1C #BA5227 #D87146 #E39879

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BA5227#FFFFFF#000000##FFFFFF
##BA52271.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)
#6F6321
Deuteranopia (green-blind)
#897A24
Tritanopia (blue-blind)
#CC3B49
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #ba5227;
/* rgb */ color: rgb(186, 82, 39);
/* oklch */ color: oklch(56.5% 0.146 41.3);
Tailwind
colors: {
  custom: {
    50: '#d68564',
    500: '#ba5227',
    950: '#000000',
  },
}
SCSS
$custom: #ba5227;
$custom-light: #d68564;
$custom-dark: #000000;
JSON
{
  "hex": "#ba5227",
  "rgb": {
    "r": 186,
    "g": 82,
    "b": 39
  },
  "hsl": {
    "h": 17.551,
    "s": 65.333,
    "l": 44.118
  },
  "oklch": {
    "l": 0.5647,
    "c": 0.14577,
    "h": 41.3
  },
  "luminance": 0.1662
}

Semantic roles & 50–950 ramp

primary
#BA5227
secondary
#72B1CB
accent
#B7E840
background
#FEF8F6
surface
#FCEFEB
border
#D5CAC6
text
#160B05
muted
#847C7A

Preview Lab

Preview with #BA5227

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

Preview Lab → · Contrast checker → · Palette generator →

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