#BA4962#BA4962

#BA4962 is a mid, vivid red. Relative luminance 0.161; OKLCH L 56.3% C 0.147 H 9.6°. Best body text is #FFFFFF at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#BA4962
RGBrgb(186, 73, 98)
HSLhsl(347, 45%, 51%)
HSVhsv(347, 61%, 73%)
CMYKcmyk(0%, 60.8%, 47.3%, 27.1%)
CIE-LABlab(47.09, 47.72, 9.42)
CIE-LCHlch(47.09, 48.65, 11.16°)
OKLaboklab(56.26% 0.1449 0.0244)
OKLCHoklch(56.26% 0.147 9.6)
XYZxyz(24.8387, 16.0890, 13.3504)
Luminance0.1609 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA4962 #49BAA1
analogous
#BA499A #BA4962 #BA6849
triadic
#BA4962 #62BA49 #4962BA
tetradic
#BA4962 #9ABA49 #49BAA1 #6849BA
square
#BA4962 #9ABA49 #49BAA1 #6849BA
split-complementary
#BA4962 #49BA68 #499ABA
monochromatic
#632633 #8F364A #BA4962 #CB7588 #DCA2AF

Accessibility & contrast

On white

4.98
#BA4962 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.22
#BA4962 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA4962
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA4962#FFFFFF#000000##FFFFFF
##BA49621.004.984.224.98
#FFFFFF4.981.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#616162
Deuteranopia (green-blind)
#7E785F
Tritanopia (blue-blind)
#CA3953
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #ba4962;
/* rgb */ color: rgb(186, 73, 98);
/* oklch */ color: oklch(56.3% 0.147 9.6);
Tailwind
colors: {
  custom: {
    50: '#d3818e',
    500: '#ba4962',
    950: '#000000',
  },
}
SCSS
$custom: #ba4962;
$custom-light: #d3818e;
$custom-dark: #000000;
JSON
{
  "hex": "#ba4962",
  "rgb": {
    "r": 186,
    "g": 73,
    "b": 98
  },
  "hsl": {
    "h": 346.726,
    "s": 45.02,
    "l": 50.784
  },
  "oklch": {
    "l": 0.56257,
    "c": 0.1469,
    "h": 9.6
  },
  "luminance": 0.16086
}

Semantic roles & 50–950 ramp

primary
#BA4962
secondary
#96C8BD
accent
#D5B853
background
#FDF8F8
surface
#FBEFF0
border
#D4CACB
text
#150B0C
muted
#837C7D

Preview Lab

Preview with #BA4962

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

Preview Lab → · Contrast checker → · Palette generator →

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