#BA4157#BA4157

#BA4157 is a mid, vivid red. Relative luminance 0.149; OKLCH L 55.0% C 0.156 H 13.1°. Best body text is #FFFFFF at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#BA4157
RGBrgb(186, 65, 87)
HSLhsl(349, 48%, 49%)
HSVhsv(349, 65%, 73%)
CMYKcmyk(0%, 65.1%, 53.2%, 27.1%)
CIE-LABlab(45.51, 50.29, 13.94)
CIE-LCHlch(45.51, 52.18, 15.50°)
OKLaboklab(54.99% 0.1518 0.0352)
OKLCHoklch(54.99% 0.156 13.1)
XYZxyz(23.8623, 14.9109, 10.6365)
Luminance0.1491 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA4157 #41BAA4
analogous
#BA4194 #BA4157 #BA6841
triadic
#BA4157 #57BA41 #4157BA
tetradic
#BA4157 #94BA41 #41BAA4 #6841BA
square
#BA4157 #94BA41 #41BAA4 #6841BA
split-complementary
#BA4157 #41BA68 #4194BA
monochromatic
#5F212D #8D3142 #BA4157 #CC6C7E #DC9AA6

Accessibility & contrast

On white

5.27
#BA4157 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#BA4157 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA4157
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA4157#FFFFFF#000000##FFFFFF
##BA41571.005.273.985.27
#FFFFFF5.271.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E5C57
Deuteranopia (green-blind)
#7D7554
Tritanopia (blue-blind)
#CB2C4A
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #ba4157;
/* rgb */ color: rgb(186, 65, 87);
/* oklch */ color: oklch(55.0% 0.156 13.1);
Tailwind
colors: {
  custom: {
    50: '#d47c86',
    500: '#ba4157',
    950: '#000000',
  },
}
SCSS
$custom: #ba4157;
$custom-light: #d47c86;
$custom-dark: #000000;
JSON
{
  "hex": "#ba4157",
  "rgb": {
    "r": 186,
    "g": 65,
    "b": 87
  },
  "hsl": {
    "h": 349.091,
    "s": 48.207,
    "l": 49.216
  },
  "oklch": {
    "l": 0.54992,
    "c": 0.15584,
    "h": 13.1
  },
  "luminance": 0.14908
}

Semantic roles & 50–950 ramp

primary
#BA4157
secondary
#8FC8BD
accent
#D8BF50
background
#FDF7F8
surface
#FBEEEF
border
#D4C9CA
text
#150A0B
muted
#837C7C

Preview Lab

Preview with #BA4157

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

Preview Lab → · Contrast checker → · Palette generator →

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