#BA2728#BA2728

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

Color values

HEX#BA2728
RGBrgb(186, 39, 40)
HSLhsl(360, 65%, 44%)
HSVhsv(360, 79%, 73%)
CMYKcmyk(0%, 79%, 78.5%, 27.1%)
CIE-LABlab(41.29, 57.05, 37.01)
CIE-LCHlch(41.29, 68.00, 32.97°)
OKLaboklab(51.59% 0.1643 0.0809)
OKLCHoklch(51.59% 0.183 26.2)
XYZxyz(21.3608, 12.0468, 3.2076)
Luminance0.1204 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA2728 #27BAB9
analogous
#BA2772 #BA2728 #BA7027
triadic
#BA2728 #28BA27 #2728BA
tetradic
#BA2728 #72BA27 #27BAB9 #7027BA
square
#BA2728 #72BA27 #27BAB9 #7027BA
split-complementary
#BA2728 #27BA70 #2772BA
monochromatic
#551212 #871C1D #BA2728 #D84647 #E37979

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BA2728#FFFFFF#000000##FFFFFF
##BA27281.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)
#554D26
Deuteranopia (green-blind)
#7A6D22
Tritanopia (blue-blind)
#CD002A
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #ba2728;
/* rgb */ color: rgb(186, 39, 40);
/* oklch */ color: oklch(51.6% 0.183 26.2);
Tailwind
colors: {
  custom: {
    50: '#d86f63',
    500: '#ba2728',
    950: '#000000',
  },
}
SCSS
$custom: #ba2728;
$custom-light: #d86f63;
$custom-dark: #000000;
JSON
{
  "hex": "#ba2728",
  "rgb": {
    "r": 186,
    "g": 39,
    "b": 40
  },
  "hsl": {
    "h": 359.592,
    "s": 65.333,
    "l": 44.118
  },
  "oklch": {
    "l": 0.51594,
    "c": 0.1831,
    "h": 26.2
  },
  "luminance": 0.12043
}

Semantic roles & 50–950 ramp

primary
#BA2728
secondary
#72CBCA
accent
#E8E740
background
#FEF7F5
surface
#FDEDEA
border
#D5C8C6
text
#170805
muted
#857B79

Preview Lab

Preview with #BA2728

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

Preview Lab → · Contrast checker → · Palette generator →

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