#BA3F40#BA3F40

#BA3F40 is a mid, vivid red. Relative luminance 0.144; OKLCH L 54.3% C 0.159 H 23.6°. Best body text is #FFFFFF at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#BA3F40
RGBrgb(186, 63, 64)
HSLhsl(360, 49%, 49%)
HSVhsv(360, 66%, 73%)
CMYKcmyk(0%, 66.1%, 65.6%, 27.1%)
CIE-LABlab(44.76, 49.50, 26.93)
CIE-LCHlch(44.76, 56.35, 28.55°)
OKLaboklab(54.28% 0.1454 0.0637)
OKLCHoklch(54.28% 0.159 23.6)
XYZxyz(22.9550, 14.3675, 6.4140)
Luminance0.1436 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3F40 #3FBAB9
analogous
#BA3F7E #BA3F40 #BA7C3F
triadic
#BA3F40 #40BA3F #3F40BA
tetradic
#BA3F40 #7EBA3F #3FBAB9 #7C3FBA
square
#BA3F40 #7EBA3F #3FBAB9 #7C3FBA
split-complementary
#BA3F40 #3FBA7C #3F7EBA
monochromatic
#5F2021 #8C3030 #BA3F40 #CC6A6B #DC9798

Accessibility & contrast

On white

5.42
#BA3F40 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#BA3F40 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA3F40
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA3F40#FFFFFF#000000##FFFFFF
##BA3F401.005.423.875.42
#FFFFFF5.421.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#60593F
Deuteranopia (green-blind)
#7F743D
Tritanopia (blue-blind)
#CC2141
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #ba3f40;
/* rgb */ color: rgb(186, 63, 64);
/* oklch */ color: oklch(54.3% 0.159 23.6);
Tailwind
colors: {
  custom: {
    50: '#d67b75',
    500: '#ba3f40',
    950: '#000000',
  },
}
SCSS
$custom: #ba3f40;
$custom-light: #d67b75;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3f40",
  "rgb": {
    "r": 186,
    "g": 63,
    "b": 64
  },
  "hsl": {
    "h": 359.512,
    "s": 49.398,
    "l": 48.824
  },
  "oklch": {
    "l": 0.54282,
    "c": 0.15876,
    "h": 23.6
  },
  "luminance": 0.14364
}

Semantic roles & 50–950 ramp

primary
#BA3F40
secondary
#8DC8C7
accent
#D9D84F
background
#FEF7F7
surface
#FCEEED
border
#D5C9C8
text
#160A08
muted
#847C7B

Preview Lab

Preview with #BA3F40

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

Preview Lab → · Contrast checker → · Palette generator →

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