#BA2328#BA2328

#BA2328 is a mid, vivid red. Relative luminance 0.118; OKLCH L 51.3% C 0.186 H 25.5°. Best body text is #FFFFFF at 6.25:1 contrast (WCAG AA passes).

Color values

HEX#BA2328
RGBrgb(186, 35, 40)
HSLhsl(358, 68%, 43%)
HSVhsv(358, 81%, 73%)
CMYKcmyk(0%, 81.2%, 78.5%, 27.1%)
CIE-LABlab(40.89, 58.17, 36.59)
CIE-LCHlch(40.89, 68.72, 32.17°)
OKLaboklab(51.3% 0.1678 0.08)
OKLCHoklch(51.3% 0.186 25.5)
XYZxyz(21.2363, 11.7978, 3.1661)
Luminance0.1179 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA2328 #23BAB5
analogous
#BA2373 #BA2328 #BA6923
triadic
#BA2328 #28BA23 #2328BA
tetradic
#BA2328 #73BA23 #23BAB5 #6923BA
square
#BA2328 #73BA23 #23BAB5 #6923BA
split-complementary
#BA2328 #23BA69 #2373BA
monochromatic
#531012 #86191D #BA2328 #DB3F44 #E57377

Accessibility & contrast

On white

6.25
#BA2328 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#BA2328 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA2328
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA2328#FFFFFF#000000##FFFFFF
##BA23281.006.253.366.25
#FFFFFF6.251.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#544C26
Deuteranopia (green-blind)
#796C21
Tritanopia (blue-blind)
#CD0027
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #ba2328;
/* rgb */ color: rgb(186, 35, 40);
/* oklch */ color: oklch(51.3% 0.186 25.5);
Tailwind
colors: {
  custom: {
    50: '#d86e62',
    500: '#ba2328',
    950: '#000000',
  },
}
SCSS
$custom: #ba2328;
$custom-light: #d86e62;
$custom-dark: #000000;
JSON
{
  "hex": "#ba2328",
  "rgb": {
    "r": 186,
    "g": 35,
    "b": 40
  },
  "hsl": {
    "h": 358.013,
    "s": 68.326,
    "l": 43.333
  },
  "oklch": {
    "l": 0.51299,
    "c": 0.18589,
    "h": 25.5
  },
  "luminance": 0.11794
}

Semantic roles & 50–950 ramp

primary
#BA2328
secondary
#6DCCC8
accent
#EBE53D
background
#FEF7F5
surface
#FDEDEA
border
#D5C8C6
text
#170805
muted
#857B79

Preview Lab

Preview with #BA2328

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

Preview Lab → · Contrast checker → · Palette generator →

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