#BA332F#BA332F

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

Color values

HEX#BA332F
RGBrgb(186, 51, 47)
HSLhsl(2, 60%, 46%)
HSVhsv(2, 75%, 73%)
CMYKcmyk(0%, 72.6%, 74.7%, 27.1%)
CIE-LABlab(42.79, 53.37, 34.62)
CIE-LCHlch(42.79, 63.61, 32.97°)
OKLaboklab(52.73% 0.1541 0.0776)
OKLCHoklch(52.73% 0.173 26.7)
XYZxyz(21.9491, 13.0153, 4.0453)
Luminance0.1301 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA332F #2FB6BA
analogous
#BA2F70 #BA332F #BA792F
triadic
#BA332F #2FBA33 #332FBA
tetradic
#BA332F #70BA2F #2FB6BA #792FBA
square
#BA332F #70BA2F #2FB6BA #792FBA
split-complementary
#BA332F #2FBA79 #2F70BA
monochromatic
#581816 #892623 #BA332F #D35653 #E08684

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BA332F#FFFFFF#000000##FFFFFF
##BA332F1.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)
#5B522D
Deuteranopia (green-blind)
#7C702A
Tritanopia (blue-blind)
#CD0034
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #ba332f;
/* rgb */ color: rgb(186, 51, 47);
/* oklch */ color: oklch(52.7% 0.173 26.7);
Tailwind
colors: {
  custom: {
    50: '#d77468',
    500: '#ba332f',
    950: '#000000',
  },
}
SCSS
$custom: #ba332f;
$custom-light: #d77468;
$custom-dark: #000000;
JSON
{
  "hex": "#ba332f",
  "rgb": {
    "r": 186,
    "g": 51,
    "b": 47
  },
  "hsl": {
    "h": 1.727,
    "s": 59.657,
    "l": 45.686
  },
  "oklch": {
    "l": 0.52733,
    "c": 0.17256,
    "h": 26.7
  },
  "luminance": 0.13012
}

Semantic roles & 50–950 ramp

primary
#BA332F
secondary
#7CC7C9
accent
#DEE345
background
#FEF7F6
surface
#FDEDEB
border
#D5C8C6
text
#160906
muted
#847B7A

Preview Lab

Preview with #BA332F

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

Preview Lab → · Contrast checker → · Palette generator →

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