#BA2E4D#BA2E4D

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

Color values

HEX#BA2E4D
RGBrgb(186, 46, 77)
HSLhsl(347, 60%, 45%)
HSVhsv(347, 75%, 73%)
CMYKcmyk(0%, 75.3%, 58.6%, 27.1%)
CIE-LABlab(42.66, 56.77, 16.24)
CIE-LCHlch(42.66, 59.05, 15.97°)
OKLaboklab(52.8% 0.1711 0.0402)
OKLCHoklch(52.8% 0.176 13.2)
XYZxyz(22.5685, 12.9322, 8.3275)
Luminance0.1293 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA2E4D #2EBA9B
analogous
#BA2E93 #BA2E4D #BA552E
triadic
#BA2E4D #4DBA2E #2E4DBA
tetradic
#BA2E4D #93BA2E #2EBA9B #552EBA
square
#BA2E4D #93BA2E #2EBA9B #552EBA
split-complementary
#BA2E4D #2EBA55 #2E93BA
monochromatic
#581624 #892239 #BA2E4D #D4516E #E08297

Accessibility & contrast

On white

5.86
#BA2E4D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #BA2E4D
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA2E4D#FFFFFF#000000##FFFFFF
##BA2E4D1.005.863.595.86
#FFFFFF5.861.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#54524D
Deuteranopia (green-blind)
#786F49
Tritanopia (blue-blind)
#CC003B
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #ba2e4d;
/* rgb */ color: rgb(186, 46, 77);
/* oklch */ color: oklch(52.8% 0.176 13.2);
Tailwind
colors: {
  custom: {
    50: '#d6737e',
    500: '#ba2e4d',
    950: '#000000',
  },
}
SCSS
$custom: #ba2e4d;
$custom-light: #d6737e;
$custom-dark: #000000;
JSON
{
  "hex": "#ba2e4d",
  "rgb": {
    "r": 186,
    "g": 46,
    "b": 77
  },
  "hsl": {
    "h": 346.714,
    "s": 60.345,
    "l": 45.49
  },
  "oklch": {
    "l": 0.52801,
    "c": 0.17573,
    "h": 13.2
  },
  "luminance": 0.12929
}

Semantic roles & 50–950 ramp

primary
#BA2E4D
secondary
#7BC9B8
accent
#E3C044
background
#FEF7F7
surface
#FCEDEE
border
#D5C8C9
text
#160909
muted
#847B7B

Preview Lab

Preview with #BA2E4D

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

Preview Lab → · Contrast checker → · Palette generator →

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