#BA2E51#BA2E51

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

Color values

HEX#BA2E51
RGBrgb(186, 46, 81)
HSLhsl(345, 60%, 45%)
HSVhsv(345, 75%, 73%)
CMYKcmyk(0%, 75.3%, 56.5%, 27.1%)
CIE-LABlab(42.75, 57.05, 13.87)
CIE-LCHlch(42.75, 58.71, 13.66°)
OKLaboklab(52.89% 0.1726 0.0348)
OKLCHoklch(52.89% 0.176 11.4)
XYZxyz(22.7141, 12.9904, 9.0943)
Luminance0.1299 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA2E51 #2EBA97
analogous
#BA2E97 #BA2E51 #BA512E
triadic
#BA2E51 #51BA2E #2E51BA
tetradic
#BA2E51 #97BA2E #2EBA97 #512EBA
square
#BA2E51 #97BA2E #2EBA97 #512EBA
split-complementary
#BA2E51 #2EBA51 #2E97BA
monochromatic
#581626 #89223C #BA2E51 #D45172 #E0829A

Accessibility & contrast

On white

5.84
#BA2E51 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#BA2E51 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA2E51
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA2E51#FFFFFF#000000##FFFFFF
##BA2E511.005.843.605.84
#FFFFFF5.841.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#535352
Deuteranopia (green-blind)
#776F4D
Tritanopia (blue-blind)
#CB003D
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #ba2e51;
/* rgb */ color: rgb(186, 46, 81);
/* oklch */ color: oklch(52.9% 0.176 11.4);
Tailwind
colors: {
  custom: {
    50: '#d57381',
    500: '#ba2e51',
    950: '#000000',
  },
}
SCSS
$custom: #ba2e51;
$custom-light: #d57381;
$custom-dark: #000000;
JSON
{
  "hex": "#ba2e51",
  "rgb": {
    "r": 186,
    "g": 46,
    "b": 81
  },
  "hsl": {
    "h": 345,
    "s": 60.345,
    "l": 45.49
  },
  "oklch": {
    "l": 0.52894,
    "c": 0.1761,
    "h": 11.4
  },
  "luminance": 0.12987
}

Semantic roles & 50–950 ramp

primary
#BA2E51
secondary
#7BC9B6
accent
#E3BC44
background
#FEF7F7
surface
#FCEDEE
border
#D5C8C9
text
#16090A
muted
#847B7C

Preview Lab

Preview with #BA2E51

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

Preview Lab → · Contrast checker → · Palette generator →

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