#BA3B48#BA3B48

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

Color values

HEX#BA3B48
RGBrgb(186, 59, 72)
HSLhsl(354, 52%, 48%)
HSVhsv(354, 68%, 73%)
CMYKcmyk(0%, 68.3%, 61.3%, 27.1%)
CIE-LABlab(44.29, 51.65, 21.49)
CIE-LCHlch(44.29, 55.95, 22.59°)
OKLaboklab(53.98% 0.1538 0.0521)
OKLCHoklch(53.98% 0.162 18.7)
XYZxyz(22.9856, 14.0381, 7.6289)
Luminance0.1404 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3B48 #3BBAAD
analogous
#BA3B88 #BA3B48 #BA6D3B
triadic
#BA3B48 #48BA3B #3B48BA
tetradic
#BA3B48 #88BA3B #3BBAAD #6D3BBA
square
#BA3B48 #88BA3B #3BBAAD #6D3BBA
split-complementary
#BA3B48 #3BBA6D #3B88BA
monochromatic
#5D1E24 #8C2C36 #BA3B48 #CE646F #DD939A

Accessibility & contrast

On white

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

On black

3.81
#BA3B48 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##BA3B48#FFFFFF#000000##FFFFFF
##BA3B481.005.523.815.52
#FFFFFF5.521.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C5848
Deuteranopia (green-blind)
#7C7345
Tritanopia (blue-blind)
#CC1C41
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #ba3b48;
/* rgb */ color: rgb(186, 59, 72);
/* oklch */ color: oklch(54.0% 0.162 18.7);
Tailwind
colors: {
  custom: {
    50: '#d5797a',
    500: '#ba3b48',
    950: '#000000',
  },
}
SCSS
$custom: #ba3b48;
$custom-light: #d5797a;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3b48",
  "rgb": {
    "r": 186,
    "g": 59,
    "b": 72
  },
  "hsl": {
    "h": 353.858,
    "s": 51.837,
    "l": 48.039
  },
  "oklch": {
    "l": 0.53977,
    "c": 0.16239,
    "h": 18.7
  },
  "luminance": 0.14035
}

Semantic roles & 50–950 ramp

primary
#BA3B48
secondary
#89C8C1
accent
#DBCD4D
background
#FEF7F7
surface
#FCEEED
border
#D5C9C8
text
#160A09
muted
#847C7B

Preview Lab

Preview with #BA3B48

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

Preview Lab → · Contrast checker → · Palette generator →

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