#BA6838#BA6838

#BA6838 is a mid, vivid orange. Relative luminance 0.206; OKLCH L 60.2% C 0.122 H 49.1°. Best body text is #000000 at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#BA6838
RGBrgb(186, 104, 56)
HSLhsl(22, 54%, 47%)
HSVhsv(22, 70%, 73%)
CMYKcmyk(0%, 44.1%, 69.9%, 27.1%)
CIE-LABlab(52.54, 28.79, 40.58)
CIE-LCHlch(52.54, 49.76, 54.64°)
OKLaboklab(60.16% 0.0799 0.0924)
OKLCHoklch(60.16% 0.122 49.1)
XYZxyz(25.9160, 20.6281, 6.3574)
Luminance0.2062 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA6838 #388ABA
analogous
#BA3849 #BA6838 #BAA938
triadic
#BA6838 #38BA68 #6838BA
tetradic
#BA6838 #49BA38 #388ABA #A938BA
square
#BA6838 #49BA38 #388ABA #A938BA
split-complementary
#BA6838 #38BAA9 #3849BA
monochromatic
#5C331C #8B4E2A #BA6838 #CF8960 #DDAC8F

Accessibility & contrast

On white

4.10
#BA6838 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.12
#BA6838 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA6838
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA6838#FFFFFF#000000##000000
##BA68381.004.105.125.12
#FFFFFF4.101.0021.0021.00
#0000005.1221.001.001.00
##0000005.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7F7233
Deuteranopia (green-blind)
#938437
Tritanopia (blue-blind)
#CB575D
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #ba6838;
/* rgb */ color: rgb(186, 104, 56);
/* oklch */ color: oklch(60.2% 0.122 49.1);
Tailwind
colors: {
  custom: {
    50: '#d49470',
    500: '#ba6838',
    950: '#000000',
  },
}
SCSS
$custom: #ba6838;
$custom-light: #d49470;
$custom-dark: #000000;
JSON
{
  "hex": "#ba6838",
  "rgb": {
    "r": 186,
    "g": 104,
    "b": 56
  },
  "hsl": {
    "h": 22.154,
    "s": 53.719,
    "l": 47.451
  },
  "oklch": {
    "l": 0.60159,
    "c": 0.12213,
    "h": 49.1
  },
  "luminance": 0.20625
}

Semantic roles & 50–950 ramp

primary
#BA6838
secondary
#86B0C8
accent
#A7DD4B
background
#FDF9F6
surface
#FBF1EC
border
#D4CBC7
text
#150D08
muted
#837E7B

Preview Lab

Preview with #BA6838

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

Preview Lab → · Contrast checker → · Palette generator →

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