#BA2E4E#BA2E4E

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

Color values

HEX#BA2E4E
RGBrgb(186, 46, 78)
HSLhsl(346, 60%, 45%)
HSVhsv(346, 75%, 73%)
CMYKcmyk(0%, 75.3%, 58.1%, 27.1%)
CIE-LABlab(42.68, 56.84, 15.65)
CIE-LCHlch(42.68, 58.95, 15.39°)
OKLaboklab(52.82% 0.1715 0.0389)
OKLCHoklch(52.82% 0.176 12.8)
XYZxyz(22.6041, 12.9464, 8.5149)
Luminance0.1294 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA2E4E #2EBA9A
analogous
#BA2E94 #BA2E4E #BA542E
triadic
#BA2E4E #4EBA2E #2E4EBA
tetradic
#BA2E4E #94BA2E #2EBA9A #542EBA
square
#BA2E4E #94BA2E #2EBA9A #542EBA
split-complementary
#BA2E4E #2EBA54 #2E94BA
monochromatic
#581625 #892239 #BA2E4E #D4516F #E08298

Accessibility & contrast

On white

5.85
#BA2E4E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #BA2E4E
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA2E4E#FFFFFF#000000##FFFFFF
##BA2E4E1.005.853.595.85
#FFFFFF5.851.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#54524E
Deuteranopia (green-blind)
#786F4A
Tritanopia (blue-blind)
#CC003B
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #ba2e4e;
/* rgb */ color: rgb(186, 46, 78);
/* oklch */ color: oklch(52.8% 0.176 12.8);
Tailwind
colors: {
  custom: {
    50: '#d6737f',
    500: '#ba2e4e',
    950: '#000000',
  },
}
SCSS
$custom: #ba2e4e;
$custom-light: #d6737f;
$custom-dark: #000000;
JSON
{
  "hex": "#ba2e4e",
  "rgb": {
    "r": 186,
    "g": 46,
    "b": 78
  },
  "hsl": {
    "h": 346.286,
    "s": 60.345,
    "l": 45.49
  },
  "oklch": {
    "l": 0.52823,
    "c": 0.1758,
    "h": 12.8
  },
  "luminance": 0.12943
}

Semantic roles & 50–950 ramp

primary
#BA2E4E
secondary
#7BC9B7
accent
#E3BF44
background
#FEF7F7
surface
#FCEDEE
border
#D5C8C9
text
#16090A
muted
#847B7C

Preview Lab

Preview with #BA2E4E

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

Preview Lab → · Contrast checker → · Palette generator →

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