#BA5331#BA5331

#BA5331 is a mid, vivid red. Relative luminance 0.168; OKLCH L 56.7% C 0.142 H 38.5°. Best body text is #FFFFFF at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#BA5331
RGBrgb(186, 83, 49)
HSLhsl(15, 58%, 46%)
HSVhsv(15, 74%, 73%)
CMYKcmyk(0%, 55.4%, 73.7%, 27.1%)
CIE-LABlab(48.07, 39.42, 39.33)
CIE-LCHlch(48.07, 55.69, 44.94°)
OKLaboklab(56.72% 0.1111 0.0883)
OKLCHoklch(56.72% 0.142 38.5)
XYZxyz(23.8997, 16.8505, 4.8991)
Luminance0.1685 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA5331 #3198BA
analogous
#BA3153 #BA5331 #BA9731
triadic
#BA5331 #31BA53 #5331BA
tetradic
#BA5331 #53BA31 #3198BA #9731BA
square
#BA5331 #53BA31 #3198BA #9731BA
split-complementary
#BA5331 #31BA97 #3153BA
monochromatic
#592817 #8A3D24 #BA5331 #D27556 #DF9C86

Accessibility & contrast

On white

4.81
#BA5331 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.37
#BA5331 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA5331
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA5331#FFFFFF#000000##FFFFFF
##BA53311.004.814.374.81
#FFFFFF4.811.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6F642D
Deuteranopia (green-blind)
#887B2E
Tritanopia (blue-blind)
#CC3D4C
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #ba5331;
/* rgb */ color: rgb(186, 83, 49);
/* oklch */ color: oklch(56.7% 0.142 38.5);
Tailwind
colors: {
  custom: {
    50: '#d6866b',
    500: '#ba5331',
    950: '#000000',
  },
}
SCSS
$custom: #ba5331;
$custom-light: #d6866b;
$custom-dark: #000000;
JSON
{
  "hex": "#ba5331",
  "rgb": {
    "r": 186,
    "g": 83,
    "b": 49
  },
  "hsl": {
    "h": 14.891,
    "s": 58.298,
    "l": 46.078
  },
  "oklch": {
    "l": 0.5672,
    "c": 0.14189,
    "h": 38.5
  },
  "luminance": 0.16847
}

Semantic roles & 50–950 ramp

primary
#BA5331
secondary
#7EB6C9
accent
#BBE246
background
#FEF8F6
surface
#FCF0EB
border
#D5CBC6
text
#160B07
muted
#847C7A

Preview Lab

Preview with #BA5331

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

Preview Lab → · Contrast checker → · Palette generator →

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