#BA2542#BA2542

#BA2542 is a mid, vivid red. Relative luminance 0.122; OKLCH L 51.8% C 0.183 H 16.4°. Best body text is #FFFFFF at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#BA2542
RGBrgb(186, 37, 66)
HSLhsl(348, 67%, 44%)
HSVhsv(348, 80%, 73%)
CMYKcmyk(0%, 80.1%, 64.5%, 27.1%)
CIE-LABlab(41.47, 58.81, 21.53)
CIE-LCHlch(41.47, 62.63, 20.11°)
OKLaboklab(51.85% 0.1756 0.0517)
OKLCHoklch(51.85% 0.183 16.4)
XYZxyz(21.8970, 12.1589, 6.3471)
Luminance0.1216 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA2542 #25BA9D
analogous
#BA258C #BA2542 #BA5225
triadic
#BA2542 #42BA25 #2542BA
tetradic
#BA2542 #8CBA25 #25BA9D #5225BA
square
#BA2542 #8CBA25 #25BA9D #5225BA
split-complementary
#BA2542 #25BA52 #258CBA
monochromatic
#54111E #871B30 #BA2542 #DA4360 #E4768B

Accessibility & contrast

On white

6.12
#BA2542 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#BA2542 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA2542
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA2542#FFFFFF#000000##FFFFFF
##BA25421.006.123.436.12
#FFFFFF6.121.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#514E42
Deuteranopia (green-blind)
#776D3E
Tritanopia (blue-blind)
#CC0032
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #ba2542;
/* rgb */ color: rgb(186, 37, 66);
/* oklch */ color: oklch(51.8% 0.183 16.4);
Tailwind
colors: {
  custom: {
    50: '#d76f76',
    500: '#ba2542',
    950: '#000000',
  },
}
SCSS
$custom: #ba2542;
$custom-light: #d76f76;
$custom-dark: #000000;
JSON
{
  "hex": "#ba2542",
  "rgb": {
    "r": 186,
    "g": 37,
    "b": 66
  },
  "hsl": {
    "h": 348.322,
    "s": 66.816,
    "l": 43.725
  },
  "oklch": {
    "l": 0.51847,
    "c": 0.183,
    "h": 16.4
  },
  "luminance": 0.12156
}

Semantic roles & 50–950 ramp

primary
#BA2542
secondary
#70CBB9
accent
#EAC83E
background
#FEF7F7
surface
#FCEDED
border
#D5C8C8
text
#160808
muted
#847B7B

Preview Lab

Preview with #BA2542

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

Preview Lab → · Contrast checker → · Palette generator →

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