#BA2729#BA2729

#BA2729 is a mid, vivid red. Relative luminance 0.120; OKLCH L 51.6% C 0.183 H 25.9°. Best body text is #FFFFFF at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#BA2729
RGBrgb(186, 39, 41)
HSLhsl(359, 65%, 44%)
HSVhsv(359, 79%, 73%)
CMYKcmyk(0%, 79%, 78%, 27.1%)
CIE-LABlab(41.30, 57.09, 36.45)
CIE-LCHlch(41.30, 67.73, 32.56°)
OKLaboklab(51.61% 0.1646 0.08)
OKLCHoklch(51.61% 0.183 25.9)
XYZxyz(21.3780, 12.0537, 3.2984)
Luminance0.1205 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA2729 #27BAB8
analogous
#BA2773 #BA2729 #BA6F27
triadic
#BA2729 #29BA27 #2729BA
tetradic
#BA2729 #73BA27 #27BAB8 #6F27BA
square
#BA2729 #73BA27 #27BAB8 #6F27BA
split-complementary
#BA2729 #27BA6F #2773BA
monochromatic
#551213 #871C1E #BA2729 #D84648 #E3797A

Accessibility & contrast

On white

6.16
#BA2729 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#BA2729 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA2729
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA2729#FFFFFF#000000##FFFFFF
##BA27291.006.163.416.16
#FFFFFF6.161.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#554D27
Deuteranopia (green-blind)
#796D23
Tritanopia (blue-blind)
#CD002A
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #ba2729;
/* rgb */ color: rgb(186, 39, 41);
/* oklch */ color: oklch(51.6% 0.183 25.9);
Tailwind
colors: {
  custom: {
    50: '#d86f63',
    500: '#ba2729',
    950: '#000000',
  },
}
SCSS
$custom: #ba2729;
$custom-light: #d86f63;
$custom-dark: #000000;
JSON
{
  "hex": "#ba2729",
  "rgb": {
    "r": 186,
    "g": 39,
    "b": 41
  },
  "hsl": {
    "h": 359.184,
    "s": 65.333,
    "l": 44.118
  },
  "oklch": {
    "l": 0.51605,
    "c": 0.18299,
    "h": 25.9
  },
  "luminance": 0.1205
}

Semantic roles & 50–950 ramp

primary
#BA2729
secondary
#72CBC9
accent
#E8E640
background
#FEF7F5
surface
#FDEDEA
border
#D5C8C6
text
#160805
muted
#847B79

Preview Lab

Preview with #BA2729

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

Preview Lab → · Contrast checker → · Palette generator →

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