#BA3A40#BA3A40

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

Color values

HEX#BA3A40
RGBrgb(186, 58, 64)
HSLhsl(357, 52%, 48%)
HSVhsv(357, 69%, 73%)
CMYKcmyk(0%, 68.8%, 65.6%, 27.1%)
CIE-LABlab(44.00, 51.55, 25.99)
CIE-LCHlch(44.00, 57.73, 26.75°)
OKLaboklab(53.72% 0.1519 0.0616)
OKLCHoklch(53.72% 0.164 22.1)
XYZxyz(22.6905, 13.8386, 6.3258)
Luminance0.1384 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3A40 #3ABAB4
analogous
#BA3A80 #BA3A40 #BA743A
triadic
#BA3A40 #40BA3A #3A40BA
tetradic
#BA3A40 #80BA3A #3ABAB4 #743ABA
square
#BA3A40 #80BA3A #3ABAB4 #743ABA
split-complementary
#BA3A40 #3ABA74 #3A80BA
monochromatic
#5D1D20 #8B2B30 #BA3A40 #CE6368 #DD9295

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BA3A40#FFFFFF#000000##FFFFFF
##BA3A401.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)
#5D573F
Deuteranopia (green-blind)
#7D723C
Tritanopia (blue-blind)
#CC173D
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #ba3a40;
/* rgb */ color: rgb(186, 58, 64);
/* oklch */ color: oklch(53.7% 0.164 22.1);
Tailwind
colors: {
  custom: {
    50: '#d67874',
    500: '#ba3a40',
    950: '#000000',
  },
}
SCSS
$custom: #ba3a40;
$custom-light: #d67874;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3a40",
  "rgb": {
    "r": 186,
    "g": 58,
    "b": 64
  },
  "hsl": {
    "h": 357.188,
    "s": 52.459,
    "l": 47.843
  },
  "oklch": {
    "l": 0.53718,
    "c": 0.16393,
    "h": 22.1
  },
  "luminance": 0.13835
}

Semantic roles & 50–950 ramp

primary
#BA3A40
secondary
#88C8C5
accent
#DCD54C
background
#FEF7F7
surface
#FCEEED
border
#D5C9C8
text
#160908
muted
#847B7B

Preview Lab

Preview with #BA3A40

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

Preview Lab → · Contrast checker → · Palette generator →

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