#BA2748#BA2748

#BA2748 is a mid, vivid red. Relative luminance 0.124; OKLCH L 52.1% C 0.182 H 14.2°. Best body text is #FFFFFF at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#BA2748
RGBrgb(186, 39, 72)
HSLhsl(347, 65%, 44%)
HSVhsv(347, 79%, 73%)
CMYKcmyk(0%, 79%, 61.3%, 27.1%)
CIE-LABlab(41.78, 58.61, 18.20)
CIE-LCHlch(41.78, 61.37, 17.25°)
OKLaboklab(52.12% 0.1761 0.0445)
OKLCHoklch(52.12% 0.182 14.2)
XYZxyz(22.1472, 12.3613, 7.3494)
Luminance0.1236 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA2748 #27BA99
analogous
#BA2792 #BA2748 #BA5027
triadic
#BA2748 #48BA27 #2748BA
tetradic
#BA2748 #92BA27 #27BA99 #5027BA
square
#BA2748 #92BA27 #27BA99 #5027BA
split-complementary
#BA2748 #27BA50 #2792BA
monochromatic
#551221 #871C34 #BA2748 #D84667 #E37990

Accessibility & contrast

On white

6.05
#BA2748 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#BA2748 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA2748
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA2748#FFFFFF#000000##FFFFFF
##BA27481.006.053.476.05
#FFFFFF6.051.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#514F48
Deuteranopia (green-blind)
#776D44
Tritanopia (blue-blind)
#CC0035
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #ba2748;
/* rgb */ color: rgb(186, 39, 72);
/* oklch */ color: oklch(52.1% 0.182 14.2);
Tailwind
colors: {
  custom: {
    50: '#d6707a',
    500: '#ba2748',
    950: '#000000',
  },
}
SCSS
$custom: #ba2748;
$custom-light: #d6707a;
$custom-dark: #000000;
JSON
{
  "hex": "#ba2748",
  "rgb": {
    "r": 186,
    "g": 39,
    "b": 72
  },
  "hsl": {
    "h": 346.531,
    "s": 65.333,
    "l": 44.118
  },
  "oklch": {
    "l": 0.52119,
    "c": 0.18162,
    "h": 14.2
  },
  "luminance": 0.12358
}

Semantic roles & 50–950 ramp

primary
#BA2748
secondary
#72CBB7
accent
#E8C240
background
#FEF7F7
surface
#FCEDED
border
#D5C8C8
text
#160809
muted
#847B7B

Preview Lab

Preview with #BA2748

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

Preview Lab → · Contrast checker → · Palette generator →

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