#BA4E5F#BA4E5F

#BA4E5F is a mid, vivid red. Relative luminance 0.167; OKLCH L 56.8% C 0.140 H 13.1°. Best body text is #FFFFFF at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#BA4E5F
RGBrgb(186, 78, 95)
HSLhsl(351, 44%, 52%)
HSVhsv(351, 58%, 73%)
CMYKcmyk(0%, 58.1%, 48.9%, 27.1%)
CIE-LABlab(47.90, 45.10, 12.37)
CIE-LCHlch(47.90, 46.77, 15.34°)
OKLaboklab(56.84% 0.1363 0.0316)
OKLCHoklch(56.84% 0.14 13.1)
XYZxyz(25.0415, 16.7170, 12.7322)
Luminance0.1671 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA4E5F #4EBAA9
analogous
#BA4E95 #BA4E5F #BA734E
triadic
#BA4E5F #5FBA4E #4E5FBA
tetradic
#BA4E5F #95BA4E #4EBAA9 #734EBA
square
#BA4E5F #95BA4E #4EBAA9 #734EBA
split-complementary
#BA4E5F #4EBA73 #4E95BA
monochromatic
#662832 #923947 #BA4E5F #CB7A87 #DCA6AF

Accessibility & contrast

On white

4.84
#BA4E5F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.34
#BA4E5F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA4E5F
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA4E5F#FFFFFF#000000##FFFFFF
##BA4E5F1.004.844.344.84
#FFFFFF4.841.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#66645F
Deuteranopia (green-blind)
#817A5D
Tritanopia (blue-blind)
#CA3F55
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #ba4e5f;
/* rgb */ color: rgb(186, 78, 95);
/* oklch */ color: oklch(56.8% 0.140 13.1);
Tailwind
colors: {
  custom: {
    50: '#d3848c',
    500: '#ba4e5f',
    950: '#000000',
  },
}
SCSS
$custom: #ba4e5f;
$custom-light: #d3848c;
$custom-dark: #000000;
JSON
{
  "hex": "#ba4e5f",
  "rgb": {
    "r": 186,
    "g": 78,
    "b": 95
  },
  "hsl": {
    "h": 350.556,
    "s": 43.902,
    "l": 51.765
  },
  "oklch": {
    "l": 0.56841,
    "c": 0.13992,
    "h": 13.1
  },
  "luminance": 0.16714
}

Semantic roles & 50–950 ramp

primary
#BA4E5F
secondary
#9ACAC2
accent
#D4C054
background
#FDF8F8
surface
#FBEFF0
border
#D4CACB
text
#150B0C
muted
#837C7D

Preview Lab

Preview with #BA4E5F

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

Preview Lab → · Contrast checker → · Palette generator →

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