#BA2E4A#BA2E4A

#BA2E4A is a mid, vivid red. Relative luminance 0.129; OKLCH L 52.7% C 0.176 H 14.6°. Best body text is #FFFFFF at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#BA2E4A
RGBrgb(186, 46, 74)
HSLhsl(348, 60%, 45%)
HSVhsv(348, 75%, 73%)
CMYKcmyk(0%, 75.3%, 60.2%, 27.1%)
CIE-LABlab(42.60, 56.56, 18.03)
CIE-LCHlch(42.60, 59.37, 17.68°)
OKLaboklab(52.73% 0.1699 0.0442)
OKLCHoklch(52.73% 0.176 14.6)
XYZxyz(22.4650, 12.8908, 7.7825)
Luminance0.1289 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA2E4A #2EBA9E
analogous
#BA2E90 #BA2E4A #BA582E
triadic
#BA2E4A #4ABA2E #2E4ABA
tetradic
#BA2E4A #90BA2E #2EBA9E #582EBA
square
#BA2E4A #90BA2E #2EBA9E #582EBA
split-complementary
#BA2E4A #2EBA58 #2E90BA
monochromatic
#581623 #892236 #BA2E4A #D4516B #E08295

Accessibility & contrast

On white

5.87
#BA2E4A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#BA2E4A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA2E4A
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA2E4A#FFFFFF#000000##FFFFFF
##BA2E4A1.005.873.585.87
#FFFFFF5.871.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#54524A
Deuteranopia (green-blind)
#786F46
Tritanopia (blue-blind)
#CC003A
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #ba2e4a;
/* rgb */ color: rgb(186, 46, 74);
/* oklch */ color: oklch(52.7% 0.176 14.6);
Tailwind
colors: {
  custom: {
    50: '#d6737c',
    500: '#ba2e4a',
    950: '#000000',
  },
}
SCSS
$custom: #ba2e4a;
$custom-light: #d6737c;
$custom-dark: #000000;
JSON
{
  "hex": "#ba2e4a",
  "rgb": {
    "r": 186,
    "g": 46,
    "b": 74
  },
  "hsl": {
    "h": 348,
    "s": 60.345,
    "l": 45.49
  },
  "oklch": {
    "l": 0.52734,
    "c": 0.17555,
    "h": 14.6
  },
  "luminance": 0.12888
}

Semantic roles & 50–950 ramp

primary
#BA2E4A
secondary
#7BC9B9
accent
#E3C444
background
#FEF7F7
surface
#FCEDEE
border
#D5C8C9
text
#160909
muted
#847B7B

Preview Lab

Preview with #BA2E4A

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

Preview Lab → · Contrast checker → · Palette generator →

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