#BA2547#BA2547

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

Color values

HEX#BA2547
RGBrgb(186, 37, 71)
HSLhsl(346, 67%, 44%)
HSVhsv(346, 80%, 73%)
CMYKcmyk(0%, 80.1%, 61.8%, 27.1%)
CIE-LABlab(41.56, 59.11, 18.53)
CIE-LCHlch(41.56, 61.95, 17.41°)
OKLaboklab(51.95% 0.1775 0.0452)
OKLCHoklch(51.95% 0.183 14.3)
XYZxyz(22.0509, 12.2205, 7.1577)
Luminance0.1222 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA2547 #25BA98
analogous
#BA2591 #BA2547 #BA4D25
triadic
#BA2547 #47BA25 #2547BA
tetradic
#BA2547 #91BA25 #25BA98 #4D25BA
square
#BA2547 #91BA25 #25BA98 #4D25BA
split-complementary
#BA2547 #25BA4D #2591BA
monochromatic
#541120 #871B34 #BA2547 #DA4365 #E4768F

Accessibility & contrast

On white

6.10
#BA2547 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#BA2547 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA2547
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA2547#FFFFFF#000000##FFFFFF
##BA25471.006.103.446.10
#FFFFFF6.101.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.101.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ba2547;
/* rgb */ color: rgb(186, 37, 71);
/* oklch */ color: oklch(51.9% 0.183 14.3);
Tailwind
colors: {
  custom: {
    50: '#d66f79',
    500: '#ba2547',
    950: '#000000',
  },
}
SCSS
$custom: #ba2547;
$custom-light: #d66f79;
$custom-dark: #000000;
JSON
{
  "hex": "#ba2547",
  "rgb": {
    "r": 186,
    "g": 37,
    "b": 71
  },
  "hsl": {
    "h": 346.309,
    "s": 66.816,
    "l": 43.725
  },
  "oklch": {
    "l": 0.51949,
    "c": 0.18318,
    "h": 14.3
  },
  "luminance": 0.12217
}

Semantic roles & 50–950 ramp

primary
#BA2547
secondary
#70CBB6
accent
#EAC33E
background
#FEF7F7
surface
#FCEDED
border
#D5C8C8
text
#160809
muted
#847B7B

Preview Lab

Preview with #BA2547

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

Preview Lab → · Contrast checker → · Palette generator →

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