#BA4051#BA4051

#BA4051 is a mid, vivid red. Relative luminance 0.147; OKLCH L 54.7% C 0.157 H 15.8°. Best body text is #FFFFFF at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#BA4051
RGBrgb(186, 64, 81)
HSLhsl(352, 49%, 49%)
HSVhsv(352, 66%, 73%)
CMYKcmyk(0%, 65.6%, 56.5%, 27.1%)
CIE-LABlab(45.22, 50.23, 17.23)
CIE-LCHlch(45.22, 53.11, 18.93°)
OKLaboklab(54.74% 0.1508 0.0428)
OKLCHoklch(54.74% 0.157 15.8)
XYZxyz(23.5704, 14.7031, 9.3798)
Luminance0.1470 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA4051 #40BAA9
analogous
#BA408E #BA4051 #BA6C40
triadic
#BA4051 #51BA40 #4051BA
tetradic
#BA4051 #8EBA40 #40BAA9 #6C40BA
square
#BA4051 #8EBA40 #40BAA9 #6C40BA
split-complementary
#BA4051 #40BA6C #408EBA
monochromatic
#5F2129 #8C303D #BA4051 #CC6B79 #DC99A2

Accessibility & contrast

On white

5.33
#BA4051 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#BA4051 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA4051
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA4051#FFFFFF#000000##FFFFFF
##BA40511.005.333.945.33
#FFFFFF5.331.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E5B51
Deuteranopia (green-blind)
#7D744E
Tritanopia (blue-blind)
#CB2847
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #ba4051;
/* rgb */ color: rgb(186, 64, 81);
/* oklch */ color: oklch(54.7% 0.157 15.8);
Tailwind
colors: {
  custom: {
    50: '#d57c81',
    500: '#ba4051',
    950: '#000000',
  },
}
SCSS
$custom: #ba4051;
$custom-light: #d57c81;
$custom-dark: #000000;
JSON
{
  "hex": "#ba4051",
  "rgb": {
    "r": 186,
    "g": 64,
    "b": 81
  },
  "hsl": {
    "h": 351.639,
    "s": 48.8,
    "l": 49.02
  },
  "oklch": {
    "l": 0.54735,
    "c": 0.15675,
    "h": 15.8
  },
  "luminance": 0.147
}

Semantic roles & 50–950 ramp

primary
#BA4051
secondary
#8EC8C0
accent
#D8C54F
background
#FDF7F7
surface
#FBEEEE
border
#D4C9C9
text
#150A0A
muted
#837C7C

Preview Lab

Preview with #BA4051

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

Preview Lab → · Contrast checker → · Palette generator →

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