#BA3239#BA3239

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

Color values

HEX#BA3239
RGBrgb(186, 50, 57)
HSLhsl(357, 58%, 46%)
HSVhsv(357, 73%, 73%)
CMYKcmyk(0%, 73.1%, 69.4%, 27.1%)
CIE-LABlab(42.79, 54.19, 28.72)
CIE-LCHlch(42.79, 61.33, 27.92°)
OKLaboklab(52.78% 0.1589 0.0667)
OKLCHoklch(52.78% 0.172 22.8)
XYZxyz(22.1313, 13.0190, 5.2177)
Luminance0.1302 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3239 #32BAB3
analogous
#BA327D #BA3239 #BA6F32
triadic
#BA3239 #39BA32 #3239BA
tetradic
#BA3239 #7DBA32 #32BAB3 #6F32BA
square
#BA3239 #7DBA32 #32BAB3 #6F32BA
split-complementary
#BA3239 #32BA6F #327DBA
monochromatic
#5A181B #8A252A #BA3239 #D2575E #DF888C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BA3239#FFFFFF#000000##FFFFFF
##BA32391.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)
#595238
Deuteranopia (green-blind)
#7B7035
Tritanopia (blue-blind)
#CC0036
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #ba3239;
/* rgb */ color: rgb(186, 50, 57);
/* oklch */ color: oklch(52.8% 0.172 22.8);
Tailwind
colors: {
  custom: {
    50: '#d7746f',
    500: '#ba3239',
    950: '#000000',
  },
}
SCSS
$custom: #ba3239;
$custom-light: #d7746f;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3239",
  "rgb": {
    "r": 186,
    "g": 50,
    "b": 57
  },
  "hsl": {
    "h": 356.912,
    "s": 57.627,
    "l": 46.275
  },
  "oklch": {
    "l": 0.52781,
    "c": 0.17228,
    "h": 22.8
  },
  "luminance": 0.13016
}

Semantic roles & 50–950 ramp

primary
#BA3239
secondary
#7FC9C5
accent
#E1D947
background
#FEF7F6
surface
#FCEDEC
border
#D5C8C7
text
#160907
muted
#847B7A

Preview Lab

Preview with #BA3239

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

Preview Lab → · Contrast checker → · Palette generator →

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