#BA3130#BA3130

#BA3130 is a mid, vivid red. Relative luminance 0.128; OKLCH L 52.6% C 0.174 H 25.9°. Best body text is #FFFFFF at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#BA3130
RGBrgb(186, 49, 48)
HSLhsl(0, 59%, 46%)
HSVhsv(0, 74%, 73%)
CMYKcmyk(0%, 73.7%, 74.2%, 27.1%)
CIE-LABlab(42.54, 54.13, 33.76)
CIE-LCHlch(42.54, 63.79, 31.96°)
OKLaboklab(52.55% 0.1567 0.076)
OKLCHoklch(52.55% 0.174 25.9)
XYZxyz(21.8840, 12.8525, 4.1242)
Luminance0.1285 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3130 #30B9BA
analogous
#BA3074 #BA3130 #BA7630
triadic
#BA3130 #30BA31 #3130BA
tetradic
#BA3130 #74BA30 #30B9BA #7630BA
square
#BA3130 #74BA30 #30B9BA #7630BA
split-complementary
#BA3130 #30BA76 #3074BA
monochromatic
#591717 #892423 #BA3130 #D35554 #DF8685

Accessibility & contrast

On white

5.88
#BA3130 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#BA3130 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA3130
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA3130#FFFFFF#000000##FFFFFF
##BA31301.005.883.575.88
#FFFFFF5.881.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#59512E
Deuteranopia (green-blind)
#7C6F2B
Tritanopia (blue-blind)
#CD0033
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #ba3130;
/* rgb */ color: rgb(186, 49, 48);
/* oklch */ color: oklch(52.6% 0.174 25.9);
Tailwind
colors: {
  custom: {
    50: '#d77369',
    500: '#ba3130',
    950: '#000000',
  },
}
SCSS
$custom: #ba3130;
$custom-light: #d77369;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3130",
  "rgb": {
    "r": 186,
    "g": 49,
    "b": 48
  },
  "hsl": {
    "h": 0.435,
    "s": 58.974,
    "l": 45.882
  },
  "oklch": {
    "l": 0.52554,
    "c": 0.17418,
    "h": 25.9
  },
  "luminance": 0.12849
}

Semantic roles & 50–950 ramp

primary
#BA3130
secondary
#7DC8C9
accent
#E1E246
background
#FEF7F6
surface
#FDEDEB
border
#D5C8C6
text
#160906
muted
#847B7A

Preview Lab

Preview with #BA3130

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

Preview Lab → · Contrast checker → · Palette generator →

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