#BA815F#BA815F

#BA815F is a light, moderate orange. Relative luminance 0.270; OKLCH L 65.3% C 0.085 H 51.5°. Best body text is #000000 at 6.39:1 contrast (WCAG AA passes).

Color values

HEX#BA815F
RGBrgb(186, 129, 95)
HSLhsl(22, 40%, 55%)
HSVhsv(22, 49%, 73%)
CMYKcmyk(0%, 30.6%, 48.9%, 27.1%)
CIE-LABlab(58.94, 18.03, 27.22)
CIE-LCHlch(58.94, 32.65, 56.49°)
OKLaboklab(65.28% 0.0531 0.0668)
OKLCHoklch(65.28% 0.085 51.5)
XYZxyz(30.1670, 26.9681, 14.4408)
Luminance0.2697 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA815F #5F98BA
analogous
#BA5F6A #BA815F #BAAF5F
triadic
#BA815F #5FBA81 #815FBA
tetradic
#BA815F #6ABA5F #5F98BA #AF5FBA
square
#BA815F #6ABA5F #5F98BA #AF5FBA
split-complementary
#BA815F #5FBAAF #5F6ABA
monochromatic
#6F4730 #9A6342 #BA815F #CCA38A #DFC4B5

Accessibility & contrast

On white

3.28
#BA815F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.39
#BA815F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA815F
6.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA815F#FFFFFF#000000##000000
##BA815F1.003.286.396.39
#FFFFFF3.281.0021.0021.00
#0000006.3921.001.001.00
##0000006.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#91865C
Deuteranopia (green-blind)
#9E935F
Tritanopia (blue-blind)
#C87678
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #ba815f;
/* rgb */ color: rgb(186, 129, 95);
/* oklch */ color: oklch(65.3% 0.085 51.5);
Tailwind
colors: {
  custom: {
    50: '#d1a58d',
    500: '#ba815f',
    950: '#000000',
  },
}
SCSS
$custom: #ba815f;
$custom-light: #d1a58d;
$custom-dark: #000000;
JSON
{
  "hex": "#ba815f",
  "rgb": {
    "r": 186,
    "g": 129,
    "b": 95
  },
  "hsl": {
    "h": 22.418,
    "s": 39.738,
    "l": 55.098
  },
  "oklch": {
    "l": 0.65281,
    "c": 0.08534,
    "h": 51.5
  },
  "luminance": 0.26966
}

Semantic roles & 50–950 ramp

primary
#BA815F
secondary
#A7BFCD
accent
#A3D058
background
#FDFAF8
surface
#FAF4F0
border
#D3CECB
text
#140F0C
muted
#837F7D

Preview Lab

Preview with #BA815F

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

Preview Lab → · Contrast checker → · Palette generator →

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