#BA3145#BA3145

#BA3145 is a mid, vivid red. Relative luminance 0.131; OKLCH L 52.9% C 0.173 H 17.5°. Best body text is #FFFFFF at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#BA3145
RGBrgb(186, 49, 69)
HSLhsl(351, 58%, 46%)
HSVhsv(351, 74%, 73%)
CMYKcmyk(0%, 73.7%, 62.9%, 27.1%)
CIE-LABlab(42.87, 55.22, 21.49)
CIE-LCHlch(42.87, 59.25, 21.26°)
OKLaboklab(52.9% 0.1646 0.0519)
OKLCHoklch(52.9% 0.173 17.5)
XYZxyz(22.4245, 13.0687, 6.9708)
Luminance0.1306 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3145 #31BAA6
analogous
#BA3189 #BA3145 #BA6131
triadic
#BA3145 #45BA31 #3145BA
tetradic
#BA3145 #89BA31 #31BAA6 #6131BA
square
#BA3145 #89BA31 #31BAA6 #6131BA
split-complementary
#BA3145 #31BA61 #3189BA
monochromatic
#591721 #8A2433 #BA3145 #D25668 #DF8693

Accessibility & contrast

On white

5.81
#BA3145 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#BA3145 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA3145
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA3145#FFFFFF#000000##FFFFFF
##BA31451.005.813.615.81
#FFFFFF5.811.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#575345
Deuteranopia (green-blind)
#7A7041
Tritanopia (blue-blind)
#CC003A
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #ba3145;
/* rgb */ color: rgb(186, 49, 69);
/* oklch */ color: oklch(52.9% 0.173 17.5);
Tailwind
colors: {
  custom: {
    50: '#d67478',
    500: '#ba3145',
    950: '#000000',
  },
}
SCSS
$custom: #ba3145;
$custom-light: #d67478;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3145",
  "rgb": {
    "r": 186,
    "g": 49,
    "b": 69
  },
  "hsl": {
    "h": 351.241,
    "s": 58.298,
    "l": 46.078
  },
  "oklch": {
    "l": 0.52901,
    "c": 0.1726,
    "h": 17.5
  },
  "luminance": 0.13065
}

Semantic roles & 50–950 ramp

primary
#BA3145
secondary
#7EC9BE
accent
#E2CB46
background
#FEF7F7
surface
#FCEDED
border
#D5C8C8
text
#160909
muted
#847B7B

Preview Lab

Preview with #BA3145

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

Preview Lab → · Contrast checker → · Palette generator →

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