#BA3845#BA3845

#BA3845 is a mid, vivid red. Relative luminance 0.137; OKLCH L 53.6% C 0.166 H 19.3°. Best body text is #FFFFFF at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#BA3845
RGBrgb(186, 56, 69)
HSLhsl(354, 54%, 47%)
HSVhsv(354, 70%, 73%)
CMYKcmyk(0%, 69.9%, 62.9%, 27.1%)
CIE-LABlab(43.80, 52.64, 22.69)
CIE-LCHlch(43.80, 57.33, 23.32°)
OKLaboklab(53.6% 0.1564 0.0546)
OKLCHoklch(53.6% 0.166 19.3)
XYZxyz(22.7404, 13.7004, 7.0761)
Luminance0.1370 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3845 #38BAAD
analogous
#BA3886 #BA3845 #BA6C38
triadic
#BA3845 #45BA38 #3845BA
tetradic
#BA3845 #86BA38 #38BAAD #6C38BA
square
#BA3845 #86BA38 #38BAAD #6C38BA
split-complementary
#BA3845 #38BA6C #3886BA
monochromatic
#5C1C22 #8B2A34 #BA3845 #CF606B #DD8F97

Accessibility & contrast

On white

5.62
#BA3845 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#BA3845 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA3845
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA3845#FFFFFF#000000##FFFFFF
##BA38451.005.623.745.62
#FFFFFF5.621.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B5645
Deuteranopia (green-blind)
#7C7241
Tritanopia (blue-blind)
#CC143E
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #ba3845;
/* rgb */ color: rgb(186, 56, 69);
/* oklch */ color: oklch(53.6% 0.166 19.3);
Tailwind
colors: {
  custom: {
    50: '#d67778',
    500: '#ba3845',
    950: '#000000',
  },
}
SCSS
$custom: #ba3845;
$custom-light: #d67778;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3845",
  "rgb": {
    "r": 186,
    "g": 56,
    "b": 69
  },
  "hsl": {
    "h": 354,
    "s": 53.719,
    "l": 47.451
  },
  "oklch": {
    "l": 0.53596,
    "c": 0.16565,
    "h": 19.3
  },
  "luminance": 0.13697
}

Semantic roles & 50–950 ramp

primary
#BA3845
secondary
#86C8C1
accent
#DDCE4B
background
#FEF7F7
surface
#FCEEED
border
#D5C9C8
text
#160909
muted
#847B7B

Preview Lab

Preview with #BA3845

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

Preview Lab → · Contrast checker → · Palette generator →

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