#BA2745#BA2745

#BA2745 is a mid, vivid red. Relative luminance 0.123; OKLCH L 52.1% C 0.181 H 15.5°. Best body text is #FFFFFF at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#BA2745
RGBrgb(186, 39, 69)
HSLhsl(348, 65%, 44%)
HSVhsv(348, 79%, 73%)
CMYKcmyk(0%, 79%, 62.9%, 27.1%)
CIE-LABlab(41.73, 58.42, 20.00)
CIE-LCHlch(41.73, 61.75, 18.89°)
OKLaboklab(52.05% 0.1749 0.0484)
OKLCHoklch(52.05% 0.181 15.5)
XYZxyz(22.0517, 12.3231, 6.8465)
Luminance0.1232 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA2745 #27BA9C
analogous
#BA278F #BA2745 #BA5327
triadic
#BA2745 #45BA27 #2745BA
tetradic
#BA2745 #8FBA27 #27BA9C #5327BA
square
#BA2745 #8FBA27 #27BA9C #5327BA
split-complementary
#BA2745 #27BA53 #278FBA
monochromatic
#55121F #871C32 #BA2745 #D84664 #E3798E

Accessibility & contrast

On white

6.06
#BA2745 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#BA2745 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA2745
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA2745#FFFFFF#000000##FFFFFF
##BA27451.006.063.466.06
#FFFFFF6.061.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#524F45
Deuteranopia (green-blind)
#776D41
Tritanopia (blue-blind)
#CC0034
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #ba2745;
/* rgb */ color: rgb(186, 39, 69);
/* oklch */ color: oklch(52.1% 0.181 15.5);
Tailwind
colors: {
  custom: {
    50: '#d67078',
    500: '#ba2745',
    950: '#000000',
  },
}
SCSS
$custom: #ba2745;
$custom-light: #d67078;
$custom-dark: #000000;
JSON
{
  "hex": "#ba2745",
  "rgb": {
    "r": 186,
    "g": 39,
    "b": 69
  },
  "hsl": {
    "h": 347.755,
    "s": 65.333,
    "l": 44.118
  },
  "oklch": {
    "l": 0.52055,
    "c": 0.18149,
    "h": 15.5
  },
  "luminance": 0.1232
}

Semantic roles & 50–950 ramp

primary
#BA2745
secondary
#72CBB9
accent
#E8C640
background
#FEF7F7
surface
#FCEDED
border
#D5C8C8
text
#160808
muted
#847B7B

Preview Lab

Preview with #BA2745

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

Preview Lab → · Contrast checker → · Palette generator →

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