#BA4057#BA4057

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

Color values

HEX#BA4057
RGBrgb(186, 64, 87)
HSLhsl(349, 49%, 49%)
HSVhsv(349, 66%, 73%)
CMYKcmyk(0%, 65.6%, 53.2%, 27.1%)
CIE-LABlab(45.35, 50.71, 13.73)
CIE-LCHlch(45.35, 52.54, 15.15°)
OKLaboklab(54.87% 0.1532 0.0347)
OKLCHoklch(54.87% 0.157 12.8)
XYZxyz(23.8054, 14.7971, 10.6175)
Luminance0.1479 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA4057 #40BAA3
analogous
#BA4094 #BA4057 #BA6640
triadic
#BA4057 #57BA40 #4057BA
tetradic
#BA4057 #94BA40 #40BAA3 #6640BA
square
#BA4057 #94BA40 #40BAA3 #6640BA
split-complementary
#BA4057 #40BA66 #4094BA
monochromatic
#5F212C #8C3042 #BA4057 #CC6B7D #DC99A5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BA4057#FFFFFF#000000##FFFFFF
##BA40571.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)
#5D5C57
Deuteranopia (green-blind)
#7C7554
Tritanopia (blue-blind)
#CB2A49
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #ba4057;
/* rgb */ color: rgb(186, 64, 87);
/* oklch */ color: oklch(54.9% 0.157 12.8);
Tailwind
colors: {
  custom: {
    50: '#d47c86',
    500: '#ba4057',
    950: '#000000',
  },
}
SCSS
$custom: #ba4057;
$custom-light: #d47c86;
$custom-dark: #000000;
JSON
{
  "hex": "#ba4057",
  "rgb": {
    "r": 186,
    "g": 64,
    "b": 87
  },
  "hsl": {
    "h": 348.689,
    "s": 48.8,
    "l": 49.02
  },
  "oklch": {
    "l": 0.54875,
    "c": 0.15704,
    "h": 12.8
  },
  "luminance": 0.14794
}

Semantic roles & 50–950 ramp

primary
#BA4057
secondary
#8EC8BD
accent
#D8BF4F
background
#FDF7F8
surface
#FBEEEF
border
#D4C9CA
text
#150A0B
muted
#837C7C

Preview Lab

Preview with #BA4057

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

Preview Lab → · Contrast checker → · Palette generator →

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