#BA4954#BA4954

#BA4954 is a mid, vivid red. Relative luminance 0.158; OKLCH L 55.9% C 0.146 H 17.3°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#BA4954
RGBrgb(186, 73, 84)
HSLhsl(354, 45%, 51%)
HSVhsv(354, 61%, 73%)
CMYKcmyk(0%, 60.8%, 54.8%, 27.1%)
CIE-LABlab(46.77, 46.48, 17.49)
CIE-LCHlch(46.77, 49.66, 20.62°)
OKLaboklab(55.92% 0.1393 0.0435)
OKLCHoklch(55.92% 0.146 17.3)
XYZxyz(24.2345, 15.8473, 10.1684)
Luminance0.1584 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA4954 #49BAAF
analogous
#BA498C #BA4954 #BA7649
triadic
#BA4954 #54BA49 #4954BA
tetradic
#BA4954 #8CBA49 #49BAAF #7649BA
square
#BA4954 #8CBA49 #49BAAF #7649BA
split-complementary
#BA4954 #49BA76 #498CBA
monochromatic
#63262C #8F363F #BA4954 #CB757E #DCA2A7

Accessibility & contrast

On white

5.04
#BA4954 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#BA4954 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA4954
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA4954#FFFFFF#000000##FFFFFF
##BA49541.005.044.175.04
#FFFFFF5.041.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#646054
Deuteranopia (green-blind)
#807851
Tritanopia (blue-blind)
#CB364E
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #ba4954;
/* rgb */ color: rgb(186, 73, 84);
/* oklch */ color: oklch(55.9% 0.146 17.3);
Tailwind
colors: {
  custom: {
    50: '#d48184',
    500: '#ba4954',
    950: '#000000',
  },
}
SCSS
$custom: #ba4954;
$custom-light: #d48184;
$custom-dark: #000000;
JSON
{
  "hex": "#ba4954",
  "rgb": {
    "r": 186,
    "g": 73,
    "b": 84
  },
  "hsl": {
    "h": 354.159,
    "s": 45.02,
    "l": 50.784
  },
  "oklch": {
    "l": 0.55915,
    "c": 0.14598,
    "h": 17.3
  },
  "luminance": 0.15844
}

Semantic roles & 50–950 ramp

primary
#BA4954
secondary
#96C8C4
accent
#D5C853
background
#FDF8F8
surface
#FBEFEF
border
#D4CACA
text
#150B0A
muted
#837C7C

Preview Lab

Preview with #BA4954

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

Preview Lab → · Contrast checker → · Palette generator →

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