#BA2E4B#BA2E4B

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

Color values

HEX#BA2E4B
RGBrgb(186, 46, 75)
HSLhsl(348, 60%, 45%)
HSVhsv(348, 75%, 73%)
CMYKcmyk(0%, 75.3%, 59.7%, 27.1%)
CIE-LABlab(42.62, 56.63, 17.44)
CIE-LCHlch(42.62, 59.25, 17.11°)
OKLaboklab(52.76% 0.1703 0.0429)
OKLCHoklch(52.76% 0.176 14.1)
XYZxyz(22.4990, 12.9044, 7.9613)
Luminance0.1290 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA2E4B #2EBA9D
analogous
#BA2E91 #BA2E4B #BA572E
triadic
#BA2E4B #4BBA2E #2E4BBA
tetradic
#BA2E4B #91BA2E #2EBA9D #572EBA
square
#BA2E4B #91BA2E #2EBA9D #572EBA
split-complementary
#BA2E4B #2EBA57 #2E91BA
monochromatic
#581623 #892237 #BA2E4B #D4516C #E08296

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BA2E4B#FFFFFF#000000##FFFFFF
##BA2E4B1.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)
#54524B
Deuteranopia (green-blind)
#786F47
Tritanopia (blue-blind)
#CC003A
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #ba2e4b;
/* rgb */ color: rgb(186, 46, 75);
/* oklch */ color: oklch(52.8% 0.176 14.1);
Tailwind
colors: {
  custom: {
    50: '#d6737d',
    500: '#ba2e4b',
    950: '#000000',
  },
}
SCSS
$custom: #ba2e4b;
$custom-light: #d6737d;
$custom-dark: #000000;
JSON
{
  "hex": "#ba2e4b",
  "rgb": {
    "r": 186,
    "g": 46,
    "b": 75
  },
  "hsl": {
    "h": 347.571,
    "s": 60.345,
    "l": 45.49
  },
  "oklch": {
    "l": 0.52756,
    "c": 0.17559,
    "h": 14.1
  },
  "luminance": 0.12901
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BA2E4B

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

Preview Lab → · Contrast checker → · Palette generator →

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