#BA4B4E#BA4B4E

#BA4B4E is a mid, vivid red. Relative luminance 0.160; OKLCH L 56.1% C 0.144 H 21.4°. Best body text is #FFFFFF at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#BA4B4E
RGBrgb(186, 75, 78)
HSLhsl(358, 45%, 51%)
HSVhsv(358, 60%, 73%)
CMYKcmyk(0%, 59.7%, 58.1%, 27.1%)
CIE-LABlab(47.01, 45.08, 21.42)
CIE-LCHlch(47.01, 49.91, 25.42°)
OKLaboklab(56.05% 0.134 0.0524)
OKLCHoklch(56.05% 0.144 21.4)
XYZxyz(24.1430, 16.0244, 9.0279)
Luminance0.1602 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA4B4E #4BBAB7
analogous
#BA4B85 #BA4B4E #BA7F4B
triadic
#BA4B4E #4EBA4B #4B4EBA
tetradic
#BA4B4E #85BA4B #4BBAB7 #7F4BBA
square
#BA4B4E #85BA4B #4BBAB7 #7F4BBA
split-complementary
#BA4B4E #4BBA7F #4B85BA
monochromatic
#642628 #90373A #BA4B4E #CB777A #DCA3A5

Accessibility & contrast

On white

5.00
#BA4B4E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#BA4B4E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA4B4E
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA4B4E#FFFFFF#000000##FFFFFF
##BA4B4E1.005.004.205.00
#FFFFFF5.001.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#66614D
Deuteranopia (green-blind)
#82784B
Tritanopia (blue-blind)
#CB374D
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #ba4b4e;
/* rgb */ color: rgb(186, 75, 78);
/* oklch */ color: oklch(56.1% 0.144 21.4);
Tailwind
colors: {
  custom: {
    50: '#d4827f',
    500: '#ba4b4e',
    950: '#000000',
  },
}
SCSS
$custom: #ba4b4e;
$custom-light: #d4827f;
$custom-dark: #000000;
JSON
{
  "hex": "#ba4b4e",
  "rgb": {
    "r": 186,
    "g": 75,
    "b": 78
  },
  "hsl": {
    "h": 358.378,
    "s": 44.578,
    "l": 51.176
  },
  "oklch": {
    "l": 0.56052,
    "c": 0.14388,
    "h": 21.4
  },
  "luminance": 0.16021
}

Semantic roles & 50–950 ramp

primary
#BA4B4E
secondary
#98C9C8
accent
#D4D154
background
#FDF8F7
surface
#FBEFEE
border
#D4CAC9
text
#150B0A
muted
#837C7C

Preview Lab

Preview with #BA4B4E

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

Preview Lab → · Contrast checker → · Palette generator →

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