#BA332D#BA332D

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

Color values

HEX#BA332D
RGBrgb(186, 51, 45)
HSLhsl(3, 61%, 45%)
HSVhsv(3, 76%, 73%)
CMYKcmyk(0%, 72.6%, 75.8%, 27.1%)
CIE-LABlab(42.76, 53.29, 35.74)
CIE-LCHlch(42.76, 64.16, 33.85°)
OKLaboklab(52.71% 0.1534 0.0796)
OKLCHoklch(52.71% 0.173 27.4)
XYZxyz(21.9097, 12.9996, 3.8376)
Luminance0.1300 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA332D #2DB4BA
analogous
#BA2D6E #BA332D #BA792D
triadic
#BA332D #2DBA33 #332DBA
tetradic
#BA332D #6EBA2D #2DB4BA #792DBA
square
#BA332D #6EBA2D #2DB4BA #792DBA
split-complementary
#BA332D #2DBA79 #2D6EBA
monochromatic
#571815 #892521 #BA332D #D55550 #E08581

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BA332D#FFFFFF#000000##FFFFFF
##BA332D1.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)
#5B522B
Deuteranopia (green-blind)
#7C7028
Tritanopia (blue-blind)
#CD0033
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #ba332d;
/* rgb */ color: rgb(186, 51, 45);
/* oklch */ color: oklch(52.7% 0.173 27.4);
Tailwind
colors: {
  custom: {
    50: '#d77466',
    500: '#ba332d',
    950: '#000000',
  },
}
SCSS
$custom: #ba332d;
$custom-light: #d77466;
$custom-dark: #000000;
JSON
{
  "hex": "#ba332d",
  "rgb": {
    "r": 186,
    "g": 51,
    "b": 45
  },
  "hsl": {
    "h": 2.553,
    "s": 61.039,
    "l": 45.294
  },
  "oklch": {
    "l": 0.52708,
    "c": 0.17284,
    "h": 27.4
  },
  "luminance": 0.12996
}

Semantic roles & 50–950 ramp

primary
#BA332D
secondary
#79C6C9
accent
#DDE444
background
#FEF7F6
surface
#FDEDEB
border
#D5C8C6
text
#160906
muted
#847B7A

Preview Lab

Preview with #BA332D

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

Preview Lab → · Contrast checker → · Palette generator →

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