#BA2E48#BA2E48

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

Color values

HEX#BA2E48
RGBrgb(186, 46, 72)
HSLhsl(349, 60%, 45%)
HSVhsv(349, 75%, 73%)
CMYKcmyk(0%, 75.3%, 61.3%, 27.1%)
CIE-LABlab(42.56, 56.43, 19.22)
CIE-LCHlch(42.56, 59.62, 18.81°)
OKLaboklab(52.69% 0.1691 0.0469)
OKLCHoklch(52.69% 0.175 15.5)
XYZxyz(22.3987, 12.8643, 7.4333)
Luminance0.1286 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA2E48 #2EBAA0
analogous
#BA2E8E #BA2E48 #BA5A2E
triadic
#BA2E48 #48BA2E #2E48BA
tetradic
#BA2E48 #8EBA2E #2EBAA0 #5A2EBA
square
#BA2E48 #8EBA2E #2EBAA0 #5A2EBA
split-complementary
#BA2E48 #2EBA5A #2E8EBA
monochromatic
#581622 #892235 #BA2E48 #D45169 #E08294

Accessibility & contrast

On white

5.88
#BA2E48 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #BA2E48
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA2E48#FFFFFF#000000##FFFFFF
##BA2E481.005.883.575.88
#FFFFFF5.881.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.881.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ba2e48;
/* rgb */ color: rgb(186, 46, 72);
/* oklch */ color: oklch(52.7% 0.175 15.5);
Tailwind
colors: {
  custom: {
    50: '#d6737a',
    500: '#ba2e48',
    950: '#000000',
  },
}
SCSS
$custom: #ba2e48;
$custom-light: #d6737a;
$custom-dark: #000000;
JSON
{
  "hex": "#ba2e48",
  "rgb": {
    "r": 186,
    "g": 46,
    "b": 72
  },
  "hsl": {
    "h": 348.857,
    "s": 60.345,
    "l": 45.49
  },
  "oklch": {
    "l": 0.52691,
    "c": 0.17547,
    "h": 15.5
  },
  "luminance": 0.12861
}

Semantic roles & 50–950 ramp

primary
#BA2E48
secondary
#7BC9BB
accent
#E3C644
background
#FEF7F7
surface
#FCEDED
border
#D5C8C8
text
#160909
muted
#847B7B

Preview Lab

Preview with #BA2E48

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

Preview Lab → · Contrast checker → · Palette generator →

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