#BA3F29#BA3F29

#BA3F29 is a mid, vivid red. Relative luminance 0.142; OKLCH L 54.0% C 0.163 H 32.4°. Best body text is #FFFFFF at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#BA3F29
RGBrgb(186, 63, 41)
HSLhsl(9, 64%, 45%)
HSVhsv(9, 78%, 73%)
CMYKcmyk(0%, 66.1%, 78%, 27.1%)
CIE-LABlab(44.46, 48.39, 39.76)
CIE-LCHlch(44.46, 62.63, 39.41°)
OKLaboklab(53.96% 0.1373 0.0872)
OKLCHoklch(53.96% 0.163 32.4)
XYZxyz(22.4300, 14.1575, 3.6490)
Luminance0.1415 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3F29 #29A4BA
analogous
#BA295C #BA3F29 #BA8729
triadic
#BA3F29 #29BA3F #3F29BA
tetradic
#BA3F29 #5CBA29 #29A4BA #8729BA
square
#BA3F29 #5CBA29 #29A4BA #8729BA
split-complementary
#BA3F29 #29BA87 #295CBA
monochromatic
#561D13 #882E1E #BA3F29 #D75F49 #E28B7B

Accessibility & contrast

On white

5.48
#BA3F29 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.83
#BA3F29 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA3F29
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA3F29#FFFFFF#000000##FFFFFF
##BA3F291.005.483.835.48
#FFFFFF5.481.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#625826
Deuteranopia (green-blind)
#817324
Tritanopia (blue-blind)
#CD1B3B
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #ba3f29;
/* rgb */ color: rgb(186, 63, 41);
/* oklch */ color: oklch(54.0% 0.163 32.4);
Tailwind
colors: {
  custom: {
    50: '#d77a64',
    500: '#ba3f29',
    950: '#000000',
  },
}
SCSS
$custom: #ba3f29;
$custom-light: #d77a64;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3f29",
  "rgb": {
    "r": 186,
    "g": 63,
    "b": 41
  },
  "hsl": {
    "h": 9.103,
    "s": 63.877,
    "l": 44.51
  },
  "oklch": {
    "l": 0.53964,
    "c": 0.16266,
    "h": 32.4
  },
  "luminance": 0.14154
}

Semantic roles & 50–950 ramp

primary
#BA3F29
secondary
#75BDCA
accent
#CEE741
background
#FEF7F6
surface
#FDEEEB
border
#D5C9C6
text
#160A05
muted
#847C7A

Preview Lab

Preview with #BA3F29

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

Preview Lab → · Contrast checker → · Palette generator →

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