#BA332E#BA332E

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

Color values

HEX#BA332E
RGBrgb(186, 51, 46)
HSLhsl(2, 60%, 45%)
HSVhsv(2, 75%, 73%)
CMYKcmyk(0%, 72.6%, 75.3%, 27.1%)
CIE-LABlab(42.77, 53.33, 35.18)
CIE-LCHlch(42.77, 63.89, 33.41°)
OKLaboklab(52.72% 0.1538 0.0786)
OKLCHoklch(52.72% 0.173 27.1)
XYZxyz(21.9292, 13.0074, 3.9402)
Luminance0.1300 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA332E #2EB5BA
analogous
#BA2E6F #BA332E #BA792E
triadic
#BA332E #2EBA33 #332EBA
tetradic
#BA332E #6FBA2E #2EB5BA #792EBA
square
#BA332E #6FBA2E #2EB5BA #792EBA
split-complementary
#BA332E #2EBA79 #2E6FBA
monochromatic
#581816 #892622 #BA332E #D45651 #E08682

Accessibility & contrast

On white

5.83
#BA332E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #BA332E
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA332E#FFFFFF#000000##FFFFFF
##BA332E1.005.833.605.83
#FFFFFF5.831.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.831.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ba332e;
/* rgb */ color: rgb(186, 51, 46);
/* oklch */ color: oklch(52.7% 0.173 27.1);
Tailwind
colors: {
  custom: {
    50: '#d77467',
    500: '#ba332e',
    950: '#000000',
  },
}
SCSS
$custom: #ba332e;
$custom-light: #d77467;
$custom-dark: #000000;
JSON
{
  "hex": "#ba332e",
  "rgb": {
    "r": 186,
    "g": 51,
    "b": 46
  },
  "hsl": {
    "h": 2.143,
    "s": 60.345,
    "l": 45.49
  },
  "oklch": {
    "l": 0.5272,
    "c": 0.1727,
    "h": 27.1
  },
  "luminance": 0.13004
}

Semantic roles & 50–950 ramp

primary
#BA332E
secondary
#7BC6C9
accent
#DEE344
background
#FEF7F6
surface
#FDEDEB
border
#D5C8C6
text
#160906
muted
#847B7A

Preview Lab

Preview with #BA332E

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

Preview Lab → · Contrast checker → · Palette generator →

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