#BA2E4C#BA2E4C

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

Color values

HEX#BA2E4C
RGBrgb(186, 46, 76)
HSLhsl(347, 60%, 45%)
HSVhsv(347, 75%, 73%)
CMYKcmyk(0%, 75.3%, 59.1%, 27.1%)
CIE-LABlab(42.64, 56.70, 16.84)
CIE-LCHlch(42.64, 59.15, 16.54°)
OKLaboklab(52.78% 0.1707 0.0416)
OKLCHoklch(52.78% 0.176 13.7)
XYZxyz(22.5335, 12.9182, 8.1430)
Luminance0.1291 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA2E4C #2EBA9C
analogous
#BA2E92 #BA2E4C #BA562E
triadic
#BA2E4C #4CBA2E #2E4CBA
tetradic
#BA2E4C #92BA2E #2EBA9C #562EBA
square
#BA2E4C #92BA2E #2EBA9C #562EBA
split-complementary
#BA2E4C #2EBA56 #2E92BA
monochromatic
#581624 #892238 #BA2E4C #D4516D #E08296

Accessibility & contrast

On white

5.86
#BA2E4C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #BA2E4C
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA2E4C#FFFFFF#000000##FFFFFF
##BA2E4C1.005.863.585.86
#FFFFFF5.861.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.861.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ba2e4c;
/* rgb */ color: rgb(186, 46, 76);
/* oklch */ color: oklch(52.8% 0.176 13.7);
Tailwind
colors: {
  custom: {
    50: '#d6737d',
    500: '#ba2e4c',
    950: '#000000',
  },
}
SCSS
$custom: #ba2e4c;
$custom-light: #d6737d;
$custom-dark: #000000;
JSON
{
  "hex": "#ba2e4c",
  "rgb": {
    "r": 186,
    "g": 46,
    "b": 76
  },
  "hsl": {
    "h": 347.143,
    "s": 60.345,
    "l": 45.49
  },
  "oklch": {
    "l": 0.52778,
    "c": 0.17566,
    "h": 13.7
  },
  "luminance": 0.12915
}

Semantic roles & 50–950 ramp

primary
#BA2E4C
secondary
#7BC9B8
accent
#E3C144
background
#FEF7F7
surface
#FCEDEE
border
#D5C8C9
text
#160909
muted
#847B7B

Preview Lab

Preview with #BA2E4C

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

Preview Lab → · Contrast checker → · Palette generator →

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