#BA4048#BA4048

#BA4048 is a mid, vivid red. Relative luminance 0.146; OKLCH L 54.5% C 0.157 H 20.3°. Best body text is #FFFFFF at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#BA4048
RGBrgb(186, 64, 72)
HSLhsl(356, 49%, 49%)
HSVhsv(356, 66%, 73%)
CMYKcmyk(0%, 65.6%, 61.3%, 27.1%)
CIE-LABlab(45.05, 49.58, 22.48)
CIE-LCHlch(45.05, 54.44, 24.39°)
OKLaboklab(54.55% 0.1472 0.0544)
OKLCHoklch(54.55% 0.157 20.3)
XYZxyz(23.2550, 14.5769, 7.7187)
Luminance0.1457 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA4048 #40BAB2
analogous
#BA4085 #BA4048 #BA7540
triadic
#BA4048 #48BA40 #4048BA
tetradic
#BA4048 #85BA40 #40BAB2 #7540BA
square
#BA4048 #85BA40 #40BAB2 #7540BA
split-complementary
#BA4048 #40BA75 #4085BA
monochromatic
#5F2125 #8C3036 #BA4048 #CC6B71 #DC999D

Accessibility & contrast

On white

5.36
#BA4048 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#BA4048 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA4048
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA4048#FFFFFF#000000##FFFFFF
##BA40481.005.363.915.36
#FFFFFF5.361.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F5A47
Deuteranopia (green-blind)
#7E7445
Tritanopia (blue-blind)
#CC2544
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #ba4048;
/* rgb */ color: rgb(186, 64, 72);
/* oklch */ color: oklch(54.5% 0.157 20.3);
Tailwind
colors: {
  custom: {
    50: '#d57b7b',
    500: '#ba4048',
    950: '#000000',
  },
}
SCSS
$custom: #ba4048;
$custom-light: #d57b7b;
$custom-dark: #000000;
JSON
{
  "hex": "#ba4048",
  "rgb": {
    "r": 186,
    "g": 64,
    "b": 72
  },
  "hsl": {
    "h": 356.066,
    "s": 48.8,
    "l": 49.02
  },
  "oklch": {
    "l": 0.54547,
    "c": 0.15695,
    "h": 20.3
  },
  "luminance": 0.14574
}

Semantic roles & 50–950 ramp

primary
#BA4048
secondary
#8EC8C4
accent
#D8CF4F
background
#FDF7F7
surface
#FBEEED
border
#D4C9C8
text
#150A09
muted
#837C7B

Preview Lab

Preview with #BA4048

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

Preview Lab → · Contrast checker → · Palette generator →

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