#BA4151#BA4151

#BA4151 is a mid, vivid red. Relative luminance 0.148; OKLCH L 54.9% C 0.156 H 16.1°. Best body text is #FFFFFF at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#BA4151
RGBrgb(186, 65, 81)
HSLhsl(352, 48%, 49%)
HSVhsv(352, 65%, 73%)
CMYKcmyk(0%, 65.1%, 56.5%, 27.1%)
CIE-LABlab(45.38, 49.81, 17.44)
CIE-LCHlch(45.38, 52.77, 19.30°)
OKLaboklab(54.85% 0.1494 0.0433)
OKLCHoklch(54.85% 0.156 16.1)
XYZxyz(23.6273, 14.8169, 9.3988)
Luminance0.1481 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA4151 #41BAAA
analogous
#BA418E #BA4151 #BA6E41
triadic
#BA4151 #51BA41 #4151BA
tetradic
#BA4151 #8EBA41 #41BAAA #6E41BA
square
#BA4151 #8EBA41 #41BAAA #6E41BA
split-complementary
#BA4151 #41BA6E #418EBA
monochromatic
#5F212A #8D313D #BA4151 #CC6C79 #DC9AA2

Accessibility & contrast

On white

5.30
#BA4151 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#BA4151 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA4151
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA4151#FFFFFF#000000##FFFFFF
##BA41511.005.303.965.30
#FFFFFF5.301.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F5C51
Deuteranopia (green-blind)
#7E754E
Tritanopia (blue-blind)
#CB2A47
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #ba4151;
/* rgb */ color: rgb(186, 65, 81);
/* oklch */ color: oklch(54.9% 0.156 16.1);
Tailwind
colors: {
  custom: {
    50: '#d57c81',
    500: '#ba4151',
    950: '#000000',
  },
}
SCSS
$custom: #ba4151;
$custom-light: #d57c81;
$custom-dark: #000000;
JSON
{
  "hex": "#ba4151",
  "rgb": {
    "r": 186,
    "g": 65,
    "b": 81
  },
  "hsl": {
    "h": 352.066,
    "s": 48.207,
    "l": 49.216
  },
  "oklch": {
    "l": 0.54853,
    "c": 0.15558,
    "h": 16.1
  },
  "luminance": 0.14814
}

Semantic roles & 50–950 ramp

primary
#BA4151
secondary
#8FC8C0
accent
#D8C650
background
#FDF7F7
surface
#FBEEEE
border
#D4C9C9
text
#150A0A
muted
#837C7C

Preview Lab

Preview with #BA4151

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

Preview Lab → · Contrast checker → · Palette generator →

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