#BA3857#BA3857

#BA3857 is a mid, vivid red. Relative luminance 0.140; OKLCH L 54.0% C 0.166 H 10.6°. Best body text is #FFFFFF at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#BA3857
RGBrgb(186, 56, 87)
HSLhsl(346, 54%, 47%)
HSVhsv(346, 70%, 73%)
CMYKcmyk(0%, 69.9%, 53.2%, 27.1%)
CIE-LABlab(44.17, 53.94, 12.10)
CIE-LCHlch(44.17, 55.28, 12.64°)
OKLaboklab(54% 0.1635 0.0307)
OKLCHoklch(54% 0.166 10.6)
XYZxyz(23.3863, 13.9587, 10.4778)
Luminance0.1396 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3857 #38BA9B
analogous
#BA3898 #BA3857 #BA5A38
triadic
#BA3857 #57BA38 #3857BA
tetradic
#BA3857 #98BA38 #38BA9B #5A38BA
square
#BA3857 #98BA38 #38BA9B #5A38BA
split-complementary
#BA3857 #38BA5A #3898BA
monochromatic
#5C1C2B #8B2A41 #BA3857 #CF607B #DD8FA2

Accessibility & contrast

On white

5.54
#BA3857 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.79
#BA3857 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA3857
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA3857#FFFFFF#000000##FFFFFF
##BA38571.005.543.795.54
#FFFFFF5.541.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#585858
Deuteranopia (green-blind)
#797254
Tritanopia (blue-blind)
#CB1D44
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #ba3857;
/* rgb */ color: rgb(186, 56, 87);
/* oklch */ color: oklch(54.0% 0.166 10.6);
Tailwind
colors: {
  custom: {
    50: '#d57886',
    500: '#ba3857',
    950: '#000000',
  },
}
SCSS
$custom: #ba3857;
$custom-light: #d57886;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3857",
  "rgb": {
    "r": 186,
    "g": 56,
    "b": 87
  },
  "hsl": {
    "h": 345.692,
    "s": 53.719,
    "l": 47.451
  },
  "oklch": {
    "l": 0.53995,
    "c": 0.16634,
    "h": 10.6
  },
  "luminance": 0.13956
}

Semantic roles & 50–950 ramp

primary
#BA3857
secondary
#86C8B8
accent
#DDBA4B
background
#FDF7F8
surface
#FBEEEF
border
#D4C9CA
text
#15090B
muted
#837B7C

Preview Lab

Preview with #BA3857

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

Preview Lab → · Contrast checker → · Palette generator →

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