#BA3030#BA3030

#BA3030 is a mid, vivid red. Relative luminance 0.128; OKLCH L 52.5% C 0.175 H 25.6°. Best body text is #FFFFFF at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#BA3030
RGBrgb(186, 48, 48)
HSLhsl(0, 59%, 46%)
HSVhsv(0, 74%, 73%)
CMYKcmyk(0%, 74.2%, 74.2%, 27.1%)
CIE-LABlab(42.41, 54.48, 33.62)
CIE-LCHlch(42.41, 64.02, 31.68°)
OKLaboklab(52.46% 0.1578 0.0757)
OKLCHoklch(52.46% 0.175 25.6)
XYZxyz(21.8427, 12.7698, 4.1104)
Luminance0.1277 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3030 #30BABA
analogous
#BA3075 #BA3030 #BA7530
triadic
#BA3030 #30BA30 #3030BA
tetradic
#BA3030 #75BA30 #30BABA #7530BA
square
#BA3030 #75BA30 #30BABA #7530BA
split-complementary
#BA3030 #30BA75 #3075BA
monochromatic
#591717 #892323 #BA3030 #D35454 #DF8585

Accessibility & contrast

On white

5.91
#BA3030 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#BA3030 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA3030
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA3030#FFFFFF#000000##FFFFFF
##BA30301.005.913.555.91
#FFFFFF5.911.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.911.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ba3030;
/* rgb */ color: rgb(186, 48, 48);
/* oklch */ color: oklch(52.5% 0.175 25.6);
Tailwind
colors: {
  custom: {
    50: '#d77369',
    500: '#ba3030',
    950: '#000000',
  },
}
SCSS
$custom: #ba3030;
$custom-light: #d77369;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3030",
  "rgb": {
    "r": 186,
    "g": 48,
    "b": 48
  },
  "hsl": {
    "h": 0,
    "s": 58.974,
    "l": 45.882
  },
  "oklch": {
    "l": 0.5246,
    "c": 0.17503,
    "h": 25.6
  },
  "luminance": 0.12766
}

Semantic roles & 50–950 ramp

primary
#BA3030
secondary
#7DC9C9
accent
#E2E246
background
#FEF7F6
surface
#FDEDEB
border
#D5C8C6
text
#160906
muted
#847B7A

Preview Lab

Preview with #BA3030

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

Preview Lab → · Contrast checker → · Palette generator →

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