#BA3830#BA3830

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

Color values

HEX#BA3830
RGBrgb(186, 56, 48)
HSLhsl(3, 59%, 46%)
HSVhsv(3, 74%, 73%)
CMYKcmyk(0%, 69.9%, 74.2%, 27.1%)
CIE-LABlab(43.48, 51.53, 34.82)
CIE-LCHlch(43.48, 62.19, 34.05°)
OKLaboklab(53.26% 0.1485 0.0783)
OKLCHoklch(53.26% 0.168 27.8)
XYZxyz(22.1999, 13.4842, 4.2295)
Luminance0.1348 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3830 #30B2BA
analogous
#BA306D #BA3830 #BA7D30
triadic
#BA3830 #30BA38 #3830BA
tetradic
#BA3830 #6DBA30 #30B2BA #7D30BA
square
#BA3830 #6DBA30 #30B2BA #7D30BA
split-complementary
#BA3830 #30BA7D #306DBA
monochromatic
#591B17 #892923 #BA3830 #D35C54 #DF8A85

Accessibility & contrast

On white

5.68
#BA3830 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #BA3830
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA3830#FFFFFF#000000##FFFFFF
##BA38301.005.683.705.68
#FFFFFF5.681.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5D552E
Deuteranopia (green-blind)
#7E712B
Tritanopia (blue-blind)
#CD0937
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #ba3830;
/* rgb */ color: rgb(186, 56, 48);
/* oklch */ color: oklch(53.3% 0.168 27.8);
Tailwind
colors: {
  custom: {
    50: '#d77769',
    500: '#ba3830',
    950: '#000000',
  },
}
SCSS
$custom: #ba3830;
$custom-light: #d77769;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3830",
  "rgb": {
    "r": 186,
    "g": 56,
    "b": 48
  },
  "hsl": {
    "h": 3.478,
    "s": 58.974,
    "l": 45.882
  },
  "oklch": {
    "l": 0.53258,
    "c": 0.1679,
    "h": 27.8
  },
  "luminance": 0.13481
}

Semantic roles & 50–950 ramp

primary
#BA3830
secondary
#7DC5C9
accent
#D9E246
background
#FEF7F6
surface
#FCEEEB
border
#D5C9C6
text
#160906
muted
#847B7A

Preview Lab

Preview with #BA3830

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

Preview Lab → · Contrast checker → · Palette generator →

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