#BA3237#BA3237

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

Color values

HEX#BA3237
RGBrgb(186, 50, 55)
HSLhsl(358, 58%, 46%)
HSVhsv(358, 73%, 73%)
CMYKcmyk(0%, 73.1%, 70.4%, 27.1%)
CIE-LABlab(42.76, 54.09, 29.89)
CIE-LCHlch(42.76, 61.80, 28.92°)
OKLaboklab(52.75% 0.1581 0.0689)
OKLCHoklch(52.75% 0.172 23.5)
XYZxyz(22.0823, 12.9995, 4.9601)
Luminance0.1300 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3237 #32BAB5
analogous
#BA327B #BA3237 #BA7132
triadic
#BA3237 #37BA32 #3237BA
tetradic
#BA3237 #7BBA32 #32BAB5 #7132BA
square
#BA3237 #7BBA32 #32BAB5 #7132BA
split-complementary
#BA3237 #32BA71 #327BBA
monochromatic
#5A181A #8A2529 #BA3237 #D2575C #DF888B

Accessibility & contrast

On white

5.83
#BA3237 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#BA3237 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA3237
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA3237#FFFFFF#000000##FFFFFF
##BA32371.005.833.605.83
#FFFFFF5.831.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#595236
Deuteranopia (green-blind)
#7B7033
Tritanopia (blue-blind)
#CD0035
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #ba3237;
/* rgb */ color: rgb(186, 50, 55);
/* oklch */ color: oklch(52.7% 0.172 23.5);
Tailwind
colors: {
  custom: {
    50: '#d7746e',
    500: '#ba3237',
    950: '#000000',
  },
}
SCSS
$custom: #ba3237;
$custom-light: #d7746e;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3237",
  "rgb": {
    "r": 186,
    "g": 50,
    "b": 55
  },
  "hsl": {
    "h": 357.794,
    "s": 57.627,
    "l": 46.275
  },
  "oklch": {
    "l": 0.52749,
    "c": 0.17248,
    "h": 23.5
  },
  "luminance": 0.12996
}

Semantic roles & 50–950 ramp

primary
#BA3237
secondary
#7FC9C6
accent
#E1DB47
background
#FEF7F6
surface
#FCEDEB
border
#D5C8C6
text
#160907
muted
#847B7A

Preview Lab

Preview with #BA3237

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

Preview Lab → · Contrast checker → · Palette generator →

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