#BA4231#BA4231

#BA4231 is a mid, vivid red. Relative luminance 0.146; OKLCH L 54.4% C 0.158 H 30.8°. Best body text is #FFFFFF at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#BA4231
RGBrgb(186, 66, 49)
HSLhsl(7, 58%, 46%)
HSVhsv(7, 74%, 73%)
CMYKcmyk(0%, 64.5%, 73.7%, 27.1%)
CIE-LABlab(45.03, 47.42, 35.98)
CIE-LCHlch(45.03, 59.53, 37.19°)
OKLaboklab(54.42% 0.1359 0.081)
OKLCHoklch(54.42% 0.158 30.8)
XYZxyz(22.7547, 14.5605, 4.5174)
Luminance0.1456 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA4231 #31A9BA
analogous
#BA3164 #BA4231 #BA8631
triadic
#BA4231 #31BA42 #4231BA
tetradic
#BA4231 #64BA31 #31A9BA #8631BA
square
#BA4231 #64BA31 #31A9BA #8631BA
split-complementary
#BA4231 #31BA86 #3164BA
monochromatic
#592017 #8A3124 #BA4231 #D26556 #DF9186

Accessibility & contrast

On white

5.37
#BA4231 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#BA4231 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA4231
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA4231#FFFFFF#000000##FFFFFF
##BA42311.005.373.915.37
#FFFFFF5.371.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#635A2E
Deuteranopia (green-blind)
#81742D
Tritanopia (blue-blind)
#CC233F
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #ba4231;
/* rgb */ color: rgb(186, 66, 49);
/* oklch */ color: oklch(54.4% 0.158 30.8);
Tailwind
colors: {
  custom: {
    50: '#d67c6a',
    500: '#ba4231',
    950: '#000000',
  },
}
SCSS
$custom: #ba4231;
$custom-light: #d67c6a;
$custom-dark: #000000;
JSON
{
  "hex": "#ba4231",
  "rgb": {
    "r": 186,
    "g": 66,
    "b": 49
  },
  "hsl": {
    "h": 7.445,
    "s": 58.298,
    "l": 46.078
  },
  "oklch": {
    "l": 0.54419,
    "c": 0.1582,
    "h": 30.8
  },
  "luminance": 0.14557
}

Semantic roles & 50–950 ramp

primary
#BA4231
secondary
#7EC0C9
accent
#CEE246
background
#FEF7F6
surface
#FCEEEB
border
#D5C9C6
text
#160A06
muted
#847C7A

Preview Lab

Preview with #BA4231

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

Preview Lab → · Contrast checker → · Palette generator →

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