#BA4762#BA4762

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

Color values

HEX#BA4762
RGBrgb(186, 71, 98)
HSLhsl(346, 45%, 50%)
HSVhsv(346, 62%, 73%)
CMYKcmyk(0%, 61.8%, 47.3%, 27.1%)
CIE-LABlab(46.75, 48.63, 8.94)
CIE-LCHlch(46.75, 49.45, 10.42°)
OKLaboklab(56% 0.1477 0.0232)
OKLCHoklch(56% 0.15 8.9)
XYZxyz(24.7094, 15.8304, 13.3073)
Luminance0.1583 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA4762 #47BA9F
analogous
#BA479C #BA4762 #BA6547
triadic
#BA4762 #62BA47 #4762BA
tetradic
#BA4762 #9CBA47 #47BA9F #6547BA
square
#BA4762 #9CBA47 #47BA9F #6547BA
split-complementary
#BA4762 #47BA65 #479CBA
monochromatic
#622533 #8E354A #BA4762 #CB7488 #DBA0AE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BA4762#FFFFFF#000000##FFFFFF
##BA47621.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)
#606063
Deuteranopia (green-blind)
#7D775F
Tritanopia (blue-blind)
#CA3751
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #ba4762;
/* rgb */ color: rgb(186, 71, 98);
/* oklch */ color: oklch(56.0% 0.150 8.9);
Tailwind
colors: {
  custom: {
    50: '#d3808e',
    500: '#ba4762',
    950: '#000000',
  },
}
SCSS
$custom: #ba4762;
$custom-light: #d3808e;
$custom-dark: #000000;
JSON
{
  "hex": "#ba4762",
  "rgb": {
    "r": 186,
    "g": 71,
    "b": 98
  },
  "hsl": {
    "h": 345.913,
    "s": 45.455,
    "l": 50.392
  },
  "oklch": {
    "l": 0.56003,
    "c": 0.14954,
    "h": 8.9
  },
  "luminance": 0.15827
}

Semantic roles & 50–950 ramp

primary
#BA4762
secondary
#95C8BC
accent
#D5B753
background
#FDF8F8
surface
#FBEFF0
border
#D4CACB
text
#150B0C
muted
#837C7D

Preview Lab

Preview with #BA4762

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

Preview Lab → · Contrast checker → · Palette generator →

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