#BA3840#BA3840

#BA3840 is a mid, vivid red. Relative luminance 0.136; OKLCH L 53.5% C 0.166 H 21.5°. Best body text is #FFFFFF at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#BA3840
RGBrgb(186, 56, 64)
HSLhsl(356, 54%, 47%)
HSVhsv(356, 70%, 73%)
CMYKcmyk(0%, 69.9%, 65.6%, 27.1%)
CIE-LABlab(43.71, 52.34, 25.63)
CIE-LCHlch(43.71, 58.27, 26.09°)
OKLaboklab(53.5% 0.1544 0.0608)
OKLCHoklch(53.5% 0.166 21.5)
XYZxyz(22.5916, 13.6409, 6.2929)
Luminance0.1364 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3840 #38BAB2
analogous
#BA3881 #BA3840 #BA7138
triadic
#BA3840 #40BA38 #3840BA
tetradic
#BA3840 #81BA38 #38BAB2 #7138BA
square
#BA3840 #81BA38 #38BAB2 #7138BA
split-complementary
#BA3840 #38BA71 #3881BA
monochromatic
#5C1C20 #8B2A30 #BA3840 #CF6067 #DD8F94

Accessibility & contrast

On white

5.63
#BA3840 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.73
#BA3840 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA3840
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA3840#FFFFFF#000000##FFFFFF
##BA38401.005.633.735.63
#FFFFFF5.631.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C563F
Deuteranopia (green-blind)
#7C713C
Tritanopia (blue-blind)
#CC123C
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #ba3840;
/* rgb */ color: rgb(186, 56, 64);
/* oklch */ color: oklch(53.5% 0.166 21.5);
Tailwind
colors: {
  custom: {
    50: '#d67774',
    500: '#ba3840',
    950: '#000000',
  },
}
SCSS
$custom: #ba3840;
$custom-light: #d67774;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3840",
  "rgb": {
    "r": 186,
    "g": 56,
    "b": 64
  },
  "hsl": {
    "h": 356.308,
    "s": 53.719,
    "l": 47.451
  },
  "oklch": {
    "l": 0.53503,
    "c": 0.16595,
    "h": 21.5
  },
  "luminance": 0.13638
}

Semantic roles & 50–950 ramp

primary
#BA3840
secondary
#86C8C4
accent
#DDD44B
background
#FEF7F7
surface
#FCEEED
border
#D5C9C8
text
#160908
muted
#847B7B

Preview Lab

Preview with #BA3840

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

Preview Lab → · Contrast checker → · Palette generator →

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