#BA3F3A#BA3F3A

#BA3F3A is a mid, vivid red. Relative luminance 0.143; OKLCH L 54.2% C 0.160 H 26.2°. Best body text is #FFFFFF at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#BA3F3A
RGBrgb(186, 63, 58)
HSLhsl(2, 52%, 48%)
HSVhsv(2, 69%, 73%)
CMYKcmyk(0%, 66.1%, 68.8%, 27.1%)
CIE-LABlab(44.66, 49.16, 30.38)
CIE-LCHlch(44.66, 57.79, 31.72°)
OKLaboklab(54.19% 0.1432 0.0705)
OKLCHoklch(54.19% 0.16 26.2)
XYZxyz(22.7933, 14.3028, 5.5627)
Luminance0.1430 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3F3A #3AB5BA
analogous
#BA3A75 #BA3F3A #BA7F3A
triadic
#BA3F3A #3ABA3F #3F3ABA
tetradic
#BA3F3A #75BA3A #3AB5BA #7F3ABA
square
#BA3F3A #75BA3A #3AB5BA #7F3ABA
split-complementary
#BA3F3A #3ABA7F #3A75BA
monochromatic
#5D1F1D #8B2F2B #BA3F3A #CE6763 #DD9492

Accessibility & contrast

On white

5.44
#BA3F3A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.86
#BA3F3A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA3F3A
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA3F3A#FFFFFF#000000##FFFFFF
##BA3F3A1.005.443.865.44
#FFFFFF5.441.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#615938
Deuteranopia (green-blind)
#7F7336
Tritanopia (blue-blind)
#CC1F3F
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #ba3f3a;
/* rgb */ color: rgb(186, 63, 58);
/* oklch */ color: oklch(54.2% 0.160 26.2);
Tailwind
colors: {
  custom: {
    50: '#d67b70',
    500: '#ba3f3a',
    950: '#000000',
  },
}
SCSS
$custom: #ba3f3a;
$custom-light: #d67b70;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3f3a",
  "rgb": {
    "r": 186,
    "g": 63,
    "b": 58
  },
  "hsl": {
    "h": 2.344,
    "s": 52.459,
    "l": 47.843
  },
  "oklch": {
    "l": 0.54185,
    "c": 0.15957,
    "h": 26.2
  },
  "luminance": 0.143
}

Semantic roles & 50–950 ramp

primary
#BA3F3A
secondary
#88C5C8
accent
#D6DC4C
background
#FEF7F6
surface
#FCEEEC
border
#D5C9C7
text
#160A07
muted
#847C7A

Preview Lab

Preview with #BA3F3A

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

Preview Lab → · Contrast checker → · Palette generator →

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