#BA2B4E#BA2B4E

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

Color values

HEX#BA2B4E
RGBrgb(186, 43, 78)
HSLhsl(345, 62%, 45%)
HSVhsv(345, 77%, 73%)
CMYKcmyk(0%, 76.9%, 58.1%, 27.1%)
CIE-LABlab(42.34, 57.80, 15.18)
CIE-LCHlch(42.34, 59.76, 14.72°)
OKLaboklab(52.57% 0.1746 0.0378)
OKLCHoklch(52.57% 0.179 12.2)
XYZxyz(22.4910, 12.7202, 8.4772)
Luminance0.1272 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA2B4E #2BBA97
analogous
#BA2B95 #BA2B4E #BA502B
triadic
#BA2B4E #4EBA2B #2B4EBA
tetradic
#BA2B4E #95BA2B #2BBA97 #502BBA
square
#BA2B4E #95BA2B #2BBA97 #502BBA
split-complementary
#BA2B4E #2BBA50 #2B95BA
monochromatic
#571424 #882039 #BA2B4E #D64C6E #E17E96

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BA2B4E#FFFFFF#000000##FFFFFF
##BA2B4E1.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)
#52514E
Deuteranopia (green-blind)
#776E4A
Tritanopia (blue-blind)
#CC003A
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #ba2b4e;
/* rgb */ color: rgb(186, 43, 78);
/* oklch */ color: oklch(52.6% 0.179 12.2);
Tailwind
colors: {
  custom: {
    50: '#d6727f',
    500: '#ba2b4e',
    950: '#000000',
  },
}
SCSS
$custom: #ba2b4e;
$custom-light: #d6727f;
$custom-dark: #000000;
JSON
{
  "hex": "#ba2b4e",
  "rgb": {
    "r": 186,
    "g": 43,
    "b": 78
  },
  "hsl": {
    "h": 345.315,
    "s": 62.445,
    "l": 44.902
  },
  "oklch": {
    "l": 0.52569,
    "c": 0.1786,
    "h": 12.2
  },
  "luminance": 0.12717
}

Semantic roles & 50–950 ramp

primary
#BA2B4E
secondary
#77CAB6
accent
#E6BE42
background
#FEF7F7
surface
#FCEDEE
border
#D5C8C9
text
#16090A
muted
#847B7C

Preview Lab

Preview with #BA2B4E

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

Preview Lab → · Contrast checker → · Palette generator →

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