#BA2847#BA2847

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

Color values

HEX#BA2847
RGBrgb(186, 40, 71)
HSLhsl(347, 65%, 44%)
HSVhsv(347, 78%, 73%)
CMYKcmyk(0%, 78.5%, 61.8%, 27.1%)
CIE-LABlab(41.87, 58.25, 18.93)
CIE-LCHlch(41.87, 61.25, 18.01°)
OKLaboklab(52.17% 0.1748 0.0461)
OKLCHoklch(52.17% 0.181 14.8)
XYZxyz(22.1481, 12.4149, 7.1901)
Luminance0.1241 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA2847 #28BA9B
analogous
#BA2890 #BA2847 #BA5228
triadic
#BA2847 #47BA28 #2847BA
tetradic
#BA2847 #90BA28 #28BA9B #5228BA
square
#BA2847 #90BA28 #28BA9B #5228BA
split-complementary
#BA2847 #28BA52 #2890BA
monochromatic
#551221 #881D34 #BA2847 #D84866 #E27A90

Accessibility & contrast

On white

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

On black

3.48
#BA2847 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##BA2847#FFFFFF#000000##FFFFFF
##BA28471.006.033.486.03
#FFFFFF6.031.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#524F47
Deuteranopia (green-blind)
#776E43
Tritanopia (blue-blind)
#CC0035
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #ba2847;
/* rgb */ color: rgb(186, 40, 71);
/* oklch */ color: oklch(52.2% 0.181 14.8);
Tailwind
colors: {
  custom: {
    50: '#d67079',
    500: '#ba2847',
    950: '#000000',
  },
}
SCSS
$custom: #ba2847;
$custom-light: #d67079;
$custom-dark: #000000;
JSON
{
  "hex": "#ba2847",
  "rgb": {
    "r": 186,
    "g": 40,
    "b": 71
  },
  "hsl": {
    "h": 347.26,
    "s": 64.602,
    "l": 44.314
  },
  "oklch": {
    "l": 0.52174,
    "c": 0.18074,
    "h": 14.8
  },
  "luminance": 0.12412
}

Semantic roles & 50–950 ramp

primary
#BA2847
secondary
#73CAB8
accent
#E8C440
background
#FEF7F7
surface
#FCEDED
border
#D5C8C8
text
#160809
muted
#847B7B

Preview Lab

Preview with #BA2847

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

Preview Lab → · Contrast checker → · Palette generator →

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