#BA2848#BA2848

#BA2848 is a mid, vivid red. Relative luminance 0.124; OKLCH L 52.2% C 0.181 H 14.4°. Best body text is #FFFFFF at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#BA2848
RGBrgb(186, 40, 72)
HSLhsl(347, 65%, 44%)
HSVhsv(347, 78%, 73%)
CMYKcmyk(0%, 78.5%, 61.3%, 27.1%)
CIE-LABlab(41.89, 58.31, 18.33)
CIE-LCHlch(41.89, 61.13, 17.45°)
OKLaboklab(52.2% 0.1751 0.0448)
OKLCHoklch(52.2% 0.181 14.4)
XYZxyz(22.1805, 12.4279, 7.3605)
Luminance0.1242 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA2848 #28BA9A
analogous
#BA2891 #BA2848 #BA5128
triadic
#BA2848 #48BA28 #2848BA
tetradic
#BA2848 #91BA28 #28BA9A #5128BA
square
#BA2848 #91BA28 #28BA9A #5128BA
split-complementary
#BA2848 #28BA51 #2891BA
monochromatic
#551221 #881D35 #BA2848 #D84867 #E27A91

Accessibility & contrast

On white

6.03
#BA2848 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#BA2848 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA2848
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA2848#FFFFFF#000000##FFFFFF
##BA28481.006.033.496.03
#FFFFFF6.031.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#525048
Deuteranopia (green-blind)
#776E44
Tritanopia (blue-blind)
#CC0036
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #ba2848;
/* rgb */ color: rgb(186, 40, 72);
/* oklch */ color: oklch(52.2% 0.181 14.4);
Tailwind
colors: {
  custom: {
    50: '#d6707a',
    500: '#ba2848',
    950: '#000000',
  },
}
SCSS
$custom: #ba2848;
$custom-light: #d6707a;
$custom-dark: #000000;
JSON
{
  "hex": "#ba2848",
  "rgb": {
    "r": 186,
    "g": 40,
    "b": 72
  },
  "hsl": {
    "h": 346.849,
    "s": 64.602,
    "l": 44.314
  },
  "oklch": {
    "l": 0.52195,
    "c": 0.18078,
    "h": 14.4
  },
  "luminance": 0.12425
}

Semantic roles & 50–950 ramp

primary
#BA2848
secondary
#73CAB7
accent
#E8C340
background
#FEF7F7
surface
#FCEDED
border
#D5C8C8
text
#160809
muted
#847B7B

Preview Lab

Preview with #BA2848

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

Preview Lab → · Contrast checker → · Palette generator →

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