#BA2E49#BA2E49

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

Color values

HEX#BA2E49
RGBrgb(186, 46, 73)
HSLhsl(348, 60%, 45%)
HSVhsv(348, 75%, 73%)
CMYKcmyk(0%, 75.3%, 60.8%, 27.1%)
CIE-LABlab(42.58, 56.50, 18.63)
CIE-LCHlch(42.58, 59.49, 18.25°)
OKLaboklab(52.71% 0.1695 0.0456)
OKLCHoklch(52.71% 0.176 15)
XYZxyz(22.4316, 12.8774, 7.6065)
Luminance0.1287 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA2E49 #2EBA9F
analogous
#BA2E8F #BA2E49 #BA592E
triadic
#BA2E49 #49BA2E #2E49BA
tetradic
#BA2E49 #8FBA2E #2EBA9F #592EBA
square
#BA2E49 #8FBA2E #2EBA9F #592EBA
split-complementary
#BA2E49 #2EBA59 #2E8FBA
monochromatic
#581622 #892236 #BA2E49 #D4516A #E08294

Accessibility & contrast

On white

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

On black

3.57
#BA2E49 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##BA2E49#FFFFFF#000000##FFFFFF
##BA2E491.005.873.575.87
#FFFFFF5.871.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#555249
Deuteranopia (green-blind)
#786F45
Tritanopia (blue-blind)
#CC0039
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #ba2e49;
/* rgb */ color: rgb(186, 46, 73);
/* oklch */ color: oklch(52.7% 0.176 15.0);
Tailwind
colors: {
  custom: {
    50: '#d6737b',
    500: '#ba2e49',
    950: '#000000',
  },
}
SCSS
$custom: #ba2e49;
$custom-light: #d6737b;
$custom-dark: #000000;
JSON
{
  "hex": "#ba2e49",
  "rgb": {
    "r": 186,
    "g": 46,
    "b": 73
  },
  "hsl": {
    "h": 348.429,
    "s": 60.345,
    "l": 45.49
  },
  "oklch": {
    "l": 0.52712,
    "c": 0.17551,
    "h": 15
  },
  "luminance": 0.12874
}

Semantic roles & 50–950 ramp

primary
#BA2E49
secondary
#7BC9BA
accent
#E3C544
background
#FEF7F7
surface
#FCEDED
border
#D5C8C8
text
#160909
muted
#847B7B

Preview Lab

Preview with #BA2E49

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

Preview Lab → · Contrast checker → · Palette generator →

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