#BA2E50#BA2E50

#BA2E50 is a mid, vivid red. Relative luminance 0.130; OKLCH L 52.9% C 0.176 H 11.9°. Best body text is #FFFFFF at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#BA2E50
RGBrgb(186, 46, 80)
HSLhsl(345, 60%, 45%)
HSVhsv(345, 75%, 73%)
CMYKcmyk(0%, 75.3%, 57%, 27.1%)
CIE-LABlab(42.73, 56.98, 14.46)
CIE-LCHlch(42.73, 58.79, 14.24°)
OKLaboklab(52.87% 0.1722 0.0362)
OKLCHoklch(52.87% 0.176 11.9)
XYZxyz(22.6769, 12.9755, 8.8983)
Luminance0.1297 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA2E50 #2EBA98
analogous
#BA2E96 #BA2E50 #BA522E
triadic
#BA2E50 #50BA2E #2E50BA
tetradic
#BA2E50 #96BA2E #2EBA98 #522EBA
square
#BA2E50 #96BA2E #2EBA98 #522EBA
split-complementary
#BA2E50 #2EBA52 #2E96BA
monochromatic
#581626 #89223B #BA2E50 #D45171 #E08299

Accessibility & contrast

On white

5.84
#BA2E50 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#BA2E50 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA2E50
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA2E50#FFFFFF#000000##FFFFFF
##BA2E501.005.843.595.84
#FFFFFF5.841.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#535350
Deuteranopia (green-blind)
#776F4C
Tritanopia (blue-blind)
#CB003C
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #ba2e50;
/* rgb */ color: rgb(186, 46, 80);
/* oklch */ color: oklch(52.9% 0.176 11.9);
Tailwind
colors: {
  custom: {
    50: '#d57380',
    500: '#ba2e50',
    950: '#000000',
  },
}
SCSS
$custom: #ba2e50;
$custom-light: #d57380;
$custom-dark: #000000;
JSON
{
  "hex": "#ba2e50",
  "rgb": {
    "r": 186,
    "g": 46,
    "b": 80
  },
  "hsl": {
    "h": 345.429,
    "s": 60.345,
    "l": 45.49
  },
  "oklch": {
    "l": 0.5287,
    "c": 0.17599,
    "h": 11.9
  },
  "luminance": 0.12972
}

Semantic roles & 50–950 ramp

primary
#BA2E50
secondary
#7BC9B6
accent
#E3BD44
background
#FEF7F7
surface
#FCEDEE
border
#D5C8C9
text
#16090A
muted
#847B7C

Preview Lab

Preview with #BA2E50

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

Preview Lab → · Contrast checker → · Palette generator →

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