#BA232A#BA232A

#BA232A is a mid, vivid red. Relative luminance 0.118; OKLCH L 51.3% C 0.186 H 24.9°. Best body text is #FFFFFF at 6.25:1 contrast (WCAG AA passes).

Color values

HEX#BA232A
RGBrgb(186, 35, 42)
HSLhsl(357, 68%, 43%)
HSVhsv(357, 81%, 73%)
CMYKcmyk(0%, 81.2%, 77.4%, 27.1%)
CIE-LABlab(40.92, 58.24, 35.46)
CIE-LCHlch(40.92, 68.19, 31.34°)
OKLaboklab(51.32% 0.1684 0.0781)
OKLCHoklch(51.32% 0.186 24.9)
XYZxyz(21.2712, 11.8118, 3.3499)
Luminance0.1181 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA232A #23BAB3
analogous
#BA2375 #BA232A #BA6823
triadic
#BA232A #2ABA23 #232ABA
tetradic
#BA232A #75BA23 #23BAB3 #6823BA
square
#BA232A #75BA23 #23BAB3 #6823BA
split-complementary
#BA232A #23BA68 #2375BA
monochromatic
#531013 #86191E #BA232A #DB3F46 #E57378

Accessibility & contrast

On white

6.25
#BA232A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#BA232A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA232A
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA232A#FFFFFF#000000##FFFFFF
##BA232A1.006.253.366.25
#FFFFFF6.251.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#544C28
Deuteranopia (green-blind)
#796C24
Tritanopia (blue-blind)
#CD0028
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #ba232a;
/* rgb */ color: rgb(186, 35, 42);
/* oklch */ color: oklch(51.3% 0.186 24.9);
Tailwind
colors: {
  custom: {
    50: '#d86e64',
    500: '#ba232a',
    950: '#000000',
  },
}
SCSS
$custom: #ba232a;
$custom-light: #d86e64;
$custom-dark: #000000;
JSON
{
  "hex": "#ba232a",
  "rgb": {
    "r": 186,
    "g": 35,
    "b": 42
  },
  "hsl": {
    "h": 357.219,
    "s": 68.326,
    "l": 43.333
  },
  "oklch": {
    "l": 0.51323,
    "c": 0.18568,
    "h": 24.9
  },
  "luminance": 0.11808
}

Semantic roles & 50–950 ramp

primary
#BA232A
secondary
#6DCCC7
accent
#EBE33D
background
#FEF7F6
surface
#FDEDEB
border
#D5C8C6
text
#170805
muted
#857B7A

Preview Lab

Preview with #BA232A

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

Preview Lab → · Contrast checker → · Palette generator →

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