#BA5145#BA5145

#BA5145 is a mid, vivid red. Relative luminance 0.168; OKLCH L 56.7% C 0.138 H 28.7°. Best body text is #FFFFFF at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#BA5145
RGBrgb(186, 81, 69)
HSLhsl(6, 46%, 50%)
HSVhsv(6, 63%, 73%)
CMYKcmyk(0%, 56.5%, 62.9%, 27.1%)
CIE-LABlab(47.95, 41.55, 27.97)
CIE-LCHlch(47.95, 50.08, 33.95°)
OKLaboklab(56.72% 0.1214 0.0666)
OKLCHoklch(56.72% 0.138 28.7)
XYZxyz(24.2685, 16.7567, 7.5855)
Luminance0.1675 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA5145 #45AEBA
analogous
#BA4573 #BA5145 #BA8C45
triadic
#BA5145 #45BA51 #5145BA
tetradic
#BA5145 #73BA45 #45AEBA #8C45BA
square
#BA5145 #73BA45 #45AEBA #8C45BA
split-complementary
#BA5145 #45BA8C #4573BA
monochromatic
#612A24 #8D3E34 #BA5145 #CB7B72 #DBA59E

Accessibility & contrast

On white

4.83
#BA5145 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.35
#BA5145 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA5145
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA5145#FFFFFF#000000##FFFFFF
##BA51451.004.834.354.83
#FFFFFF4.831.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6C6443
Deuteranopia (green-blind)
#867A43
Tritanopia (blue-blind)
#CB3D4F
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #ba5145;
/* rgb */ color: rgb(186, 81, 69);
/* oklch */ color: oklch(56.7% 0.138 28.7);
Tailwind
colors: {
  custom: {
    50: '#d58579',
    500: '#ba5145',
    950: '#000000',
  },
}
SCSS
$custom: #ba5145;
$custom-light: #d58579;
$custom-dark: #000000;
JSON
{
  "hex": "#ba5145",
  "rgb": {
    "r": 186,
    "g": 81,
    "b": 69
  },
  "hsl": {
    "h": 6.154,
    "s": 45.882,
    "l": 50
  },
  "oklch": {
    "l": 0.56715,
    "c": 0.13845,
    "h": 28.7
  },
  "luminance": 0.16754
}

Semantic roles & 50–950 ramp

primary
#BA5145
secondary
#93C2C8
accent
#C8D652
background
#FDF8F7
surface
#FBEFED
border
#D4CAC8
text
#150B09
muted
#837C7B

Preview Lab

Preview with #BA5145

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

Preview Lab → · Contrast checker → · Palette generator →

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