#BA3B4F#BA3B4F

#BA3B4F is a mid, vivid red. Relative luminance 0.141; OKLCH L 54.1% C 0.162 H 15.4°. Best body text is #FFFFFF at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#BA3B4F
RGBrgb(186, 59, 79)
HSLhsl(351, 52%, 48%)
HSVhsv(351, 68%, 73%)
CMYKcmyk(0%, 68.3%, 57.5%, 27.1%)
CIE-LABlab(44.43, 52.15, 17.38)
CIE-LCHlch(44.43, 54.97, 18.44°)
OKLaboklab(54.13% 0.1566 0.043)
OKLCHoklch(54.13% 0.162 15.4)
XYZxyz(23.2271, 14.1347, 8.9008)
Luminance0.1413 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3B4F #3BBAA6
analogous
#BA3B8E #BA3B4F #BA663B
triadic
#BA3B4F #4FBA3B #3B4FBA
tetradic
#BA3B4F #8EBA3B #3BBAA6 #663BBA
square
#BA3B4F #8EBA3B #3BBAA6 #663BBA
split-complementary
#BA3B4F #3BBA66 #3B8EBA
monochromatic
#5D1E28 #8C2C3B #BA3B4F #CE6475 #DD939E

Accessibility & contrast

On white

5.49
#BA3B4F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.83
#BA3B4F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA3B4F
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA3B4F#FFFFFF#000000##FFFFFF
##BA3B4F1.005.493.835.49
#FFFFFF5.491.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B584F
Deuteranopia (green-blind)
#7C734C
Tritanopia (blue-blind)
#CB1F43
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #ba3b4f;
/* rgb */ color: rgb(186, 59, 79);
/* oklch */ color: oklch(54.1% 0.162 15.4);
Tailwind
colors: {
  custom: {
    50: '#d57980',
    500: '#ba3b4f',
    950: '#000000',
  },
}
SCSS
$custom: #ba3b4f;
$custom-light: #d57980;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3b4f",
  "rgb": {
    "r": 186,
    "g": 59,
    "b": 79
  },
  "hsl": {
    "h": 350.551,
    "s": 51.837,
    "l": 48.039
  },
  "oklch": {
    "l": 0.54125,
    "c": 0.16238,
    "h": 15.4
  },
  "luminance": 0.14132
}

Semantic roles & 50–950 ramp

primary
#BA3B4F
secondary
#89C8BE
accent
#DBC54D
background
#FDF7F7
surface
#FBEEEE
border
#D4C9C9
text
#150A0A
muted
#837C7C

Preview Lab

Preview with #BA3B4F

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

Preview Lab → · Contrast checker → · Palette generator →

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