#BA5231#BA5231

#BA5231 is a mid, vivid red. Relative luminance 0.167; OKLCH L 56.6% C 0.143 H 38.0°. Best body text is #FFFFFF at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#BA5231
RGBrgb(186, 82, 49)
HSLhsl(14, 58%, 46%)
HSVhsv(14, 74%, 73%)
CMYKcmyk(0%, 55.9%, 73.7%, 27.1%)
CIE-LABlab(47.88, 39.92, 39.12)
CIE-LCHlch(47.88, 55.89, 44.42°)
OKLaboklab(56.57% 0.1126 0.0878)
OKLCHoklch(56.57% 0.143 38)
XYZxyz(23.8237, 16.6985, 4.8737)
Luminance0.1669 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA5231 #3199BA
analogous
#BA3154 #BA5231 #BA9631
triadic
#BA5231 #31BA52 #5231BA
tetradic
#BA5231 #54BA31 #3199BA #9631BA
square
#BA5231 #54BA31 #3199BA #9631BA
split-complementary
#BA5231 #31BA96 #3154BA
monochromatic
#592717 #8A3D24 #BA5231 #D27456 #DF9C86

Accessibility & contrast

On white

4.84
#BA5231 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.34
#BA5231 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA5231
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA5231#FFFFFF#000000##FFFFFF
##BA52311.004.844.344.84
#FFFFFF4.841.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6E632D
Deuteranopia (green-blind)
#887A2E
Tritanopia (blue-blind)
#CC3C4B
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #ba5231;
/* rgb */ color: rgb(186, 82, 49);
/* oklch */ color: oklch(56.6% 0.143 38.0);
Tailwind
colors: {
  custom: {
    50: '#d6856b',
    500: '#ba5231',
    950: '#000000',
  },
}
SCSS
$custom: #ba5231;
$custom-light: #d6856b;
$custom-dark: #000000;
JSON
{
  "hex": "#ba5231",
  "rgb": {
    "r": 186,
    "g": 82,
    "b": 49
  },
  "hsl": {
    "h": 14.453,
    "s": 58.298,
    "l": 46.078
  },
  "oklch": {
    "l": 0.56574,
    "c": 0.14282,
    "h": 38
  },
  "luminance": 0.16695
}

Semantic roles & 50–950 ramp

primary
#BA5231
secondary
#7EB7C9
accent
#BCE246
background
#FEF8F6
surface
#FCEFEB
border
#D5CAC6
text
#160B06
muted
#847C7A

Preview Lab

Preview with #BA5231

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

Preview Lab → · Contrast checker → · Palette generator →

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