#BA2B4D#BA2B4D

#BA2B4D is a mid, vivid red. Relative luminance 0.127; OKLCH L 52.5% C 0.179 H 12.7°. Best body text is #FFFFFF at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#BA2B4D
RGBrgb(186, 43, 77)
HSLhsl(346, 62%, 45%)
HSVhsv(346, 77%, 73%)
CMYKcmyk(0%, 76.9%, 58.6%, 27.1%)
CIE-LABlab(42.32, 57.73, 15.78)
CIE-LCHlch(42.32, 59.85, 15.29°)
OKLaboklab(52.55% 0.1742 0.0391)
OKLCHoklch(52.55% 0.179 12.7)
XYZxyz(22.4554, 12.7060, 8.2898)
Luminance0.1270 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA2B4D #2BBA98
analogous
#BA2B95 #BA2B4D #BA502B
triadic
#BA2B4D #4DBA2B #2B4DBA
tetradic
#BA2B4D #95BA2B #2BBA98 #502BBA
square
#BA2B4D #95BA2B #2BBA98 #502BBA
split-complementary
#BA2B4D #2BBA50 #2B95BA
monochromatic
#571424 #882038 #BA2B4D #D64C6D #E17E96

Accessibility & contrast

On white

5.93
#BA2B4D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#BA2B4D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA2B4D
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA2B4D#FFFFFF#000000##FFFFFF
##BA2B4D1.005.933.545.93
#FFFFFF5.931.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#52514D
Deuteranopia (green-blind)
#776E49
Tritanopia (blue-blind)
#CC0039
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #ba2b4d;
/* rgb */ color: rgb(186, 43, 77);
/* oklch */ color: oklch(52.5% 0.179 12.7);
Tailwind
colors: {
  custom: {
    50: '#d6727e',
    500: '#ba2b4d',
    950: '#000000',
  },
}
SCSS
$custom: #ba2b4d;
$custom-light: #d6727e;
$custom-dark: #000000;
JSON
{
  "hex": "#ba2b4d",
  "rgb": {
    "r": 186,
    "g": 43,
    "b": 77
  },
  "hsl": {
    "h": 345.734,
    "s": 62.445,
    "l": 44.902
  },
  "oklch": {
    "l": 0.52546,
    "c": 0.17851,
    "h": 12.7
  },
  "luminance": 0.12703
}

Semantic roles & 50–950 ramp

primary
#BA2B4D
secondary
#77CAB6
accent
#E6BF42
background
#FEF7F7
surface
#FCEDEE
border
#D5C8C9
text
#160909
muted
#847B7B

Preview Lab

Preview with #BA2B4D

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

Preview Lab → · Contrast checker → · Palette generator →

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