#BA2E4F#BA2E4F

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

Color values

HEX#BA2E4F
RGBrgb(186, 46, 79)
HSLhsl(346, 60%, 45%)
HSVhsv(346, 75%, 73%)
CMYKcmyk(0%, 75.3%, 57.5%, 27.1%)
CIE-LABlab(42.70, 56.91, 15.05)
CIE-LCHlch(42.70, 58.87, 14.82°)
OKLaboklab(52.85% 0.1719 0.0375)
OKLCHoklch(52.85% 0.176 12.3)
XYZxyz(22.6402, 12.9609, 8.7052)
Luminance0.1296 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA2E4F #2EBA99
analogous
#BA2E95 #BA2E4F #BA532E
triadic
#BA2E4F #4FBA2E #2E4FBA
tetradic
#BA2E4F #95BA2E #2EBA99 #532EBA
square
#BA2E4F #95BA2E #2EBA99 #532EBA
split-complementary
#BA2E4F #2EBA53 #2E95BA
monochromatic
#581625 #89223A #BA2E4F #D45170 #E08298

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BA2E4F#FFFFFF#000000##FFFFFF
##BA2E4F1.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)
#53534F
Deuteranopia (green-blind)
#776F4B
Tritanopia (blue-blind)
#CB003C
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #ba2e4f;
/* rgb */ color: rgb(186, 46, 79);
/* oklch */ color: oklch(52.8% 0.176 12.3);
Tailwind
colors: {
  custom: {
    50: '#d67380',
    500: '#ba2e4f',
    950: '#000000',
  },
}
SCSS
$custom: #ba2e4f;
$custom-light: #d67380;
$custom-dark: #000000;
JSON
{
  "hex": "#ba2e4f",
  "rgb": {
    "r": 186,
    "g": 46,
    "b": 79
  },
  "hsl": {
    "h": 345.857,
    "s": 60.345,
    "l": 45.49
  },
  "oklch": {
    "l": 0.52847,
    "c": 0.1759,
    "h": 12.3
  },
  "luminance": 0.12958
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BA2E4F

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

Preview Lab → · Contrast checker → · Palette generator →

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