#BA2747#BA2747

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

Color values

HEX#BA2747
RGBrgb(186, 39, 71)
HSLhsl(347, 65%, 44%)
HSVhsv(347, 79%, 73%)
CMYKcmyk(0%, 79%, 61.8%, 27.1%)
CIE-LABlab(41.76, 58.54, 18.80)
CIE-LCHlch(41.76, 61.49, 17.80°)
OKLaboklab(52.1% 0.1757 0.0458)
OKLCHoklch(52.1% 0.182 14.6)
XYZxyz(22.1149, 12.3484, 7.1790)
Luminance0.1235 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA2747 #27BA9A
analogous
#BA2791 #BA2747 #BA5127
triadic
#BA2747 #47BA27 #2747BA
tetradic
#BA2747 #91BA27 #27BA9A #5127BA
square
#BA2747 #91BA27 #27BA9A #5127BA
split-complementary
#BA2747 #27BA51 #2791BA
monochromatic
#551220 #871C34 #BA2747 #D84666 #E37990

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BA2747#FFFFFF#000000##FFFFFF
##BA27471.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)
#514F47
Deuteranopia (green-blind)
#776D43
Tritanopia (blue-blind)
#CC0035
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #ba2747;
/* rgb */ color: rgb(186, 39, 71);
/* oklch */ color: oklch(52.1% 0.182 14.6);
Tailwind
colors: {
  custom: {
    50: '#d67079',
    500: '#ba2747',
    950: '#000000',
  },
}
SCSS
$custom: #ba2747;
$custom-light: #d67079;
$custom-dark: #000000;
JSON
{
  "hex": "#ba2747",
  "rgb": {
    "r": 186,
    "g": 39,
    "b": 71
  },
  "hsl": {
    "h": 346.939,
    "s": 65.333,
    "l": 44.118
  },
  "oklch": {
    "l": 0.52097,
    "c": 0.18156,
    "h": 14.6
  },
  "luminance": 0.12345
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BA2747

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

Preview Lab → · Contrast checker → · Palette generator →

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