#BA3833#BA3833

#BA3833 is a mid, vivid red. Relative luminance 0.135; OKLCH L 53.3% C 0.167 H 26.7°. Best body text is #FFFFFF at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#BA3833
RGBrgb(186, 56, 51)
HSLhsl(2, 57%, 46%)
HSVhsv(2, 73%, 73%)
CMYKcmyk(0%, 69.9%, 72.6%, 27.1%)
CIE-LABlab(43.52, 51.66, 33.14)
CIE-LCHlch(43.52, 61.37, 32.68°)
OKLaboklab(53.3% 0.1496 0.0753)
OKLCHoklch(53.3% 0.167 26.7)
XYZxyz(22.2639, 13.5098, 4.5667)
Luminance0.1351 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3833 #33B5BA
analogous
#BA3372 #BA3833 #BA7C33
triadic
#BA3833 #33BA38 #3833BA
tetradic
#BA3833 #72BA33 #33B5BA #7C33BA
square
#BA3833 #72BA33 #33B5BA #7C33BA
split-complementary
#BA3833 #33BA7C #3372BA
monochromatic
#5A1B19 #8A2A26 #BA3833 #D15D59 #DF8C89

Accessibility & contrast

On white

5.67
#BA3833 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.70
#BA3833 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA3833
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA3833#FFFFFF#000000##FFFFFF
##BA38331.005.673.705.67
#FFFFFF5.671.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5D5531
Deuteranopia (green-blind)
#7D712F
Tritanopia (blue-blind)
#CD0B38
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #ba3833;
/* rgb */ color: rgb(186, 56, 51);
/* oklch */ color: oklch(53.3% 0.167 26.7);
Tailwind
colors: {
  custom: {
    50: '#d7776b',
    500: '#ba3833',
    950: '#000000',
  },
}
SCSS
$custom: #ba3833;
$custom-light: #d7776b;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3833",
  "rgb": {
    "r": 186,
    "g": 56,
    "b": 51
  },
  "hsl": {
    "h": 2.222,
    "s": 56.962,
    "l": 46.471
  },
  "oklch": {
    "l": 0.53298,
    "c": 0.16745,
    "h": 26.7
  },
  "luminance": 0.13506
}

Semantic roles & 50–950 ramp

primary
#BA3833
secondary
#80C6C9
accent
#DBE048
background
#FEF7F6
surface
#FCEEEB
border
#D5C9C6
text
#160906
muted
#847B7A

Preview Lab

Preview with #BA3833

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

Preview Lab → · Contrast checker → · Palette generator →

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