#BA4E52#BA4E52

#BA4E52 is a mid, vivid red. Relative luminance 0.165; OKLCH L 56.5% C 0.140 H 20.5°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#BA4E52
RGBrgb(186, 78, 82)
HSLhsl(358, 44%, 52%)
HSVhsv(358, 58%, 73%)
CMYKcmyk(0%, 58.1%, 55.9%, 27.1%)
CIE-LABlab(47.62, 43.96, 19.84)
CIE-LCHlch(47.62, 48.23, 24.28°)
OKLaboklab(56.54% 0.1311 0.049)
OKLCHoklch(56.54% 0.14 20.5)
XYZxyz(24.4991, 16.5001, 9.8757)
Luminance0.1650 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA4E52 #4EBAB6
analogous
#BA4E88 #BA4E52 #BA804E
triadic
#BA4E52 #52BA4E #4E52BA
tetradic
#BA4E52 #88BA4E #4EBAB6 #804EBA
square
#BA4E52 #88BA4E #4EBAB6 #804EBA
split-complementary
#BA4E52 #4EBA80 #4E88BA
monochromatic
#66282A #92393C #BA4E52 #CB7A7D #DCA6A8

Accessibility & contrast

On white

4.88
#BA4E52 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.30
#BA4E52 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA4E52
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA4E52#FFFFFF#000000##FFFFFF
##BA4E521.004.884.304.88
#FFFFFF4.881.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#686351
Deuteranopia (green-blind)
#837950
Tritanopia (blue-blind)
#CB3C50
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #ba4e52;
/* rgb */ color: rgb(186, 78, 82);
/* oklch */ color: oklch(56.5% 0.140 20.5);
Tailwind
colors: {
  custom: {
    50: '#d48482',
    500: '#ba4e52',
    950: '#000000',
  },
}
SCSS
$custom: #ba4e52;
$custom-light: #d48482;
$custom-dark: #000000;
JSON
{
  "hex": "#ba4e52",
  "rgb": {
    "r": 186,
    "g": 78,
    "b": 82
  },
  "hsl": {
    "h": 357.778,
    "s": 43.902,
    "l": 51.765
  },
  "oklch": {
    "l": 0.56541,
    "c": 0.13996,
    "h": 20.5
  },
  "luminance": 0.16497
}

Semantic roles & 50–950 ramp

primary
#BA4E52
secondary
#9ACAC8
accent
#D4CF54
background
#FDF8F7
surface
#FBEFEE
border
#D4CAC9
text
#150B0A
muted
#837C7C

Preview Lab

Preview with #BA4E52

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

Preview Lab → · Contrast checker → · Palette generator →

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