#BA3028#BA3028

#BA3028 is a mid, vivid red. Relative luminance 0.127; OKLCH L 52.4% C 0.176 H 28.2°. Best body text is #FFFFFF at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#BA3028
RGBrgb(186, 48, 40)
HSLhsl(3, 65%, 44%)
HSVhsv(3, 78%, 73%)
CMYKcmyk(0%, 74.2%, 78.5%, 27.1%)
CIE-LABlab(42.32, 54.17, 38.09)
CIE-LCHlch(42.32, 66.22, 35.11°)
OKLaboklab(52.36% 0.1552 0.0833)
OKLCHoklch(52.36% 0.176 28.2)
XYZxyz(21.6922, 12.7096, 3.3181)
Luminance0.1271 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3028 #28B2BA
analogous
#BA2869 #BA3028 #BA7928
triadic
#BA3028 #28BA30 #3028BA
tetradic
#BA3028 #69BA28 #28B2BA #7928BA
square
#BA3028 #69BA28 #28B2BA #7928BA
split-complementary
#BA3028 #28BA79 #2869BA
monochromatic
#551612 #88231D #BA3028 #D85048 #E2807A

Accessibility & contrast

On white

5.93
#BA3028 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#BA3028 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA3028
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA3028#FFFFFF#000000##FFFFFF
##BA30281.005.933.545.93
#FFFFFF5.931.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A5126
Deuteranopia (green-blind)
#7C6F22
Tritanopia (blue-blind)
#CD0030
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #ba3028;
/* rgb */ color: rgb(186, 48, 40);
/* oklch */ color: oklch(52.4% 0.176 28.2);
Tailwind
colors: {
  custom: {
    50: '#d87363',
    500: '#ba3028',
    950: '#000000',
  },
}
SCSS
$custom: #ba3028;
$custom-light: #d87363;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3028",
  "rgb": {
    "r": 186,
    "g": 48,
    "b": 40
  },
  "hsl": {
    "h": 3.288,
    "s": 64.602,
    "l": 44.314
  },
  "oklch": {
    "l": 0.52362,
    "c": 0.1761,
    "h": 28.2
  },
  "luminance": 0.12706
}

Semantic roles & 50–950 ramp

primary
#BA3028
secondary
#73C6CA
accent
#DEE840
background
#FEF7F5
surface
#FDEDEA
border
#D5C8C6
text
#160905
muted
#847B79

Preview Lab

Preview with #BA3028

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

Preview Lab → · Contrast checker → · Palette generator →

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