#BA3230#BA3230

#BA3230 is a mid, vivid red. Relative luminance 0.129; OKLCH L 52.6% C 0.173 H 26.1°. Best body text is #FFFFFF at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#BA3230
RGBrgb(186, 50, 48)
HSLhsl(1, 59%, 46%)
HSVhsv(1, 74%, 73%)
CMYKcmyk(0%, 73.1%, 74.2%, 27.1%)
CIE-LABlab(42.67, 53.77, 33.91)
CIE-LCHlch(42.67, 63.57, 32.24°)
OKLaboklab(52.65% 0.1556 0.0763)
OKLCHoklch(52.65% 0.173 26.1)
XYZxyz(21.9263, 12.9371, 4.1383)
Luminance0.1293 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3230 #30B8BA
analogous
#BA3073 #BA3230 #BA7730
triadic
#BA3230 #30BA32 #3230BA
tetradic
#BA3230 #73BA30 #30B8BA #7730BA
square
#BA3230 #73BA30 #30B8BA #7730BA
split-complementary
#BA3230 #30BA77 #3073BA
monochromatic
#591817 #892523 #BA3230 #D35654 #DF8685

Accessibility & contrast

On white

5.85
#BA3230 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#BA3230 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA3230
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA3230#FFFFFF#000000##FFFFFF
##BA32301.005.853.595.85
#FFFFFF5.851.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A522E
Deuteranopia (green-blind)
#7C6F2B
Tritanopia (blue-blind)
#CD0033
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #ba3230;
/* rgb */ color: rgb(186, 50, 48);
/* oklch */ color: oklch(52.6% 0.173 26.1);
Tailwind
colors: {
  custom: {
    50: '#d77469',
    500: '#ba3230',
    950: '#000000',
  },
}
SCSS
$custom: #ba3230;
$custom-light: #d77469;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3230",
  "rgb": {
    "r": 186,
    "g": 50,
    "b": 48
  },
  "hsl": {
    "h": 0.87,
    "s": 58.974,
    "l": 45.882
  },
  "oklch": {
    "l": 0.52649,
    "c": 0.1733,
    "h": 26.1
  },
  "luminance": 0.12934
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BA3230

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

Preview Lab → · Contrast checker → · Palette generator →

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