#BA2647#BA2647

#BA2647 is a mid, vivid red. Relative luminance 0.123; OKLCH L 52.0% C 0.182 H 14.4°. Best body text is #FFFFFF at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#BA2647
RGBrgb(186, 38, 71)
HSLhsl(347, 66%, 44%)
HSVhsv(347, 80%, 73%)
CMYKcmyk(0%, 79.6%, 61.8%, 27.1%)
CIE-LABlab(41.66, 58.83, 18.66)
CIE-LCHlch(41.66, 61.72, 17.60°)
OKLaboklab(52.02% 0.1766 0.0455)
OKLCHoklch(52.02% 0.182 14.4)
XYZxyz(22.0825, 12.2836, 7.1682)
Luminance0.1228 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA2647 #26BA99
analogous
#BA2691 #BA2647 #BA4F26
triadic
#BA2647 #47BA26 #2647BA
tetradic
#BA2647 #91BA26 #26BA99 #4F26BA
square
#BA2647 #91BA26 #26BA99 #4F26BA
split-complementary
#BA2647 #26BA4F #2691BA
monochromatic
#541120 #871C34 #BA2647 #D94465 #E3778F

Accessibility & contrast

On white

6.08
#BA2647 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #BA2647
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA2647#FFFFFF#000000##FFFFFF
##BA26471.006.083.466.08
#FFFFFF6.081.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#514F47
Deuteranopia (green-blind)
#766D43
Tritanopia (blue-blind)
#CC0034
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #ba2647;
/* rgb */ color: rgb(186, 38, 71);
/* oklch */ color: oklch(52.0% 0.182 14.4);
Tailwind
colors: {
  custom: {
    50: '#d66f79',
    500: '#ba2647',
    950: '#000000',
  },
}
SCSS
$custom: #ba2647;
$custom-light: #d66f79;
$custom-dark: #000000;
JSON
{
  "hex": "#ba2647",
  "rgb": {
    "r": 186,
    "g": 38,
    "b": 71
  },
  "hsl": {
    "h": 346.622,
    "s": 66.071,
    "l": 43.922
  },
  "oklch": {
    "l": 0.52023,
    "c": 0.18238,
    "h": 14.4
  },
  "luminance": 0.1228
}

Semantic roles & 50–950 ramp

primary
#BA2647
secondary
#71CBB7
accent
#E9C33F
background
#FEF7F7
surface
#FCEDED
border
#D5C8C8
text
#160809
muted
#847B7B

Preview Lab

Preview with #BA2647

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

Preview Lab → · Contrast checker → · Palette generator →

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