#BA3A42#BA3A42

#BA3A42 is a mid, vivid red. Relative luminance 0.139; OKLCH L 53.8% C 0.164 H 21.2°. Best body text is #FFFFFF at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#BA3A42
RGBrgb(186, 58, 66)
HSLhsl(356, 52%, 48%)
HSVhsv(356, 69%, 73%)
CMYKcmyk(0%, 68.8%, 64.5%, 27.1%)
CIE-LABlab(44.03, 51.67, 24.82)
CIE-LCHlch(44.03, 57.32, 25.66°)
OKLaboklab(53.75% 0.1527 0.0592)
OKLCHoklch(53.75% 0.164 21.2)
XYZxyz(22.7485, 13.8618, 6.6309)
Luminance0.1386 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3A42 #3ABAB2
analogous
#BA3A82 #BA3A42 #BA723A
triadic
#BA3A42 #42BA3A #3A42BA
tetradic
#BA3A42 #82BA3A #3ABAB2 #723ABA
square
#BA3A42 #82BA3A #3ABAB2 #723ABA
split-complementary
#BA3A42 #3ABA72 #3A82BA
monochromatic
#5D1D21 #8B2B31 #BA3A42 #CE636A #DD9296

Accessibility & contrast

On white

5.57
#BA3A42 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#BA3A42 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA3A42
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA3A42#FFFFFF#000000##FFFFFF
##BA3A421.005.573.775.57
#FFFFFF5.571.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C5741
Deuteranopia (green-blind)
#7D723E
Tritanopia (blue-blind)
#CC183E
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #ba3a42;
/* rgb */ color: rgb(186, 58, 66);
/* oklch */ color: oklch(53.8% 0.164 21.2);
Tailwind
colors: {
  custom: {
    50: '#d67876',
    500: '#ba3a42',
    950: '#000000',
  },
}
SCSS
$custom: #ba3a42;
$custom-light: #d67876;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3a42",
  "rgb": {
    "r": 186,
    "g": 58,
    "b": 66
  },
  "hsl": {
    "h": 356.25,
    "s": 52.459,
    "l": 47.843
  },
  "oklch": {
    "l": 0.53754,
    "c": 0.16377,
    "h": 21.2
  },
  "luminance": 0.13859
}

Semantic roles & 50–950 ramp

primary
#BA3A42
secondary
#88C8C4
accent
#DCD34C
background
#FEF7F7
surface
#FCEEED
border
#D5C9C8
text
#160908
muted
#847B7B

Preview Lab

Preview with #BA3A42

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

Preview Lab → · Contrast checker → · Palette generator →

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