#BA332C#BA332C

#BA332C is a mid, vivid red. Relative luminance 0.130; OKLCH L 52.7% C 0.173 H 27.7°. Best body text is #FFFFFF at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#BA332C
RGBrgb(186, 51, 44)
HSLhsl(3, 62%, 45%)
HSVhsv(3, 76%, 73%)
CMYKcmyk(0%, 72.6%, 76.3%, 27.1%)
CIE-LABlab(42.75, 53.25, 36.30)
CIE-LCHlch(42.75, 64.44, 34.28°)
OKLaboklab(52.7% 0.1531 0.0805)
OKLCHoklch(52.7% 0.173 27.7)
XYZxyz(21.8907, 12.9920, 3.7374)
Luminance0.1299 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA332C #2CB3BA
analogous
#BA2C6C #BA332C #BA7A2C
triadic
#BA332C #2CBA33 #332CBA
tetradic
#BA332C #6CBA2C #2CB3BA #7A2CBA
square
#BA332C #6CBA2C #2CB3BA #7A2CBA
split-complementary
#BA332C #2CBA7A #2C6CBA
monochromatic
#571815 #892520 #BA332C #D5554E #E18480

Accessibility & contrast

On white

5.84
#BA332C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#BA332C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA332C
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA332C#FFFFFF#000000##FFFFFF
##BA332C1.005.843.605.84
#FFFFFF5.841.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B522A
Deuteranopia (green-blind)
#7C7027
Tritanopia (blue-blind)
#CD0033
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #ba332c;
/* rgb */ color: rgb(186, 51, 44);
/* oklch */ color: oklch(52.7% 0.173 27.7);
Tailwind
colors: {
  custom: {
    50: '#d77466',
    500: '#ba332c',
    950: '#000000',
  },
}
SCSS
$custom: #ba332c;
$custom-light: #d77466;
$custom-dark: #000000;
JSON
{
  "hex": "#ba332c",
  "rgb": {
    "r": 186,
    "g": 51,
    "b": 44
  },
  "hsl": {
    "h": 2.958,
    "s": 61.739,
    "l": 45.098
  },
  "oklch": {
    "l": 0.52696,
    "c": 0.17298,
    "h": 27.7
  },
  "luminance": 0.12989
}

Semantic roles & 50–950 ramp

primary
#BA332C
secondary
#78C6CA
accent
#DDE543
background
#FEF7F6
surface
#FDEDEB
border
#D5C8C6
text
#160906
muted
#847B7A

Preview Lab

Preview with #BA332C

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

Preview Lab → · Contrast checker → · Palette generator →

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