#BA3A4E#BA3A4E

#BA3A4E is a mid, vivid red. Relative luminance 0.140; OKLCH L 54.0% C 0.163 H 15.6°. Best body text is #FFFFFF at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#BA3A4E
RGBrgb(186, 58, 78)
HSLhsl(351, 52%, 48%)
HSVhsv(351, 69%, 73%)
CMYKcmyk(0%, 68.8%, 58.1%, 27.1%)
CIE-LABlab(44.26, 52.47, 17.77)
CIE-LCHlch(44.26, 55.40, 18.71°)
OKLaboklab(54% 0.1575 0.0439)
OKLCHoklch(54% 0.163 15.6)
XYZxyz(23.1401, 14.0185, 8.6936)
Luminance0.1401 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3A4E #3ABAA6
analogous
#BA3A8E #BA3A4E #BA663A
triadic
#BA3A4E #4EBA3A #3A4EBA
tetradic
#BA3A4E #8EBA3A #3ABAA6 #663ABA
square
#BA3A4E #8EBA3A #3ABAA6 #663ABA
split-complementary
#BA3A4E #3ABA66 #3A8EBA
monochromatic
#5D1D27 #8B2B3A #BA3A4E #CE6374 #DD929D

Accessibility & contrast

On white

5.52
#BA3A4E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.80
#BA3A4E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA3A4E
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA3A4E#FFFFFF#000000##FFFFFF
##BA3A4E1.005.523.805.52
#FFFFFF5.521.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B584E
Deuteranopia (green-blind)
#7B724B
Tritanopia (blue-blind)
#CB1D42
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #ba3a4e;
/* rgb */ color: rgb(186, 58, 78);
/* oklch */ color: oklch(54.0% 0.163 15.6);
Tailwind
colors: {
  custom: {
    50: '#d5787f',
    500: '#ba3a4e',
    950: '#000000',
  },
}
SCSS
$custom: #ba3a4e;
$custom-light: #d5787f;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3a4e",
  "rgb": {
    "r": 186,
    "g": 58,
    "b": 78
  },
  "hsl": {
    "h": 350.625,
    "s": 52.459,
    "l": 47.843
  },
  "oklch": {
    "l": 0.53995,
    "c": 0.16345,
    "h": 15.6
  },
  "luminance": 0.14015
}

Semantic roles & 50–950 ramp

primary
#BA3A4E
secondary
#88C8BE
accent
#DCC54C
background
#FDF7F7
surface
#FBEEEE
border
#D4C9C9
text
#150A0A
muted
#837C7C

Preview Lab

Preview with #BA3A4E

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

Preview Lab → · Contrast checker → · Palette generator →

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