#BA323A#BA323A

#BA323A is a mid, vivid red. Relative luminance 0.130; OKLCH L 52.8% C 0.172 H 22.4°. Best body text is #FFFFFF at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#BA323A
RGBrgb(186, 50, 58)
HSLhsl(356, 58%, 46%)
HSVhsv(356, 73%, 73%)
CMYKcmyk(0%, 73.1%, 68.8%, 27.1%)
CIE-LABlab(42.81, 54.24, 28.14)
CIE-LCHlch(42.81, 61.11, 27.42°)
OKLaboklab(52.8% 0.1592 0.0655)
OKLCHoklch(52.8% 0.172 22.4)
XYZxyz(22.1565, 13.0291, 5.3504)
Luminance0.1303 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA323A #32BAB2
analogous
#BA327E #BA323A #BA6E32
triadic
#BA323A #3ABA32 #323ABA
tetradic
#BA323A #7EBA32 #32BAB2 #6E32BA
square
#BA323A #7EBA32 #32BAB2 #6E32BA
split-complementary
#BA323A #32BA6E #327EBA
monochromatic
#5A181C #8A252B #BA323A #D2575E #DF888D

Accessibility & contrast

On white

5.82
#BA323A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#BA323A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA323A
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA323A#FFFFFF#000000##FFFFFF
##BA323A1.005.823.615.82
#FFFFFF5.821.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#595339
Deuteranopia (green-blind)
#7B7036
Tritanopia (blue-blind)
#CC0036
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #ba323a;
/* rgb */ color: rgb(186, 50, 58);
/* oklch */ color: oklch(52.8% 0.172 22.4);
Tailwind
colors: {
  custom: {
    50: '#d77470',
    500: '#ba323a',
    950: '#000000',
  },
}
SCSS
$custom: #ba323a;
$custom-light: #d77470;
$custom-dark: #000000;
JSON
{
  "hex": "#ba323a",
  "rgb": {
    "r": 186,
    "g": 50,
    "b": 58
  },
  "hsl": {
    "h": 356.471,
    "s": 57.627,
    "l": 46.275
  },
  "oklch": {
    "l": 0.52797,
    "c": 0.1722,
    "h": 22.4
  },
  "luminance": 0.13026
}

Semantic roles & 50–950 ramp

primary
#BA323A
secondary
#7FC9C4
accent
#E1D847
background
#FEF7F6
surface
#FCEDEC
border
#D5C8C7
text
#160907
muted
#847B7A

Preview Lab

Preview with #BA323A

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

Preview Lab → · Contrast checker → · Palette generator →

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