#BA4D5F#BA4D5F

#BA4D5F is a mid, vivid red. Relative luminance 0.166; OKLCH L 56.7% C 0.141 H 12.7°. Best body text is #FFFFFF at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#BA4D5F
RGBrgb(186, 77, 95)
HSLhsl(350, 44%, 52%)
HSVhsv(350, 59%, 73%)
CMYKcmyk(0%, 58.6%, 48.9%, 27.1%)
CIE-LABlab(47.72, 45.57, 12.12)
CIE-LCHlch(47.72, 47.16, 14.90°)
OKLaboklab(56.71% 0.1378 0.031)
OKLCHoklch(56.71% 0.141 12.7)
XYZxyz(24.9710, 16.5760, 12.7087)
Luminance0.1657 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA4D5F #4DBAA8
analogous
#BA4D96 #BA4D5F #BA724D
triadic
#BA4D5F #5FBA4D #4D5FBA
tetradic
#BA4D5F #96BA4D #4DBAA8 #724DBA
square
#BA4D5F #96BA4D #4DBAA8 #724DBA
split-complementary
#BA4D5F #4DBA72 #4D96BA
monochromatic
#652732 #913847 #BA4D5F #CB7987 #DCA5AE

Accessibility & contrast

On white

4.87
#BA4D5F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.31
#BA4D5F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA4D5F
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA4D5F#FFFFFF#000000##FFFFFF
##BA4D5F1.004.874.314.87
#FFFFFF4.871.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#65635F
Deuteranopia (green-blind)
#81795D
Tritanopia (blue-blind)
#CA3E54
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #ba4d5f;
/* rgb */ color: rgb(186, 77, 95);
/* oklch */ color: oklch(56.7% 0.141 12.7);
Tailwind
colors: {
  custom: {
    50: '#d3838c',
    500: '#ba4d5f',
    950: '#000000',
  },
}
SCSS
$custom: #ba4d5f;
$custom-light: #d3838c;
$custom-dark: #000000;
JSON
{
  "hex": "#ba4d5f",
  "rgb": {
    "r": 186,
    "g": 77,
    "b": 95
  },
  "hsl": {
    "h": 350.092,
    "s": 44.13,
    "l": 51.569
  },
  "oklch": {
    "l": 0.56706,
    "c": 0.14125,
    "h": 12.7
  },
  "luminance": 0.16573
}

Semantic roles & 50–950 ramp

primary
#BA4D5F
secondary
#99C9C1
accent
#D4BF54
background
#FDF8F8
surface
#FBEFF0
border
#D4CACB
text
#150B0C
muted
#837C7D

Preview Lab

Preview with #BA4D5F

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

Preview Lab → · Contrast checker → · Palette generator →

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