#BA4152#BA4152

#BA4152 is a mid, vivid red. Relative luminance 0.148; OKLCH L 54.9% C 0.156 H 15.6°. Best body text is #FFFFFF at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#BA4152
RGBrgb(186, 65, 82)
HSLhsl(352, 48%, 49%)
HSVhsv(352, 65%, 73%)
CMYKcmyk(0%, 65.1%, 55.9%, 27.1%)
CIE-LABlab(45.40, 49.88, 16.86)
CIE-LCHlch(45.40, 52.66, 18.67°)
OKLaboklab(54.87% 0.1498 0.0419)
OKLCHoklch(54.87% 0.156 15.6)
XYZxyz(23.6651, 14.8320, 9.5977)
Luminance0.1483 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA4152 #41BAA9
analogous
#BA418F #BA4152 #BA6D41
triadic
#BA4152 #52BA41 #4152BA
tetradic
#BA4152 #8FBA41 #41BAA9 #6D41BA
square
#BA4152 #8FBA41 #41BAA9 #6D41BA
split-complementary
#BA4152 #41BA6D #418FBA
monochromatic
#5F212A #8D313E #BA4152 #CC6C7A #DC9AA3

Accessibility & contrast

On white

5.30
#BA4152 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#BA4152 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA4152
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA4152#FFFFFF#000000##FFFFFF
##BA41521.005.303.975.30
#FFFFFF5.301.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E5C52
Deuteranopia (green-blind)
#7D754F
Tritanopia (blue-blind)
#CB2A48
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #ba4152;
/* rgb */ color: rgb(186, 65, 82);
/* oklch */ color: oklch(54.9% 0.156 15.6);
Tailwind
colors: {
  custom: {
    50: '#d57c82',
    500: '#ba4152',
    950: '#000000',
  },
}
SCSS
$custom: #ba4152;
$custom-light: #d57c82;
$custom-dark: #000000;
JSON
{
  "hex": "#ba4152",
  "rgb": {
    "r": 186,
    "g": 65,
    "b": 82
  },
  "hsl": {
    "h": 351.57,
    "s": 48.207,
    "l": 49.216
  },
  "oklch": {
    "l": 0.54875,
    "c": 0.1556,
    "h": 15.6
  },
  "luminance": 0.14829
}

Semantic roles & 50–950 ramp

primary
#BA4152
secondary
#8FC8C0
accent
#D8C550
background
#FDF7F7
surface
#FBEEEE
border
#D4C9C9
text
#150A0A
muted
#837C7C

Preview Lab

Preview with #BA4152

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

Preview Lab → · Contrast checker → · Palette generator →

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